KaufmanAdaptiveMovingAverage
StockSharp.Algo.Indicators
Kaufman adaptive moving average.
Erbt von: DecimalLengthIndicator
Konstruktoren
KaufmanAdaptiveMovingAverage()
Initializes a new instance of the KaufmanAdaptiveMovingAverage.
Eigenschaften
FastSCPeriod : int
'Rapid' EMA period. The default value is 2.
NumValuesToInitialize : int
Number of values that need to be processed in order for the indicator to initialize (be IsFormed equals ). if undefined.
SlowSCPeriod : int
'Slow' EMA period. The default value is 30.
Methoden
GetCapacity() : int
Gets the capacity of the buffer for data storage.
Rückgabe: The capacity of the buffer. By default, it is equal to Length.
OnProcessDecimal(IIndicatorValue) : decimal?
To handle the input value.
- input
- The input value.
Rückgabe: The new value of the indicator.
Reset()
Reset state.