pub struct TdLinesOutput {
pub resistance: f64,
pub support: f64,
}Expand description
Output of TdLines: the latest TDST resistance / support pair.
resistance is set after a completed buy setup (the highest high of
the nine setup bars); support is set after a completed sell setup
(the lowest low of the nine setup bars). Either field is f64::NAN
until the first setup in that direction completes.
Fields§
§resistance: f64Latest TDST resistance, or NAN if no buy setup has completed yet.
support: f64Latest TDST support, or NAN if no sell setup has completed yet.
Trait Implementations§
Source§impl Clone for TdLinesOutput
impl Clone for TdLinesOutput
Source§fn clone(&self) -> TdLinesOutput
fn clone(&self) -> TdLinesOutput
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 TdLinesOutput
impl Debug for TdLinesOutput
Source§impl PartialEq for TdLinesOutput
impl PartialEq for TdLinesOutput
Source§fn eq(&self, other: &TdLinesOutput) -> bool
fn eq(&self, other: &TdLinesOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TdLinesOutput
impl StructuralPartialEq for TdLinesOutput
Auto Trait Implementations§
impl Freeze for TdLinesOutput
impl RefUnwindSafe for TdLinesOutput
impl Send for TdLinesOutput
impl Sync for TdLinesOutput
impl Unpin for TdLinesOutput
impl UnsafeUnpin for TdLinesOutput
impl UnwindSafe for TdLinesOutput
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