Chaikin Money Flow Index

The Chaikin Money Flow Index (CMF) was authored by Marc Chaikin. The CMF is an oscillator derived from the Accumulation/Distribution Line. CMF values are calculated by adding all of the A/D line values for the period and dividing this by the total volume for the period. The user may change only the period length. This indicator’s definition is further expressed in the condensed code given in the calculation below.

Chaikin Money Flow

How To Trade Using Chaikin Money Flow (CMF)

No trading signals are calculated for this indicator.

How To Access in MotiveWave

Go to the top menu, choose Study>Marc Chaikin>Chaikin Money Flow (CMF)

or go to the top menu, choose Add Study, start typing in this study name until you see it appear in the list, click on the study name, click OK.

Important Disclaimer: The information provided on this page is strictly for informational purposes and is not to be construed as advice or solicitation to buy or sell any security. Please see our Risk Disclosure and Performance Disclaimer Statement.


//period = user defined, default is 20
//LT = less than, LOR= = less or equal
//index = current bar number

adTotal = 0;
volumeTotal = 0;
for(i = index-period+1; i LOR= index; i++)
    adTotal += getVolume(i)*mfm(i);
    volumeTotal += getVolume(i);
Plot: adTotal / volumeTotal;