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

MACD_MFI - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 3 reads | 0 comments |

MACD_MFI - indicator for MetaTrader 5

Original author:

Lukashuk Victor

This MFI indicator (Funds Flow Index) applied to the Moving Average Convergence and Divergence (Moving Average Convergence/Divergence) provides a visual representation of the current price divergence.

In addition to divergence, MACD also provides an excellent display of reversals in small time periods such as 1 minute, 5 minute, and 15 minute. The intersection of the MACD signal line and the MFI can serve as an additional signal for opening a position. The MFI line color changes after such intersections.

Input parameters include MACD histogram and MFI parameters, as well as caliber -RSI scaling factor. This factor was added due to the large variation in MACD values ​​across different time frames. Therefore, the "size" of the 15-minute EURUSED is about 4, the "size" of the daily TF = 20, and the "size" of the M1 = 0.5.

This indicator uses the CMoving_Average class from the SmoothAlgorithms.mqh library. This class is described in detail in the article Average price series for intermediate calculations without using additional buffers .

MACD_MFI - indicator for MetaTrader 5

Figure 1. MACD_MFI indicator


Attachment download

📎 MACDfMFI.mq5 (20.76 KB)

📎 SmoothAlgorithms.mqh (130.2 KB)

Source: MQL5 #23150

Verification code Refresh