pub fn trend_analysis_stability(window: &[f64]) -> bool
Trend analysis stability detector Checks for low slope (no trend) and good signal-to-noise ratio