Market Facilitation Index (BW MFI)

The Market Facilitation Index is Bill Williams' measure of how much the price moved per unit of volume: the bar range divided by the volume traded in it. A high value marks a bar the market moved through easily, a low value a bar that needed a lot of volume for little movement.

Role in the strategy

SlotAvailableRole
Entry PointNo—
Entry RuleYesFilters entries: allows or denies opening a position.
Exit PointNo—
Exit RuleYesTriggers exits: allows or denies closing a position.

The index produces a condition, not an order price: as an entry rule it is ANDed with the entry point and the other entry rules, as an exit rule it is ORed with the other exit rules. See Indicators for the slot semantics.

Logic rules

The index has no Level parameter, so it offers the four direction lines only, and both directions carry the same signal (it is a no-direction oscillator):

RuleLong signal is 1 whenShort signal is 1 when
Market Facilitation Index risesthe index rose on the previous barthe index rose on the previous bar
Market Facilitation Index fallsthe index fell on the previous barthe index fell on the previous bar
Market Facilitation Index changes its direction upwardthe index formed a valleythe index formed a valley
Market Facilitation Index changes its direction downwardthe index formed a peakthe index formed a peak

Rises and falls are states; the two direction changes are events and therefore single-bar triggers for the Generator.

Parameters

The indicator has no parameters. MetaTrader's iBWMFI takes only the applied volume, and every SBP volume emitter uses tick volume, so there is nothing to expose.

Calculation

MFI = (High − Low) / Point / Volume, the value MetaTrader's iBWMFI returns (the MetaQuotes example divides by _Point, which is 10000 · (High − Low) / Volume on a 4-digit symbol and ten times as much on a 5-digit one). A bar without volume carries the previous value forward, like the MetaQuotes example.

The result is drawn as a histogram in its own pane below the price chart (separatedChart). The first valid bar is the fixed warm-up of five bars plus the signal shift.

Backtesting

  • The rule is evaluated on the previous (closed) bar; the signal applies to the current bar.
  • Comparisons use the standard dead zone (SIGMA = 0.000001): a difference smaller than that is neither a rise nor a fall.
  • The index never changes the entry or exit order price; the level comes from the point indicator.