pub fn ema_sma(values: &[f64], period: usize) -> Vec<f64>
Exponential average with alpha 2 / (period + 1), seeded by the mean of the first period finite values. Useful for nested averages with a full warm-up.
2 / (period + 1)
period