Commodity Channel Index (cci)
def cci(high: NDArray[Shape["*", Float]], low: NDArray[Shape["*", Float]], close: NDArray[Shape["*", Float]], period: float | int) -> NDArray[Shape["*"], Float]:
"""
Commodity Channel Index
Inputs: high, low, close
Options: period[20]
Outputs: cci
"""
pass
The Commodity Channel Index indicator requires 3 input and 1 option parameters.
This indicator returns 1 outputs
Inputs
high
- anumpy.array
ofnumpy.float64
low
- anumpy.array
ofnumpy.float64
close
- anumpy.array
ofnumpy.float64
Options
period
-float | int
Outputs
cci