OPEN-SOURCE SCRIPT

Multilevel ZigZag Supertrend

Very much similar to :
ZigZag Supertrend

I have slightly changed code to accommodate multiple zigzags. Also removed possibility of external source to keep it simple.

Indicator shows 2 Level zigzag based supertrends. Second zigzag used is multi level zigzag and hence, this acts as higher timeframe filter and can be considered as overall trend bias.

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.