Auto Fibo on Indicators

This drawing tool aims to draw auto Fibonacci Retracement Levels on desired indicators.
Users can define the target indicator to draw Auto Fibo Lines, from the "settings tab":

There are six commonly used indicators below the charts that can be selected to draw Fibonacci Retracement lines on:
RSI : Relative Strength Index
CCI : Commodity Channel Index
MFI : Money Flow Index
STOCHASTIC : Stochastic Oscillator
CMF : Chaikin Money Flow
CMO : Chande Momentum Oscillator

Fibonacci Retracement Levels will appear automatically after applying the indicator.
The "Auto Fibo on Indicators" tool looks back. It checks the indicator levels for a desired number of bars and then draws the Fibonacci Levels automatically in the right way, considering the final movements of the indicator.

There are five commonly used Fibonacci Levels added between the Highest and Lowest values such as:
%50 (Not precisely a Fibonacci Level, indeed)
%61.8 (Golden Ratio)

Four extra levels can be added from the settings tab by checking their boxes:
%127.2 (adjustable level)

Default lookback bars of Auto Fibo Levels: 144 (which is also a Fibonacci number)
Default Indicator: RSI
Default Indicator length: 14
Default data source: CLOSE

Users can also define and show overbought and oversold levels by unchecking the "Do not Show Indicator Overbought / Oversold Levels?" button from the settings menu.

In technical analysis, Fibonacci Levels on price can guide valuable trading signals for investors.
Levels can be significant support and resistance levels for breakouts and turning points.
This drawing tool aims to follow those necessary levels on indicators to observe critical levels and breakouts.

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 a publication is governed by House Rules. You can favorite it to use it on a chart.


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.

Want to use this script on a chart?