pub struct ElderRayOutput {
pub bull_power: f64,
pub bear_power: f64,
}Expand description
One Elder Ray reading: the bull and bear power for a bar.
Fields§
§bull_power: f64high − EMA(close): how far buyers pushed price above the trend mean.
bear_power: f64low − EMA(close): how far sellers pushed price below the trend mean
(negative in a normal market).
Trait Implementations§
Source§impl Clone for ElderRayOutput
impl Clone for ElderRayOutput
Source§fn clone(&self) -> ElderRayOutput
fn clone(&self) -> ElderRayOutput
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 moreimpl Copy for ElderRayOutput
Source§impl Debug for ElderRayOutput
impl Debug for ElderRayOutput
Source§impl PartialEq for ElderRayOutput
impl PartialEq for ElderRayOutput
Source§fn eq(&self, other: &ElderRayOutput) -> bool
fn eq(&self, other: &ElderRayOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ElderRayOutput
Auto Trait Implementations§
impl Freeze for ElderRayOutput
impl RefUnwindSafe for ElderRayOutput
impl Send for ElderRayOutput
impl Sync for ElderRayOutput
impl Unpin for ElderRayOutput
impl UnsafeUnpin for ElderRayOutput
impl UnwindSafe for ElderRayOutput
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