OPEN-SOURCE SCRIPT
Actualizado Advanced Position Tool by yegeinal

This indicator is a risk-management tool that displays an on-screen panel calculating position size in real time, based on your total portfolio value and the risk percentage you're willing to accept (the "riskometer"). It automatically pulls two stop levels — the current day's low/high (STOP 1) and the previous day's low/high (STOP 2) — and calculates how many shares you can buy (or sell, for short positions) using the formula "Risk Amount ÷ Distance to Stop" for each one. You can switch between Long and Short position types; when Short is selected, the reference stops automatically flip to the day's high points instead of the lows. It also includes a hard cap mechanism: even if the stop distance is extremely tight, position size can never exceed a maximum percentage of your portfolio that you define (e.g., 15%), and any position hitting that cap is flagged with a "[MAX]" tag in the table. Overall, the indicator combines risk-based position sizing with a capital-protection limit in a single visual panel.
Notas de prensa
Changed the name of it.Added MaxLookBack for lower days possible before the previous day.
Added Smallest view edition.
Notas de prensa
%ADR has been added to the calculation.If the ADR is bigger than the current price to stop loss range its okay to take trade.
On the contrary indicator will show it to you.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.