pub struct ValueAreaOutput {
pub poc: f64,
pub vah: f64,
pub val: f64,
}Expand description
Value Area output: Point of Control, Value Area High and Value Area Low.
Fields§
§poc: f64Point of Control — price of the bin with the highest cumulative volume.
vah: f64Value Area High — upper bound of the bins that together hold
value_area_pct of the rolling-window volume.
val: f64Value Area Low — lower bound of those same bins.
Trait Implementations§
Source§impl Clone for ValueAreaOutput
impl Clone for ValueAreaOutput
Source§fn clone(&self) -> ValueAreaOutput
fn clone(&self) -> ValueAreaOutput
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 ValueAreaOutput
impl Debug for ValueAreaOutput
Source§impl PartialEq for ValueAreaOutput
impl PartialEq for ValueAreaOutput
Source§fn eq(&self, other: &ValueAreaOutput) -> bool
fn eq(&self, other: &ValueAreaOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ValueAreaOutput
impl StructuralPartialEq for ValueAreaOutput
Auto Trait Implementations§
impl Freeze for ValueAreaOutput
impl RefUnwindSafe for ValueAreaOutput
impl Send for ValueAreaOutput
impl Sync for ValueAreaOutput
impl Unpin for ValueAreaOutput
impl UnsafeUnpin for ValueAreaOutput
impl UnwindSafe for ValueAreaOutput
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