pub struct OC2;Expand description
(Open + Close) / 2
Based on John Ehlers’ “Every Little Bit Helps” (2023). Used to reduce noise in technical indicators by averaging the open and close.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OC2
impl RefUnwindSafe for OC2
impl Send for OC2
impl Sync for OC2
impl Unpin for OC2
impl UnsafeUnpin for OC2
impl UnwindSafe for OC2
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