Skip to main content

Market Facilitation Index for Amibroker (AFL)

sacanbu about 16 years ago Amibroker (AFL)

  • Rating:
    5 / 5 (Votes 1)
  • Tags:
    oscillator, amibroker

Market Facilitation Index Technical Indicator (BW MFI) is the indicator which shows the change of price for one tick. Absolute values of the indicator do not mean anything as they are, only indicator changes have sense. Bill Williams emphasizes the interchanging of MFI and volume:

Indicator / Formula

Copy & Paste Friendly
function MarketFacilitationIndex()
{
  return ( High - Low )/Volume;
}

mfac = MarketFacilitationIndex();
rm = ROC( mfac, 1 );
rv = ROC( Volume, 1 );

Color = IIf( rm > 0 AND rv > 0, colorGreen,
		 IIf( rm < 0 AND rv < 0, colorBlue,
		 IIf( rm > 0 AND rv < 0, colorGrey40,
		 IIf( rm < 0 AND rv > 0, colorRed, colorLightGrey ) ) ) );

Plot( mfac, _DEFAULT_NAME(), Color, ParamStyle("Style", styleHistogram | styleThick, maskHistogram ) );

0 comments

Leave Comment

Please login here to leave a comment.