Skip to content

Documentation / @finchart/indicators / cci

Function: cci() ​

cci(source, options?): Cci

Defined in: indicators/src/factories.ts:2523

CCI — (typical price − sma) / (0.015 × mean absolute deviation). Typical price = (high+low+close)/3. A window with zero deviation (every candle the same value) can't divide, so it's null.

Parameters ​

source ​

Source<OHLC>

options? ​

CciOptions = {}

Returns ​

Cci