pub struct ZeroLag { /* private fields */ }Expand description
ZeroLag Indicator
Based on John Ehlers’ “Zero Lag (well, almost)” The indicator acknowledgement that the EMA filter has an error term: Error = Price - EMA[1]. It introduces this error term into the equation in addition to the value of the new data sample, and applies a gain term to minimize the lag.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ZeroLag
impl RefUnwindSafe for ZeroLag
impl Send for ZeroLag
impl Sync for ZeroLag
impl Unpin for ZeroLag
impl UnsafeUnpin for ZeroLag
impl UnwindSafe for ZeroLag
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