Struct yata::indicators::EldersForceIndex [−][src]
pub struct EldersForceIndex<M: MovingAverageConstructor = MA> {
pub ma: M,
pub period2: PeriodType,
pub source: Source,
}
Expand description
Fields
ma: M
period2: PeriodType
Price change period. Default is 1
.
Range in [1
; PeriodType::MAX
).
source: Source
Price source type of values. Default is Close
.
Trait Implementations
impl<'de, M: MovingAverageConstructor> Deserialize<'de> for EldersForceIndex<M> where
M: Deserialize<'de>,
impl<'de, M: MovingAverageConstructor> Deserialize<'de> for EldersForceIndex<M> where
M: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
type Instance = EldersForceIndexInstance<M>
type Instance = EldersForceIndexInstance<M>
Type of State
Initializes the State based on current Configuration
Dynamically sets Configuration parameters
Returns an IndicatorResult
size processing by the indicator (count of raw values, count of signals)
Creates an IndicatorInstance
function from this IndicatorConfig
.
Auto Trait Implementations
impl<M> RefUnwindSafe for EldersForceIndex<M> where
M: RefUnwindSafe,
impl<M> Send for EldersForceIndex<M> where
M: Send,
impl<M> Sync for EldersForceIndex<M> where
M: Sync,
impl<M> Unpin for EldersForceIndex<M> where
M: Unpin,
impl<M> UnwindSafe for EldersForceIndex<M> where
M: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more