Struct yata::indicators::EldersForceIndex [−][src]
pub struct EldersForceIndex { pub period1: PeriodType, pub period2: PeriodType, pub method: RegularMethods, pub source: Source, }
Expand description
Fields
period1: PeriodType
MA period. Default is 13
.
Range in [2
; PeriodType::MAX
).
period2: PeriodType
Price change period. Default is 1
.
Range in [1
; PeriodType::MAX
).
method: RegularMethods
MA method. Default is EMA
.
source: Source
Price source type of values. Default is Close
.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
type Instance = EldersForceIndexInstance
type Instance = EldersForceIndexInstance
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 RefUnwindSafe for EldersForceIndex
impl Send for EldersForceIndex
impl Sync for EldersForceIndex
impl Unpin for EldersForceIndex
impl UnwindSafe for EldersForceIndex
Blanket Implementations
Mutably borrows from an owned value. Read more