pub fn ema(prices: &[f64], period: usize) -> Result<Vec<f64>, IndicatorError>
Exponential Moving Average over a price slice. Returns a Vec of the same length; leading values are NaN until warm-up.
NaN