Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Self_Adjusting_RSI - MetaTrader 5 Script - MT4/MT5 Resources

author EAcpu | 2 reads | 0 comments |

Self_Adjusting_RSI - indicator for MetaTrader 5

Self_Adjusting_RSI - indicator for MetaTrader 5

In pscillator Self-Adjusting RSI we implement the method of automatically adjusting the overbought/oversold levels of the RSI oscillator, as described in David Sepiashvili's article The Self-Adjusting RSI.

The indicator has five configurable parameters:

 SARSI = RSI (period, applied price)
  • If calculation mode = standard deviation:

     Overbought = 50.0 + Bias * Average Bias Oversold = 50.0 - Bias * AvgDev
    mean deviation = standard deviation (SARSI, period, MODE_SMA)
  • If calculation mode = moving average:

     Overbought = 50.0 + Bias * AvgRAW
    Oversold = 50.0 - Bias * AvgRAW
    AvgRAW = SMA(RAW, period)
    RAW = Abs(SARSI - average deviation)
    Average deviation = SMA(SARSI, period) 

Self_Adjusting_RSI - indicator for MetaTrader 5

Figure 1. Calculation mode = standard deviation

Self_Adjusting_RSI - indicator for MetaTrader 5

Figure 2. Calculation mode = Moving Average


Attachment download

📎 self_adjusting_rsi.mq5 (19.43 KB)

Source: MQL5 #21266

Verification code Refresh