HullMovingAverage

StockSharp.Algo.Indicators

Hull Moving Average.

继承自: DecimalLengthIndicator

构造函数

HullMovingAverage()

Initializes a new instance of the HullMovingAverage.

属性

NumValuesToInitialize : int

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

SqrtPeriod : int

Period of resulting average. If equal to 0, period of resulting average is equal to the square root of HMA period. By default equal to 0.

方法

CalcIsFormed() : bool

Calc IsFormed.

返回值: IsFormed

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.