Struct yata::indicators::ParabolicSAR [−][src]
Expand description
Parabolic Stop And Reverse
Links
2 values
SAR
value
Range of values is the same as the range of the timeseries values.
trend
value
Can be one of the next values: {-1.0
; 0.0
; 1.0
}
1 signal
- When
trend
changes it’s value to positive, then returns full buy signal. Whentrend
changes it’s value to negative, then returns full sell signal. Otherwise returns no signal.
Fields
af_step: ValueType
af_max: ValueType
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 = ParabolicSARInstance
type Instance = ParabolicSARInstance
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 ParabolicSAR
impl Send for ParabolicSAR
impl Sync for ParabolicSAR
impl Unpin for ParabolicSAR
impl UnwindSafe for ParabolicSAR
Blanket Implementations
Mutably borrows from an owned value. Read more