pub fn cci(
high: &Vec<f64>,
low: &Vec<f64>,
close: &Vec<f64>,
timeperiod: i32,
) -> (Vec<f64>, TA_Integer)
Expand description
TA_CCI - Commodity Channel Index
Input
: high, low, close, timeperiod
Output
: (1st, 2nd)
1st: output vector(f64)
2nd: the first index of inputs corresponding to an valid output value