OPEN-SOURCE SCRIPT

ATR Bands with SL and TP

60
ATR Bands with SL and TP (TanTechTrades™)

This indicator uses the Average True Range (ATR) to dynamically calculate stop-loss and take-profit levels around the current price.

🔹 Features

Adjustable ATR period for volatility sensitivity

Separate multipliers for stop-loss and take-profit

Plots long/short SL and TP levels simultaneously

Color-coded bands for quick visual reference (orange = SL, blue = TP)

🔹 How to Use

For long positions: SL is plotted below price, TP above price.

For short positions: SL is plotted above price, TP below price.

The wider the ATR, the further the levels adjust, reflecting higher volatility.

This tool helps traders set volatility-based exits instead of fixed pip/point levels, making risk management more adaptive to market conditions.

⚠️ Disclaimer: For educational purposes only. Not financial advice.

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.