Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

i-SpectrAnalysis_MA - MetaTrader 5 Script - MT4/MT5 Resources

author EAcpu | 3 reads | 0 comments |

i-SpectrAnalysis_MA - indicator for MetaTrader 5

This indicator is an example of smoothing the Moving Average indicator time series by filtering higher-order harmonics.

You can use this method to smooth the output of any indicator. The main advantage of this approach is that it has almost zero latency.

Indicator input parameters:

 Input Units MAP Period = 13 ; Input ENUM_MA_METHOD MA Type = Mode_EMA ; Input ENUM_APPLIED_PRICE Average Price = PRICE_CLOSE ; Input Units N= 7 ; // Series Length
Input unit SS= 20 ; // Smoothing coefficient
Enter integer shift = 0 ; // indicator moves horizontally (in bars)

Where:

This indicator requires the following library: https://www.mql5.com/ru/code/7000 .

i-SpectrAnalysis_MA - indicator for MetaTrader 5

Figure 1. i-SpectrAnalysis_MA indicator


Attachment download

📎dt_fft.mqh (28.84 KB)

📎i-spectranalysis_ma.mq5 (5.5 KB)

Source: MQL5 #13746

Verification code Refresh