pub struct ATR { /* private fields */ }Expand description
Average True Range (ATR) calculator
Uses Wilder’s smoothing method for the ATR calculation. True Range = max(High - Low, |High - PrevClose|, |Low - PrevClose|)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ATR
impl RefUnwindSafe for ATR
impl Send for ATR
impl Sync for ATR
impl Unpin for ATR
impl UnsafeUnpin for ATR
impl UnwindSafe for ATR
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