Skip to content

Free MT5 indicator

Money Flow Index Zones

Money Flow Index for MT5 with coloured overbought and oversold zones and arrows when MFI exits a zone on a closed bar.

Momentumv1.0MetaTrader 5 (MQL5) Compiles with 0 errors Non-repainting signals Alerts

What it does

The Money Flow Index (MFI) is an oscillator from 0 to 100 that combines price and volume. It is often described as a volume-weighted version of the RSI. This indicator colours the MFI line red in the overbought zone and green in the oversold zone, and draws an arrow when MFI leaves either zone on a closed bar.

How it works

  • Typical price = (high + low + close) / 3.
  • Raw money flow = typical price x volume.
  • Over the last N bars, money flow is positive when the typical price rose versus the previous bar and negative when it fell. Unchanged bars are ignored.
  • Money ratio = positive flow / negative flow.
  • MFI = 100 - 100 / (1 + money ratio). If there is no negative flow, MFI is 100 (or 50 if there is no flow at all).
  • A buy arrow prints on the closed bar where MFI rises from at or below the oversold level to above it. A sell arrow prints where MFI falls from at or above the overbought level to below it.

Volume is tick volume by default; with real volume selected, any bar reporting zero real volume uses tick volume instead.

How to use it

Readings above 80 show that most recent money flow has been positive, and readings below 20 show the opposite. Being in a zone is not a reversal signal on its own; strong trends can keep MFI overbought or oversold for a long time. That is why the arrows wait for MFI to exit the zone, which shows that the one-sided flow has started to ease.

Many traders only take zone-exit arrows in the direction of the higher-timeframe trend, or combine them with support and resistance levels. Divergence between MFI and price at a new high or low is another common way to use it. H1 and H4 charts usually give cleaner signals than very low timeframes.

Settings

InputDefaultWhat it changes
MFI period14Shorter periods react faster and reach the zones more often
Volume typeTick volumeSource of the volume in the money flow
Overbought level80Upper zone boundary and sell-arrow trigger
Oversold level20Lower zone boundary and buy-arrow trigger
Popup alert / Push notificationfalseAlerts once per bar on a new zone exit

Limitations

  • Zone exits can occur in the middle of a strong trend and be followed by a quick return to the zone.
  • Tick volume in forex is a proxy, so MFI values vary between brokers.
  • As an oscillator built on past bars, MFI lags price and cannot identify the exact turning point.
  • The live bar's MFI value changes until the bar closes; arrows only use closed bars.

Key inputs

Key inputs of Money Flow Index Zones
InputDefaultDescription
MFI period14Bars used to sum positive and negative money flow.
Volume type (real falls back to tick when zero)Tick volumeVolume source for the money flow calculation.
Overbought level80MFI at or above this level is coloured as overbought.
Oversold level20MFI at or below this level is coloured as oversold.
Popup alert on a zone exitfalseShows an MT5 alert once per bar when MFI leaves a zone.

Educational tools, not advice. Indicators and Expert Advisors describe price; they do not predict it, and past behaviour does not guarantee future results. Test everything on a demo account first and never risk money you cannot afford to lose. See our disclaimer.

Keep exploring

Related mt5 indicators