I got some requests for a script that shows Fibonacci Levels of Higher Time Frame Candles. so I made/published this script. I hope it would be useful for you.
Options: You can set Higher Time Frame, by default it's 1 Day. Optionally it can use Current or Last Candle of higher time frame to calculate/show its Fibonacci Levels. It can show higher time frame candles at the background optionally. You can change its colors. You can enable/disable/change each Fibonacci levels and their colors. You can enable/disable Fibonacci Labels that is shown at the right ride and see only Fibonacci lines/levels
example, Fibonacci levels with higher time frame candles:
P.S. if you have ideas to improve this script, drop a comment under the script please
I took the liberty of making a logarithmic scale version; please feel free to use it, and change it in your way, and rip off my name. 😅
The TV doesn't allow me to post the whole script here, but you can add this line to your script:
i_log = input.bool(false, "Use Logarithmic Scale?")
// @function Get Value and convert or not their Natural Logarithm
// @param _value Source value
// @returns The original or the Natural Logarithm of the _value
getVal(_value)=>
output = i_log ? math.log(_value): _value
// @function Set Value back to right Scale
// @param _value Source value
// @returns Set the _value to the right scale
setVal(_value)=>
output = i_log ? math.exp(_value) : _value
v_open = getVal(open)
v_high = getVal(high)
v_low = getVal(low)
v_close = getVal(close)
Then add the "v_" in front of open, high, low, close sources; And put the function setVal() in every drawing output.
In any case, here is the full script for you to copy, test, and modify:
I took the liberty of making a logarithmic scale version; please feel free to use it, and change it in your way, and rip off my name. 😅
The TV doesn't allow me to post the whole script here, but you can add this line to your script:
Then add the "v_" in front of open, high, low, close sources;
And put the function setVal() in every drawing output.
In any case, here is the full script for you to copy, test, and modify:
heypasteit.com/clip/0IY133
Obs: I don't know how long the heypasteit keep the files, so try to copy as soon as possible.
😅👍