pub struct FibRetracementOutput {
pub level_0: f64,
pub level_236: f64,
pub level_382: f64,
pub level_500: f64,
pub level_618: f64,
pub level_786: f64,
pub level_1000: f64,
}Expand description
Fibonacci Retracement levels for the most recent swing leg.
Each field is the price at the matching retracement ratio, measured from the
leg’s end (level_0, the latest confirmed extreme) back toward its start
(level_1000, the prior pivot).
Fields§
§level_0: f640.0% — the most recent confirmed swing extreme.
level_236: f6423.6% retracement.
level_382: f6438.2% retracement.
level_500: f6450% retracement (not a Fibonacci ratio, but conventionally drawn).
level_618: f6461.8% retracement — the “golden ratio” pullback.
level_786: f6478.6% retracement.
level_1000: f64100% — the swing origin.
Trait Implementations§
Source§impl Clone for FibRetracementOutput
impl Clone for FibRetracementOutput
Source§fn clone(&self) -> FibRetracementOutput
fn clone(&self) -> FibRetracementOutput
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 FibRetracementOutput
Source§impl Debug for FibRetracementOutput
impl Debug for FibRetracementOutput
Source§impl PartialEq for FibRetracementOutput
impl PartialEq for FibRetracementOutput
Source§fn eq(&self, other: &FibRetracementOutput) -> bool
fn eq(&self, other: &FibRetracementOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FibRetracementOutput
Auto Trait Implementations§
impl Freeze for FibRetracementOutput
impl RefUnwindSafe for FibRetracementOutput
impl Send for FibRetracementOutput
impl Sync for FibRetracementOutput
impl Unpin for FibRetracementOutput
impl UnsafeUnpin for FibRetracementOutput
impl UnwindSafe for FibRetracementOutput
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