Chaikin Oscillator

All functions · nseries package

ChaikinOsc

func (s Series) ChaikinOsc(h, l, c, v Series, speeds ...int) Series

ChaikinOsc implements Marc Chaikin’s momentum indicator that measures the flow of money into and out of a security by analysing volume and price movements. It aims to identify buying and selling pressure.

Positive values indicate buying pressure and potential bullish conditions, while negative values suggest selling pressure and potential bearish conditions.

This indicator is three steps removed from price action: 1. price and volume form the ADL; 2. two EMAs are applied to the ADL; and 3. the difference between EMAs forms the oscillator.

This separation can sometimes lead to disconnects between the indicator and the underlying price movement.

It seems that values of 3 and 10 are the most commonly used for the two EMAs, so we default to these if no speeds are provided.

Bars 0 to fast-2 are exactly 0, since both averages pass AccumDist through; the bars up to slow-2 are XAverage(fast) of AccumDist minus AccumDist; and the first full value is at slow-1 (3 and 10 by default).