Skip to main content

ema

Function ema 

Source
pub fn ema(v: &[f64], n: usize) -> Vec<Option<f64>>
Expand description

EMA with α = 2/(n+1), seeded with the SMA of the first n values.