Afl of market facilitation index

jahan

Well-Known Member
#2
Dear Seniors

Can anyone plz upload the Market Facilitaion Index (Bill Williams) afl ?

Thanks.
Hello,

its in Amiroker only........

click on charts Tab......then double click on INDICATOR Folder(in charts pane) or simply expand by clicking on " + " sign of INDICATOR folder.....u will see a dropdown list formulas ......in that select "Market Facilitation Index" .....or simply copy below AFL.

_SECTION_BEGIN("Market Facilitation Index");
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 ) );
_SECTION_END();

Regards,
 
Last edited:

Similar threads