OPEN-SOURCE SCRIPT
Oscillator overlay

Hi all!
This script is useful in the way that it let's you see an oscillator value on the chart, as an overlay. As of now you can choose from displaying Money Flow Index (MFI) (tradingview.com/support/solutions/43000502348-money-flow-mfi/), Relative Strength Index (RSI) (tradingview.com/support/solutions/43000502338-relative-strength-index-rsi/) or Stochastic (tradingview.com/support/solutions/43000502332-stochastic-stoch/). The size of the area, where the oscillator value is shown, is determined by a factor of the Average True Range (ATR), that defaults to 2 (the 'ATR factor' setting). Oscillator pivots (of user defined length in the 'Length' setting) and oscillator pivot values)ä can be shown and the background can change when the oscillator value crosses oversold/overbought. The value from the hidden plot "Value (for alerts)" can be used for setting alerts on oscillator values, e.g. crossings. The length and overbought/oversold values can be set by the user as a setting.
Best of trading luck!
This script is useful in the way that it let's you see an oscillator value on the chart, as an overlay. As of now you can choose from displaying Money Flow Index (MFI) (tradingview.com/support/solutions/43000502348-money-flow-mfi/), Relative Strength Index (RSI) (tradingview.com/support/solutions/43000502338-relative-strength-index-rsi/) or Stochastic (tradingview.com/support/solutions/43000502332-stochastic-stoch/). The size of the area, where the oscillator value is shown, is determined by a factor of the Average True Range (ATR), that defaults to 2 (the 'ATR factor' setting). Oscillator pivots (of user defined length in the 'Length' setting) and oscillator pivot values)ä can be shown and the background can change when the oscillator value crosses oversold/overbought. The value from the hidden plot "Value (for alerts)" can be used for setting alerts on oscillator values, e.g. crossings. The length and overbought/oversold values can be set by the user as a setting.
Best of trading luck!
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
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.