OPEN-SOURCE SCRIPT

Absolute ZigZag

This ZigZag Indicator is a bit unique in it's kind.
It uses my own Absolute ZigZag Lib to calculate the pivots:

Instead of using percentages or looking more than 1 bar left or right, this Zigzag library calculates pivots by just looking at the current bar highs and lows and the ones of one bar earlier. This is a very fast and accurate way of calculating pivots.

The library also features a solution for bars that have both a higher high and a higher low like seen below.
snapshot

You can also use your own colors for the labels and the lines:
snapshot

You can also quickly select a one-colored theme without changing all colors at once:
snapshot
Pivot PointsPivot points and levelsZig Zag Indicator

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