Automatic Support, Resistance, Fibonacci LevelsThis indicator plots absolute high and low values for up to five completely adjustable time periods (in months, weeks, days, hours, minutes) and optionally calculates the Fibonacci levels on the pair of absolutes of your choice, ascending or descending, and mimics the shading available in the built-in Fib charting tools (e.g. retracement).
Here are a few screenshots of the same chart with various options selected.
3-Month, 4-Week, and 5-Day absolutes with 3-Monthly Fib plotted:
The same chart with 4-Weekly Fib:
The same chart with 5-Daily Fib:
5-Day, 12-Hour, 90-Minute absolutes with 12-Hourly Fib:
Zoomed in, on a 30-minute interval, with 90-minute Fib:
With descending ("inverted") 90-minute Fib:
I started putting this together for Vazzyb, who was looking for a way to automate plotting horizontal support and resistance levels for monthly, weekly, and daily extremes, and then I added additional features as they occurred to me. Special thanks to Paaax, who suggested I add Fib levels.
I am leaving the code open, so you may feel free to grab snippets you like and use them for your own purposes. Of particular interest may be my custom "calc_fib()" function, which accepts any series pair, as well as a Boolean indicating whether to invert, and returns an array with each of the major Fibonacci levels: .
If anyone likes this enough to feel generous, please feel free:
BTC
3KmFchJ18QvMzAJKDcFQXvyK9p1EHWQdhP
BCH
qqtrw64ptuwprk5vtj3z8qwkvh3v0jawxq7khqng7x
ETH
0x9b51361A278910Ba3945C7519C9f0FA8a77df18d
LTC
MDeWWsP7XCG2zQuZ2dYALZXQ52u2qkc8fh
P.S. If you want the time lengths to be as close to accurate as possible, don't forget to change the number of days per week when using for cryptocurrency!
Fibonacci Retracement
AutoFibLevels - FixedPersonally I don't like the trouble of drawing fibonacci retracement and extension tolls time and time again, not only human eyes and hands are not as accurate as a computer, but also, you would sit and think : "Hey, which one of these candles is the start of the wave" time and time again.
That is one of the issues, some times you may want to drop more than one fibo on the chart to see where they over lap and that, makes your chart hell to look into.
This script will draw fibonacci levels for you based on the time frame you are in, for each time frame the number of bars that it will look into differs and if you need to, you can adjust them per time frame separately.
And as always for indicators, you have total control on which lines to draw and clouds, and their color and transparency.
The reason this title has Fix, is that I totally forgot to change some titles in the script so in the style you would see some errors in titles and also, the 1.618 line had a wrong title, sorry and thanks
AutoFibLevelsPersonally I don't like the trouble of drawing fibonacci retracement and extension tolls time and time again, not only human eyes and hands are not as accurate as a computer, but also, you would sit and think : "Hey, which one of these candles is the start of the wave" time and time again.
That is one of the issues, some times you may want to drop more than one fibo on the chart to see where they over lap and that, makes your chart hell to look into.
This script will draw fibonacci levels for you based on the time frame you are in, for each time frame the number of bars that it will look into differs and if you need to, you can adjust them per time frame separately.
And as always for indicators, you have total control on which lines to draw and clouds, and their color and transparency.
autofiba very simple script to place 3 Fib lines on the currents days action from the regular hours automatically
Auto FibTook the code from LazyBears rsi-fib and made it so you could apply it to a chart. It plots fib levels between the high and low of a timeframe of your choosing. Seems to line up well with custom drawn fib levels.
Not sure if it's any better than just drawing the lines yourself, but whatever.