RSI_With_Step_MA – indicator MetaTrader 5

RSI calculated using the specified smoothing type is displayed in a separate window.

It has five input parameters:

  • RSI period – RSI calculation period;
  • Step – the range for calculating the positive and the negative components of RSI;
  • MA period – smoothing period;
  • MA method – smoothing method;
  • MA applied price – price used for the calculation of the smoothing MA.

Calculation:

RSI[i] = 100-(100/(1 + Positive/Negative))

where

Positive, Negative - the sum of positive and negative increments (Diff),
Diff[i] = MA(Period_MA)[i]-MA(Period_MA)[i-Step]


πŸ“ˆ ROBOTFX MetaTrader Expert Advisors and Indicators to maximize profits and minimize the risks