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

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

author EAcpu | 4 reads | 0 comments |

i-SpectrAnalysis_MFI - indicator for MetaTrader 5

This indicator exemplifies the smoothing of the price time series of the MFI indicator by filtering higher order harmonics.

This method can be used to smooth the values ​​of any indicator. The main advantage of this method is that there is really no delay.

Indicator input parameters:

 //+------------------------------------------------------------------------+
//| Indicator input parameters |
//+------------------------------------------------------------------------+
Input unit MFIP period = 14 ; // average period
input ENUM_APPLIED_VOLUME volume type = volume_scale ; // volume
Input unit N= 7 ; // Series length
Input unit SS= 20 ; // Smoothing coefficient
Enter integer shift = 0 ; // horizontal movement of the indicator in bars

Where:

https://www.mql5.com/ru/code/7000 Indicator operations require libraries.

i-SpectrAnalysis_MFI - indicator for MetaTrader 5

Figure 1. i-SpectrAnalysis_MFI indicator


Attachment download

📎dt_fft.mqh (28.84 KB)

📎 i-spectranalysis_mfi.mq5 (5.9 KB)

Source: MQL5 #7003

Verification code Refresh