Zigzag Cloud

Trendoscope Wizard Updated   
This is Bollinger Band built on top of Zigzags instead of regular price + something more.

Indicator presents 7 lines and cloud around it. This can be used to visualize how low or high price is with respect to its past movement.

  • Middle line is moving average of last N zigzag pivots
  • Lines adjacent to moving average are also moving averages. But, they are made of only pivot highs and pivot lows. Means, line above moving average is pivot high moving average and line below moving average is pivot low moving average.
  • Lines after pivot high/low moving averages are upper and lower bolllinger bands based on Moving Average Line with 2 standard deviation difference.
  • Outermost lines are bollinger band top of Moving average pivot high and bollinger band bottom of moving average pivot low.
Release Notes:
Convert to pine 5

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.


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.

Want to use this script on a chart?