Struct yata::indicators::DetrendedPriceOscillator [−][src]
pub struct DetrendedPriceOscillator { pub period: PeriodType, pub method: RegularMethods, pub source: Source, }
Expand description
Fields
period: PeriodType
MA period size. Default is 21
.
Range in [2
; PeriodType::MAX
)
method: RegularMethods
MA method type. Default is SMA
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 = DetrendedPriceOscillatorInstance
type Instance = DetrendedPriceOscillatorInstance
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 DetrendedPriceOscillator
impl Send for DetrendedPriceOscillator
impl Sync for DetrendedPriceOscillator
impl Unpin for DetrendedPriceOscillator
impl UnwindSafe for DetrendedPriceOscillator
Blanket Implementations
Mutably borrows from an owned value. Read more