chaikin_osc

forge.tafunctionSince Forge API 1
Signaturepython
forge.ta.chaikin_osc(high: ArrayLike,low: ArrayLike,close: ArrayLike,volume: ArrayLike,fast_period: int = 3,slow_period: int = 10,method: str = 'ema') -> np.ndarray

Chaikin oscillator: the fast average of accumulation and distribution minus the slow one.

Parameters

NameTypeDefault
highArrayLike
lowArrayLike
closeArrayLike
volumeArrayLike
fast_periodint3
slow_periodint10
methodstr'ema'

Indicator: Chaikin oscillator

method is the average: ema (the usual one), sma, smma or lwma.