The Chaikin Money Flow Oscillator is calculated using the Accumulation/Distribution Line. It takes the cumulative total of the Accumulation/Distribution values for 21 periods (or X number of periods if you elect to change this value) divided by the cumulative total of volume for 21 (or X) periods.