• the reference dev: mean absolute deviation from the SMA over period — not a standard deviation. CCI's 0.015 constant is calibrated against this.

    Parameters

    • values: readonly number[]
    • period: number

    Returns number[]