OPEN-SOURCE SCRIPT

Fibonacci Zone

Updated
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.
Donchian Channels (DC)Fibonaccizones

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