pub struct DSMA { /* private fields */ }Expand description
Deviation Scaled Moving Average (DSMA)
Based on John Ehlers’ “Deviation Scaled Moving Average” (2018). DSMA is an adaptive moving average that modifies the alpha term of an EMA based on the amplitude of an oscillator scaled in Standard Deviations from the mean. This allows it to adapt rapidly to price variations while maintaining heavy smoothing when variations are small.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DSMA
impl RefUnwindSafe for DSMA
impl Send for DSMA
impl Sync for DSMA
impl Unpin for DSMA
impl UnsafeUnpin for DSMA
impl UnwindSafe for DSMA
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more