pub struct IncrementalAtr { /* private fields */ }Expand description
Incremental ATR — O(1) per-tick true-range EMA.
Wraps an IncrementalEma over the true range and returns the smoothed
ATR on each update. The first sample’s true range is high - low.
Implementations§
Auto Trait Implementations§
impl Freeze for IncrementalAtr
impl RefUnwindSafe for IncrementalAtr
impl Send for IncrementalAtr
impl Sync for IncrementalAtr
impl Unpin for IncrementalAtr
impl UnsafeUnpin for IncrementalAtr
impl UnwindSafe for IncrementalAtr
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