# Chaikin Oscillator

The Chaikin Oscillator is a volume indicator that lets the trader know whether new highs are also accompanied by new volumes. This oscillator is a simple MACD that is applied to the accumulation/distribution line. Hereby, the difference between a 3-day exponential moving average and a 10-day exponential smoothed average for the accumulation/distribution line is calculated.

The interpretation of the Chaikin Oscillator is similar to the principle of the accumulation/distribution. All an oscillator does is show the changes in liquidity for the instrument.

ChaikinOscillator(int fast, int slow)

ChaikinOscillator(IDataSeries inSeries, int fast, int slow)

ChaikinOscillator(int fast, int slow)[int barsAgo]

ChaikinOscillator(IDataSeries inSeries, int fast, int slow)[int barsAgo]

**double**

When using this method with an index (e.g.

**ChaikinOscillator**(3, 10)[**int**barsAgo] ), the value of the indicator will be outputted for the referenced bar.inSeries Input data series for the indicator

fast Number of bars included in the calculation for the fast EMA

slow Number of bars included in the calculation for the slow EMA

Chaikin Oscillator

//Output for the oscillator for the fast and slow values of 3 and 10

Print("The Chaikin Oscillator value is: " + ChaikinOscillator(3, 10)[0]);