Struct yata::indicators::DetrendedPriceOscillator [−][src]
pub struct DetrendedPriceOscillator<M: MovingAverageConstructor = MA> {
pub ma: M,
pub source: Source,
}
Expand description
Fields
ma: M
source: Source
Source type. Default is Close
Trait Implementations
impl<'de, M: MovingAverageConstructor> Deserialize<'de> for DetrendedPriceOscillator<M> where
M: Deserialize<'de>,
impl<'de, M: MovingAverageConstructor> Deserialize<'de> for DetrendedPriceOscillator<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 = DetrendedPriceOscillatorInstance<M>
type Instance = DetrendedPriceOscillatorInstance<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
.
impl<M: MovingAverageConstructor> Serialize for DetrendedPriceOscillator<M> where
M: Serialize,
impl<M: MovingAverageConstructor> Serialize for DetrendedPriceOscillator<M> where
M: Serialize,
Auto Trait Implementations
impl<M> RefUnwindSafe for DetrendedPriceOscillator<M> where
M: RefUnwindSafe,
impl<M> Send for DetrendedPriceOscillator<M> where
M: Send,
impl<M> Sync for DetrendedPriceOscillator<M> where
M: Sync,
impl<M> Unpin for DetrendedPriceOscillator<M> where
M: Unpin,
impl<M> UnwindSafe for DetrendedPriceOscillator<M> where
M: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more