What Is the Market Facilitation Index (BW MFI)?
What is the Market Facilitation Index? Range earned per unit of volume, both vendor formulas, the four bar colours and their real names.
The Market Facilitation Index measures how much range a bar earned per unit of volume: the bar's high minus its low, divided by its volume. It only means something next to the bar before it, which is why platforms paint it as a four-colour histogram rather than a line with levels.
The Market Facilitation Index is not the Money Flow Index. Bill Williams' index has no fixed scale and grades range per unit of volume; the Money Flow Index is a 0 to 100 oscillator. LuxAlgo's library page states the separation: "BW MFI has no fixed scale and grades range earned per unit of volume; the shared acronym is the only overlap". Platforms usually label the first one BW MFI for exactly this reason.
What is the Market Facilitation Index?
It is a per-bar efficiency reading: range divided by volume, compared with the previous bar. A rising value means each unit of volume moved price further than it did on the last bar. A falling value means volume bought less range.
The index has no overbought line, no oversold line and no zero line to cross, because it has no scale. Both MetaTrader help pages say so in the same words: "Absolute values of the indicator do not mean anything as they are, only indicator changes have sense".
Is the Market Facilitation Index in ChartLabs?
Yes. Open the chart's Indicators menu, go to the Standard list, and it is called Market Facilitation Index under the Volume heading. It opens in its own pane under price, as a coloured histogram.
It has no settings at all. It computes the bar's high minus its low over its volume, following TA-Lib's MARKETFI with no RANGE factor, and a bar with no volume reads 0. Each bar takes one of Williams' four state colours, green, fade, fake or squat, and a bar where either the index or the volume is unchanged from the previous bar takes a neutral colour instead. On forex, where the volume is Dukascopy's indicative volume rather than exchange volume, the raw values are very small, so read the colours and the shape rather than the height.
What is the formula, and why do two platforms print it differently?
Because the same vendor publishes two versions of it.
MetaTrader 5's help page prints:
BW MFI = (HIGH - LOW) / VOLUME
and defines all three terms underneath: HIGH is the bar's highest price, LOW its lowest, and VOLUME the volume of the current bar.
MetaTrader 4's help page, with its opening description word for word identical, prints:
BW MFI = RANGE*(HIGH-LOW)/VOLUME
Its own "Where:" block defines only one term, RANGE, as "the multiplication factor, which brings the difference in points down to whole numbers". It never defines HIGH, LOW or VOLUME, while the MetaTrader 5 page defines those three and never mentions RANGE. Neither page is complete on its own, and the two together are why the formula looks different depending on which help file you opened.
RANGE is a scaling factor rather than a new ingredient. Raw range divided by raw volume on a forex pair produces a number with a lot of leading zeros, and multiplying it brings the figure up to something readable. It changes the height of the histogram, not the shape, and the shape is the only part either page says to read.
Third-party pages print the version without the factor. LiteFinance gives "Calculation formula: BW MFI = (High – Low) / Volume", and FBS gives "MFI = (High – Low) / Volume".
What do the four bar colours mean?
Each colour is one of the four ways this bar's index and volume can move against the last bar's. Williams gave the four combinations names, and platforms gave them colours.
| Colour | This bar against the last | Williams' name | What the sources say it describes |
|---|---|---|---|
| Green | Index up, volume up | Green | More participants, and the new ones are joining the direction the bar is making |
| Brown | Index down, volume down | Fade | Interest draining out of the move |
| Blue | Index up, volume down | Fake | Range expanding without volume behind it |
| Pink | Index down, volume up | Squat | Heavy trade, little progress |
The names come from Wikipedia's article on the indicator, which states them: "The four possible groupings of MFI and volume were termed Green, Fade, Fake and Squat by Williams", with a sign table giving plus/plus as Green, minus/minus as Fade, plus/minus as Fake and minus/plus as Squat. The colours come from the platform side: LiteFinance lists them with the terminal's own colour constants, "Lime (Green)", "Saddle Brown(Brown)", "Blue" and "Pink". Unofficed publishes colour, condition and name in one table that matches row for row, and LuxAlgo writes the same four as inequalities on this bar against the previous one. FBS names the brown bar a "fade" and the pink bar a "squat" in its own prose.
The MetaTrader help files use none of these names. The four conditions are there as prose paragraphs, and one bar does get a name, the one MetaTrader calls "curtsying". The words traders actually type are not on either page, which is why the naming has to come from somewhere else.
lightningchart.com has three of the four rotated. Under its brown bar it says "MFI decreases while volume increases", which is the squat, the pink bar everywhere else. Under its blue bar, "MFI and volume both decrease", which is the fade, brown. Under its pink bar, "MFI increases while volume decreases", which is the fake, blue. Its interpretation list repeats the same rotation and so does its worked example. Green is the only one it has right, and its formula section is headed "The Market Facilitation Index is calculated using the formula:" and then prints no formula at all, only the list of terms. If you learned the colours there, three of them are the wrong way round.
What is a squat bar?
A squat bar is volume up and range per unit of volume down: heavy trading that moved price very little. Williams' name for it is Squat, platforms paint it pink, and MetaTrader's help describes the same bar without naming it: "There is a battle between bulls and bears, characterized by a large sell and buy volume, but the price is not changing significantly since the forces are equal."
What the index does not tell you is which way the resolution goes. FBS says this outright: "The MFI cannot, however, be used to determine the direction of the breakout." Treat a squat as a note about market character, not a direction.
What is a fake bar?
A fake bar is range expanding while volume shrinks: the move is there, the participation is not. Platforms paint it blue. MetaTrader's help describes the condition as price "changing due to speculations of the floor traders", and Unofficed calls the same bar a trap.
Unofficed also warns about both fake and squat: "The most common mistake is assuming the MFI predicts direction." A green bar is not a signal to buy there; it "means the current trend (which could be down) is strong."
Which volume does the index use?
In ChartLabs, the same volume as the rest of the chart: Dukascopy's indicative volume summed over the bar, which is a relative measure of activity rather than exchange volume. On other platforms a currency pair almost always feeds the index tick volume, a count of price updates rather than a traded size, and two sources say so explicitly. LiteFinance: "In the Forex market, it is not possible to obtain aggregated trading volume data, so the indicator uses tick volume instead." LuxAlgo: "the input is one broker's activity count rather than market-wide size."
That matters because the denominator of the formula changes meaning without changing shape. Fed tick volume, the index grades range per price update on one feed, not range per contract or per lot traded. The four states stay internally consistent on that feed, so the colours still mean what the table above says, but the number is not a measure of money. MetaTrader's reference makes the choice explicit: the indicator function takes a volume type, either VOLUME_TICK or VOLUME_REAL. Which of the two your chart is using is a question for that platform's own documentation, and it is worth answering before you read much into the height of any bar.
What are the best settings for the Market Facilitation Index?
There are none, and the vendor reference is the proof. The MQL5 function signature is:
int iBWMFI(string symbol, ENUM_TIMEFRAMES period, ENUM_APPLIED_VOLUME applied_volume);
Three arguments: which symbol, which timeframe, which volume type. No period, no smoothing constant, no level, and the page adds that the indicator "has only one buffer".
The remaining choice is the timeframe you read it on, and that is a decision about your own trading rather than about the indicator.
How do you test it?
By recording the state of the bar before each entry you take, then counting what followed. No published figure tells you what the four states preceded, so the count has to be yours.
A workable loop, on whichever platform you use:
- Write down the rule you actually want to test, in one sentence, including what the index has to be doing at entry.
- Step forward one bar at a time so you cannot see what happened next.
- For every entry you take, log the bar's state before you clicked: green, fade, fake or squat, plus how tall the bar was against its recent neighbours.
- Take enough entries that the rarer states appear more than once or twice.
- Sort your closed trades by that recorded state and compare the groups.
That last step needs a trade log you can filter rather than a screenshot folder. Manual bar-by-bar testing in ChartLabs is built for that part: you step through real historical data and place trades by hand, each trade saves a snapshot of the chart state you had at the moment of entry, and you can tag trades and then filter the analytics by tag. Historic trades snap to candle boundaries and respect the chart's timeframe, so the bar you logged is the bar you traded. Your timezone setting changes the times shown, not how bars are grouped.
The built-in indicator described above plots the coloured bars and nothing more. There is no automatic backtest, so the logging and the counting in the steps above stay yours.
For the mechanics of running a test like this end to end, see our beginner's guide to backtesting a strategy, and for the pair-specific parts, forex backtesting.
Next step
Finding out what the four states actually preceded in your own market, on your own timeframe, takes a chart you can step through and a trade log you can sort. ChartLabs is a manual backtesting platform for forex, indices, commodities and crypto, with cleaned data from Dukascopy, a 7-day free trial and no card required to start.
Related Topics
Related
Forex Backtesting: Test Your Strategy on Real Data
A practical guide to backtesting forex strategies: why session dynamics, spread variation, and pair-specific behavior change your results, what clean historical data actually means, and a five-step process for testing a strategy before you risk real capital.
Backtesting a Trading Strategy: A Beginner's Guide
What backtesting is, why it matters, and how to run one step by step: defining your rules, choosing clean historical data, stepping through the chart trade by trade, logging results, and reading the metrics that tell you whether your strategy has a real edge.