OPEN-SOURCE SCRIPT

ATR Stop Loss

Updated
Adds an indicator that can be used to set stop losses.
This is the close price minus the ATR + 10%.
The 10% is there to let the market perform and avoid whipsaws.
Release Notes
Added input controls to modify atr days lookback and modifier
Release Notes
This version allows input of the days to use for the ATR and the modifier (defaults to 110% percent of ATR)
Average True Range (ATR)stoploss

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer