Struct yata::indicators::ChandeMomentumOscillator [−][src]
pub struct ChandeMomentumOscillator { pub period: PeriodType, pub zone: ValueType, pub source: Source, }
Expand description
Fields
period: PeriodType
main period length. Default is 9
.
Range in [2
; PeriodType::MAX
]
zone: ValueType
Zone size of overbought and oversold. Default is 0.5
.
Range in [0.0
; 1.0
]
source: Source
Source type. 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 = ChandeMomentumOscillatorInstance
type Instance = ChandeMomentumOscillatorInstance
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 ChandeMomentumOscillator
impl Send for ChandeMomentumOscillator
impl Sync for ChandeMomentumOscillator
impl Unpin for ChandeMomentumOscillator
impl UnwindSafe for ChandeMomentumOscillator
Blanket Implementations
Mutably borrows from an owned value. Read more