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 Pelepasan: Add max_bars_back
Catatan Pelepasan: Updated color coding of table cells to reflect higher high/higher low
Catatan Pelepasan: Fix small error in zigzag calculation
Catatan Pelepasan: Fix logical bug in calculating the bar upon no change direction
Catatan Pelepasan: Major update

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

Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Rumah. Anda boleh menyukai skrip ini untuk menggunakannya pada carta.

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

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


+1 Balas
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: