Editors' picksOPEN-SOURCE SCRIPT

Zigzag Cloud

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
Bollinger Bands (BB)Moving AveragesStandard DeviationZigzagzigzagcloud

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer