KaufmanAdaptiveMovingAverage

StockSharp.Algo.Indicators

Kaufman adaptive moving average.

继承自: DecimalLengthIndicator

构造函数

KaufmanAdaptiveMovingAverage()

Initializes a new instance of the KaufmanAdaptiveMovingAverage.

属性

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.

方法

CalcIsFormed() : bool

Calc IsFormed.

返回值: IsFormed

GetCapacity() : int

Gets the capacity of the buffer for data storage.

返回值: The capacity of the buffer. By default, it is equal to Length.

Load(SettingsStorage)

Load settings.

storage
Settings storage.
OnProcessDecimal(IIndicatorValue) : decimal?

To handle the input value.

input
The input value.

返回值: The new value of the indicator.

Reset()

Reset state.

Save(SettingsStorage)

Save settings.

storage
Settings storage.
ToString() : string

Преобразовать к строковому представлению.

返回值: Строковое представление.