pub trait MovingAverage: Indicator {
// Required methods
fn value(&self) -> f64;
fn count(&self) -> usize;
fn update_raw(&mut self, value: f64);
}
pub trait MovingAverage: Indicator {
// Required methods
fn value(&self) -> f64;
fn count(&self) -> usize;
fn update_raw(&mut self, value: f64);
}