OPEN-SOURCE SCRIPT
Updated

Fibonacci Zone

247129
My first attempt in Pine.
It is a Donchian Channel, but in stead of the median line I added the four Fibonacci lines and colored three of the five ensuing zones in suggestive colors.
The blue zone is up trend zone
The gray zone is ranging zone
The orange zone is down trend zone.
The white zones are 'in betweens'
For the fibs to function properly it needs to be a 20 - 30 period channel.
Release Notes
Periods now adaptable in the inputs, corrected the calculation of the Highest Fibonacci Line
Gave the borders a title and added better remarks in the script code.

Enjoy, Eykpunter.

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.