ZigZag Chart with Supertrend

Hello All,

This script creates Zigzag Chart by using Zigzag waves, so it's timeless chart meaning that no time dependency on X-axis. Optionally it can calculate & show Zigzag Supertrend or Simple Moving Average . Also it can change bar colors of the main chart by trend direction of Zigzag Supertrend.

As seen below, each zigzag wave is a candle on Zigzag chart:

You have a few options and using these options you can find best settings for the securities/timeframes.
You can change Zigzag period, if you change Zigzag Period then all zigzag and the chart is recalculated/reconstructed.
You have option to show Zigzag Supertrend or Zigzag Moving Average, the options you have;
- You can change ATR Length and ATR multiplier for supertrend
- You can change Length for Simple Moving Average

You can change Zigzag candle & wick colors using options. Also you have option to change bar colors according to Zigzag Supertrend direction.

As it's timeless chart, below you can see how/when bar colors and Zigzag Supertrend change:

You can see Simple Moving Average of the Zigzag Candles:

You can play with ATR length and multiplier to find best supertrend:

You can play with the candle & wick colors:


リリースノート: updated


TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。