Money Flow Index (MFI) EA: no-code builder for MT4 / MT5
VolumeThe Money Flow Index (MFI) is a volume-weighted RSI on a 0–100 scale. Readings below 20 are oversold and readings above 80 are overbought. Reversals on rising volume carry more weight.
Rules you can build with it
Works as an entry rule or an exit rule. Short rules are mirrored automatically.
- LongMFI risesShortMFI falls
- LongMFI fallsShortMFI rises
- LongMFI is above 20(adjustable level)ShortMFI is below 80
- LongMFI is below 20(adjustable level)ShortMFI is above 80
- LongMFI crosses above 20(adjustable level)ShortMFI crosses below 80
- LongMFI crosses below 20(adjustable level)ShortMFI crosses above 80
- LongMFI turns upShortMFI turns down
- LongMFI turns downShortMFI turns up
Settings
| Settings | Default | Range |
|---|---|---|
| Period | 14 | 2 – 50 |
| Level | 20 | 5 – 95 |
How the backtest and the EA calculate it
Same as MT5's Money Flow Index (typical price × tick volume); for short rules the level is mirrored around 50.
Signals use only closed candles and are filled at the next candle's open. The exported EA checks conditions in the same order, so you get similar results in the MT5 Strategy Tester.
Example strategies
Example 1
- Entry · Money Flow Index (MFI) (14): MFI rises
- Stop-loss 300 points, take-profit 600 points
Example 2
- Entry · Money Flow Index (MFI) (14): MFI rises
- Entry · Moving Average (50, EMA, Close): MA rises
- Stop-loss 300 points, take-profit 600 points
Examples are just a starting point: open one to change settings or add filters, then check it with backtests and robustness tests. Backtest results don't indicate future returns.