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

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明