OPEN-SOURCE SCRIPT

Supertrend

An implementation of the supertrend indicator as it'll be implemented in build-in pine function

Supertrend calculates two values:
-supertrend
-direction

using the direction resistance and support are plotted.

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.