pub struct DoubleBollingerOutput {
pub upper_outer: f64,
pub upper_inner: f64,
pub middle: f64,
pub lower_inner: f64,
pub lower_outer: f64,
}Expand description
Double Bollinger Bands output: two concentric bands at k_inner and
k_outer standard deviations around a shared SMA middle.
Fields§
§upper_outer: f64Outer upper band: middle + k_outer · stddev.
upper_inner: f64Inner upper band: middle + k_inner · stddev.
middle: f64Middle band: SMA over the window.
lower_inner: f64Inner lower band: middle − k_inner · stddev.
lower_outer: f64Outer lower band: middle − k_outer · stddev.
Trait Implementations§
Source§impl Clone for DoubleBollingerOutput
impl Clone for DoubleBollingerOutput
Source§fn clone(&self) -> DoubleBollingerOutput
fn clone(&self) -> DoubleBollingerOutput
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 DoubleBollingerOutput
impl Debug for DoubleBollingerOutput
Source§impl PartialEq for DoubleBollingerOutput
impl PartialEq for DoubleBollingerOutput
Source§fn eq(&self, other: &DoubleBollingerOutput) -> bool
fn eq(&self, other: &DoubleBollingerOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DoubleBollingerOutput
impl StructuralPartialEq for DoubleBollingerOutput
Auto Trait Implementations§
impl Freeze for DoubleBollingerOutput
impl RefUnwindSafe for DoubleBollingerOutput
impl Send for DoubleBollingerOutput
impl Sync for DoubleBollingerOutput
impl Unpin for DoubleBollingerOutput
impl UnsafeUnpin for DoubleBollingerOutput
impl UnwindSafe for DoubleBollingerOutput
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