Editors' picks
OPEN-SOURCE SCRIPT
Updated

Zigzag Cloud

74 525
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

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.