VariableMovingAverage

StockSharp.Algo.Indicators

Variable Moving Average (VMA).

继承自: DecimalLengthIndicator

构造函数

VariableMovingAverage()

Initializes a new instance of the VariableMovingAverage.

属性

NumValuesToInitialize : int

Number of values that need to be processed in order for the indicator to initialize (be IsFormed equals ). if undefined.

VolatilityIndex : decimal

Volatility index factor. Default value is 0.2.

方法

CalcIsFormed() : bool

Calc IsFormed.

返回值: IsFormed

Load(SettingsStorage)

Load settings.

storage
Settings storage.
OnProcess(IIndicatorValue) : IIndicatorValue

To handle the input value.

input
The input value.

返回值: The resulting value.

Reset()

Reset state.

Save(SettingsStorage)

Save settings.

storage
Settings storage.
ToString() : string

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

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