pub enum IndicatorPane {
Rsi {
period: usize,
},
Macd {
fast: usize,
slow: usize,
signal: usize,
},
Custom {
name: String,
values: Vec<Option<f64>>,
color: Color,
},
}Expand description
Sub-pane drawn below the price (and volume) panel, sharing the x axis.
Variants§
Rsi
RSI with 30/70 reference lines.
Macd
MACD lines plus histogram bars.
Fields
Custom
Arbitrary line series, auto-scaled.
Trait Implementations§
Source§impl Clone for IndicatorPane
impl Clone for IndicatorPane
Auto Trait Implementations§
impl Forget for IndicatorPane
impl Freeze for IndicatorPane
impl RefUnwindSafe for IndicatorPane
impl Send for IndicatorPane
impl Sync for IndicatorPane
impl Unpin for IndicatorPane
impl UnsafeUnpin for IndicatorPane
impl UnwindSafe for IndicatorPane
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