Multi ZigZag

I created this as basis for my next scripts. We are just trying to plot multiple zigzags with different length basis here. Input allows you to select different Length, Width, Color and Line Style for each Zigzags.

Max_pivot_size says how many pivots each Zigzag can have. Value 100 means, each zigzag will show 99 lines joining 100 points.

Additional option ShowStatsTable allows you to print pivots in a table. Table only shows selected zigzags.
Catatan Rilis: Add max_bars_back
Catatan Rilis: Updated color coding of table cells to reflect higher high/higher low
Catatan Rilis: Fix small error in zigzag calculation
Catatan Rilis: Fix logical bug in calculating the bar upon no change direction
Catatan Rilis: Major update

  • Fix all zigzag calculation issues
  • Simplified settings
  • Added option for external/alternate source

Skrip open-source

Sejalan dengan semangat TradingView, penulis skrip ini telah mempublikasikannya secara open-source, sehingga para trader dapat memahami dan memverifikasinya. Salut untuk sang penulis! Anda dapat menggunakannya secara gratis, tetapi penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk dapat menggunakannya didalam sebuah chart.

Inggin menggunakan skrip ini pada chart?
Please PM me if you need access to any invite only scripts.

Join tradingview: https://www.tradingview.com/gopro/?share_your_love=sudh


+1 Jawab
You've made my life so much easier. Thank you for putting this work out!
@rdblanchard, You are welcome. Also check multi level zigzag - which zigzag created on top of other zigzag pivots.
Can u please guide , how to use this now

For best of advantage

Thanks in advance
@CHDVIKAS, As mentioned in the description, script is base for next scripts I created.

You can find them here: