Smoothed RSI indicator. The indicator is based on moving average data.
There are seven configurable parameters:
SmRSI = 100.0-(100.0 / (1.0+AvgPositive / AvgNegative))
AvgPositive = MA(Pos, Smoothed RSI period, Smoothed RSI method)
AvgNegative = MA(Neg, Smoothed RSI period, Smoothed RSI method)
Diff = MA - Close
MA - MA(Source applied price, Source period, Source method)
Compared to standard RSI, this indicator has a feature: When the price falls, SmRSI rises and vice versa.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/22510