Skip to main content

DYNAMIC_THRESHOLD_EMA_ALPHA

Constant DYNAMIC_THRESHOLD_EMA_ALPHA 

Source
pub(crate) const DYNAMIC_THRESHOLD_EMA_ALPHA: f64 = 0.3;
Expand description

EMA smoothing factor (alpha). Higher values give more weight to recent samples. 0.3 provides good balance between responsiveness and stability.