Struct yata::indicators::DonchianChannel [−][src]
pub struct DonchianChannel { pub period: PeriodType, }
Expand description
Fields
period: PeriodType
Main period. Default is 20
.
Range in [2
; PeriodType::MAX
)
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 = DonchianChannelInstance
type Instance = DonchianChannelInstance
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 DonchianChannel
impl Send for DonchianChannel
impl Sync for DonchianChannel
impl Unpin for DonchianChannel
impl UnwindSafe for DonchianChannel
Blanket Implementations
Mutably borrows from an owned value. Read more