Monday – Friday : 9:00 AM – 6:30 PM

Chaikin Money Flow

The Chaikin Money Flow Amibroker AFL is a popular tool for evaluating the flow of money in and out of a security. When paired with Amibroker data, it calculates the Chaikin Money Flow indicator, which helps traders assess the buying and selling pressure in the market. This valuable information assists traders in making well-informed trading decisions based on money flow patterns.

_SECTION_BEGIN("Chaikin Money Flow");

function CMF(r1)
//Graph0=(AD(C,H,L,V,r1)*V)/ Sum(V,r1);
Graph0=Sum(IIf( H>L && V>0,((( C-L )-( H-C )) / ( H-L ))*V,0),r1) / Sum(V,r1);
Plot(Graph0, "Chaikin Money Flow ("+r1+")", IIf(Graph0>Ref(Graph0,-1),ParamColor("Up Color", colorGreen ),
ParamColor("Down Color", colorRed )), ParamStyle( "Style", styleHistogram | styleThick, maskHistogram  ) );


r1=Param("Periods", 21);

Open chat
Hi, how can I help you?