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 | i-SpectrAnalysis RSI

Real author:

klot

The indicator exemplifies smoothing of price time series of the RSI indicator by means of filtration of harmonics of a greater order.

This approach can be applied for smoothening any indicators' values. The main advantage of the method is a real absence of a delay.

Indicator input parameters:

input uint                 RSIPeriod=14;
input ENUM_APPLIED_PRICE   RSIPrice=PRICE_CLOSE;
input uint N = 7;     // Series length
input uint SS = 20;   // Smoothing coefficient
input int Shift=0;    // Horizontal shift of the indicator in bars

where:

  • N specifies series length (power of two);
  • SS - A smoothening coefficient in the resulting spectrum zeroes out frequency ratios exceeding set value. SS cannot exceed 2^N. RSI series fully repeats itself if SS = 2^N.

dt_FFT library is required for the indicator operation.

MetaTrader Experts, Indicators, Scripts and Libraries

Fig.1. i-SpectrAnalysis_RSI Indicator

7002

Best MetaTrader Indicators + Profitable Expert Advisors