1 2 3 4
pub struct MomentumResult { pub value: f64, // Absolute momentum (price difference) pub ratio: f64, // Momentum ratio (percentage) }