PROTECTED SOURCE SCRIPT

Stop loss and position size calculator (ATR)

2 019
Calculates and plots Stop Loss and Position Size, based on desired ATR factor.

Displays Stop Loss Price, SL Distance Percent and Position Size overlayed in the chart and plots a stop loss line.
Additionally Stop Loss, ATR, SL Distance and Position Size are also displayed in the Data Window.

Available settings:

Trade - long / short
ATR timeframe - Allows to use ATR based on different timeframe than the current chart.
ATR factor - Stop Loss will be calculated by multiplying ATR with this factor.
Show last - Amount of previous stop loss lines to plot
Line Offset - Positions previous sl calculation under/above current price.
Calculation Offset - Displays calculation based on price action of previous bar(s).
Label Display Distance - Defines position of label relative to current bar.
Risk - Amount you are going to risk if stop loss is hit.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.