PROTECTED SOURCE SCRIPT

ATR Stop

51
The Stoploss based on ATR indicator sets dynamic stop levels using market volatility measured by the Average True Range (ATR).
When volatility increases, the stop widens; when it decreases, the stop tightens.

Upper line = High + ATR × Multiplier → stop for shorts
Lower line = Low - ATR × Multiplier → stop for longs

Use
- Volatility-based stoploss: adjusts automatically to market conditions.
- Trailing stop: moves in the direction of the trend.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.