PROTECTED SOURCE SCRIPT

Supertrend

67
This script does the following:

👉 It calculates an upper and lower band based on ATR (Average True Range).
👉 When the price breaks these bands, it signals that the trend has changed.

In short:

If the price is above the upper band → UPTREND (green)

If the price is below the lower band → DOWNTREND (red)

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.