Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | Adaptable_RSI

Oscillator Adaptable RSI, unlike standard RSI, allows you to select a method to calculate intermediate data that is calculated in standard RSI by the SMMA method only.

It has five configurable parameters:

  • Period - calculation period
  • Method - intermediate data calculation method
  • Applied price - calculation price
  • Overbought - overbought level
  • Oversold - oversold level

Calculations:

ARSI = 100.0-100.0/(1.0 + MA_Gain/MA_Loss)

where:

MAGain = MA(Gain, Period, Method) MALoss = MA(Loss, Period, Method)

  • If diff > 0
    Gain = diff
  • Otherwise
    Gain = 0
  • If diff < 0
    Loss = -diff
  • Otherwise
    Loss = 0
diff = Price - PrevPrice  Price = MA(Applied price, 1)  

In figures below, the Adaptable RSI is shown as compared to standard RSI:

MetaTrader Experts, Indicators, Scripts and Libraries

Fig 1. Period 14, method SMA

MetaTrader Experts, Indicators, Scripts and Libraries

Fig. 2. Period 14, method EMA

MetaTrader Experts, Indicators, Scripts and Libraries

Fig. 3. Period 14, method SSMA

MetaTrader Experts, Indicators, Scripts and Libraries

Fig. 4. Period 14, method LWMA

21314

Best MetaTrader Indicators + Profitable Expert Advisors