OPEN-SOURCE SCRIPT
Aktualisiert

Multi ZigZag

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

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


Snapshot
Versionshinweise
Convert to pine 5

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.