pub struct OpeningRangeOutput {
pub high: f64,
pub low: f64,
pub breakout_distance: f64,
}Expand description
Opening Range output: high, low and breakout distance from the OR midpoint.
Fields§
§high: f64Session-opening high established over the OR window.
low: f64Session-opening low established over the OR window.
breakout_distance: f64Current bar’s close minus the OR midpoint. Positive once price trades above the range mid, negative below.
Trait Implementations§
Source§impl Clone for OpeningRangeOutput
impl Clone for OpeningRangeOutput
Source§fn clone(&self) -> OpeningRangeOutput
fn clone(&self) -> OpeningRangeOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OpeningRangeOutput
impl Debug for OpeningRangeOutput
Source§impl PartialEq for OpeningRangeOutput
impl PartialEq for OpeningRangeOutput
Source§fn eq(&self, other: &OpeningRangeOutput) -> bool
fn eq(&self, other: &OpeningRangeOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for OpeningRangeOutput
impl StructuralPartialEq for OpeningRangeOutput
Auto Trait Implementations§
impl Freeze for OpeningRangeOutput
impl RefUnwindSafe for OpeningRangeOutput
impl Send for OpeningRangeOutput
impl Sync for OpeningRangeOutput
impl Unpin for OpeningRangeOutput
impl UnsafeUnpin for OpeningRangeOutput
impl UnwindSafe for OpeningRangeOutput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more