Struct yata::indicators::KnowSureThing [−][src]
pub struct KnowSureThing { pub period1: PeriodType, pub period2: PeriodType, pub period3: PeriodType, pub period4: PeriodType, pub sma1: PeriodType, pub sma2: PeriodType, pub sma3: PeriodType, pub sma4: PeriodType, pub method1: RegularMethods, pub sma5: PeriodType, pub method2: RegularMethods, }
Expand description
Fields
period1: PeriodType
ROC1 period. Default is 10
.
period2: PeriodType
ROC2 period. Default is 15
.
period3: PeriodType
ROC3 period. Default is 20
.
period4: PeriodType
ROC4 period. Default is 30
.
sma1: PeriodType
ROC1 moving average period. Default is 10
.
sma2: PeriodType
ROC2 moving average period. Default is 10
.
sma3: PeriodType
ROC3 moving average period. Default is 10
.
sma4: PeriodType
ROC4 moving average period. Default is 15
.
method1: RegularMethods
ROCs lines moving average type. Defual is SMA
.
sma5: PeriodType
Signal line moving average period. Default is 9
.
method2: RegularMethods
Signal line moving average type. Defual is SMA
.
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 = KnowSureThingInstance
type Instance = KnowSureThingInstance
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 KnowSureThing
impl Send for KnowSureThing
impl Sync for KnowSureThing
impl Unpin for KnowSureThing
impl UnwindSafe for KnowSureThing
Blanket Implementations
Mutably borrows from an owned value. Read more