OPEN-SOURCE SCRIPT

Fixed Fibonacci Support Resistance

Updated
I took the formula of the fibonacci from LonesomeTheBlue and made this script. You can take a look at his indicator here:
Fibonacci levels MTF


When you first add the indicator on the chart, click on the chart to select the first date and then the second date. It will then calculate the fibonacci support and resistance of the range you choose. You can also choose the date inside the inputs.

Be sure the first date is before the second date, otherwise it won't be able to show the fibonacci. If that happen, choose a correct date in the inputs.
Release Notes
The original code is from LonesomeTheBlue in the Fibonacci Levels MTF script.
Release Notes
-Added a bool to extend the fibonacci to the right.
-I changed the fibonacci to start from start time to end time instead of starting at end time.
-Added a bool to show/hide the start/end white line.
daterangetoollevelsPivot points and levelssupportSupport and Resistance

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