Trace a Money Flow Index reading back to its volume input

Trace a Money Flow Index reading back to its volume input

Choose the volume series before the period

In the MT5 Money Flow Index settings, record the volume type, symbol, timeframe and period. Tick volume counts price updates; real volume represents reported traded volume where the feed supplies it. An empty real-volume series gives you no basis for this comparison. Keep the volume choice explicit in every exported row, especially if the same spreadsheet will be used on two symbols.

Classify changes using one extra bar

Set the example period to 3. Four typical prices are needed to classify three flows: 10, 11, 10 and 12. The first price is the comparison bar, outside the sum. Use volumes 2, 3 and 1 on the last three bars. Compare each typical price with its predecessor. Put the full price multiplied by volume in the positive or negative bucket; multiplying just the price change by volume computes a different quantity.

MFI = 100 × positive / (positive + negative_magnitude)

Reconcile the two totals

The three classified flows are positive 22, negative 30 and positive 12. The negative bucket holds magnitudes, so its total is 30. The positive total is 34. With positive total divided by the combined total and scaled to 100, MFI is 53.125. This form is convenient for a worksheet because it handles a zero negative bucket when the positive bucket is nonzero.

Change volume without changing the candles

Keep the prices and double only the last volume. Its flow rises to 24, the positive total becomes 46 and MFI becomes about 60.53. No additional upward bar was introduced. A chart comparison that logs rising and falling bar counts alone cannot explain this change. Compare timestamped raw volumes before looking for a different averaging period.

Handle ties deliberately

Make the last typical price equal to the previous one. That row contributes to neither directional sum under the strict comparison rule. If both sums vanish, the ratio is undefined; record a missing observation until you have checked the implementation's convention. In a feed comparison, highlight the first row where classification or volume differs. Later oscillator differences can persist until that row leaves the window.

Practice files

These CSV files contain synthetic teaching data, not market observations or investment results.

Download the CSV

Sources and further reading

Back to top

MQLume Bespoke

Built around your ambition.

Explore bespoke services →

Have something more specific in mind?

Ask us about advanced custom development. Share your requirements through private support or email; we will discuss the scope and quote separately.

100% committed to following up on your delivery and support requests.

Free downloads. Real source files.

FREE

Lizard [MQLume]

MQL5 / MT5Version v2.21

Free editable gold breakout project with six independently selectable cores, session filters and flexible position sizing.

US$149.00FREE
FREE

Scraper Gold [MQLume]

MQL5 / MT5Version v3.80

Free editable source with compiled EX5: four gold breakout engines with independent profiles, sizing, direction and exits.

US$95.00FREE
FREE

EA Black Dragon [MQLume]

MQL5 / MT5Version v13.0

Trend-based entries with optional grid additions, side controls and virtual exits.

US$30.00FREE
FREE

Hamster Scalping [MQLume]

MQL5 / MT5Version v21.0

RSI entries with two ATR filters, configurable sessions and optional grid management.

US$30.00FREE
MQLume

More to explore. A community to share it with.

Stay close to MQLume, wherever you like to learn.

YouTube

See our EAs in action. Explore backtests, walkthroughs and practical guides.

Watch on YouTube

Telegram

Meet other EA users, share ideas and keep up with what’s new.

Join the community Follow official updates

Cart

One personal-use licence per project. Each project can be added once.

Your cart is waiting for its first passenger.

Choose an EA or source edition to get started.

Continue shopping