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!
educational

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian