mickes

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) (www.tradingview.com/...2348-money-flow-mfi/), Relative Strength Index (RSI) (www.tradingview.com/...-strength-index-rsi/) or Stochastic (www.tradingview.com/...32-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 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.

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.

Want to use this script on a chart?