Market Facilitation Index (BW MFI)

Calculate Bill Williams’ Market Facilitation Index (BW MFI): the range of a period per unit of volume, which shows how efficiently volume moves the price.

The Market Facilitation Index measures how far price moved per unit of volume: the period’s range divided by its volume. Williams read it together with the change in volume: a rising index on rising volume (“green”) shows a market that moves easily with new participants, a falling index on falling volume (“fade”) a market that loses interest, a falling index on rising volume (“squat”) a struggle between buyers and sellers that often comes before a breakout, and a rising index on falling volume (“fake”) a move without participation.

The formula is as follows:

\[\text{Market Facilitation Index} = \frac{\text{High} - \text{Low}}{\frac{\text{Volume}}{\text{volume\_divisor}}}\]

The index depends on the price and the number of shares traded, so it is read against its own history rather than compared across tickers.

Also known as: BW MFI, Market Facilitation Index, MARKETFI.

Example · AAPL, MSFT · 2021 to 2025

Install the Finance Toolkit with pip install financetoolkit -U, then call get_market_facilitation_index:

from financetoolkit import Toolkit

toolkit = Toolkit(
    tickers=["AAPL", "MSFT"],
    api_key="FINANCIAL_MODELING_PREP_KEY",
    start_date="2021-01-01",
    end_date="2025-12-31",
)

toolkit.technicals.get_market_facilitation_index()

Or, with the Finance Toolkit MCP set up, ask an AI assistant such as Claude or ChatGPT:

How much did the price of Apple and Microsoft move per unit of volume in 2025, measured by the Market Facilitation Index?

Which returns:

Parameters

get_market_facilitation_index accepts the following parameters.

ParameterTypeDescriptionExample
periodstrThe time period to consider for historical data. Options are: “intraday” (intraday prices), “daily” (daily prices), “weekly” (weekly prices), “monthly” (monthly prices), “quarterly” (quarterly prices), “yearly” (yearly prices). Defaults to “daily”."weekly"
close_columnstrThe column name for closing prices in the historical data. Defaults to “Adj Close”, in which case the open, high and low prices are adjusted for dividends in the same way."Close"
volume_divisorfloatScaling constant the volume is divided by, so the index stays in a readable range at the Toolkit’s rounding. Defaults to 100,000,000, as for the Ease of Movement.1000000.0
roundingint | NoneThe number of decimals to round the results to. Defaults to None, which uses the rounding of the Toolkit (4 unless set otherwise).2
growthboolWhether to calculate the growth of the indicator values. Defaults to False.True
lagint | list[int]The lag to use for the growth calculation. Defaults to 1.4
standardizeboolWhether to standardize (Z-Score) the result. When combined with growth=True, standardizes the growth values instead of the raw values. Defaults to False.True
show_columnsstr | list[str] | NoneThe columns to keep, a name or a list of names, matched on every column level, or the rows when no column has those names (such as the line items of a financial statement). Names that do not exist are logged, and when none exist the result is returned in full. Defaults to None, which keeps every column.None, which keeps every column

References

  • Paper Williams, B.M. (1995). “Trading Chaos: Applying Expert Techniques to Maximize Your Profits.” John Wiley & Sons.
  • Library Referenced against TA-Lib’s MARKETFI
  • Library Referenced against pandas-ta-classic’s marketfi
  • Library Referenced against Tulip Indicators’ marketfi
Share