Function calculate_cci_simple

Source
pub fn calculate_cci_simple(
    highs: &[f64],
    lows: &[f64],
    closes: &[f64],
    period: usize,
) -> Result<Vec<f64>, CCIError>
Expand description

Convenience function to calculate CCI for HLC data without maintaining state