Smoothed_RSI – indicator MetaTrader 5

Smoothed RSI indicator. The indicator is based on moving average data.

There are seven configurable parameters:

  • Source period – source data period for calculation (МА)
  • Source method – source data calculation method (МА)
  • Source applied price – source data calculation price (МА)
  • Smoothed RSI period – smoothing period
  • Smoothed RSI method – smoothing method
  • Top level – upper level
  • Bottom level – lower level

Calculation:

SmRSI = 100.0-(100.0 / (1.0+AvgPositive / AvgNegative))

where:

AvgPositive = MA(Pos, Smoothed RSI period, Smoothed RSI method)
AvgNegative = MA(Neg, Smoothed RSI period, Smoothed RSI method)

  • If Diff > 0
    Pos = Diff, Neg = 0
  • If Diff < 0
    Pos = 0, Neg = -Diff

Diff = MA – Close
MA – MA(Source applied price, Source period, Source method)


https://www.mql5.com/ru/code/22510

📈 ROBOTFX MetaTrader Expert Advisors and Indicators to maximize profits and minimize the risks