OPEN-SOURCE SCRIPT
Updated

ZigZag with Retracement Levels

18 965
This is a modification to "ZigZag with Fibonacci Levels" by LonesomeTheBlue. https://tradingview.sweetlogin.com/script/vCJe18K3-ZigZag-with-Fibonacci-Levels/

By default, the script finds the ZigZag, draws Fibonacci lines and labels accordinly. ZigZag period can be set.

The modification to the original script provides the following features:

1) Option for user to customize retracement levels, if they don't want to use Fibonacci levels. This allows for different strategy adoptions.

2) Option to show Fibonacci or custom retracement levels based on the latest pivot (including the current bar)

For example:
snapshot

Enjoy and happy trading~!!
Release Notes
Fixed calculation error on current fib level 1 and level 5

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.