oberon2007

Stop loss and position size calculator (ATR)

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.

Script protegido
Este script é publicado como de código fechado e você pode usá-lo livremente. Você pode favoritá-lo para utilizá-lo em um gráfico. Você não pode visualizar ou modificar seu código fonte.
Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?