MassIndex

StockSharp.Algo.Indicators

Mass Index.

继承自: DecimalLengthIndicator

构造函数

MassIndex()

Initializes a new instance of the MassIndex.

属性

EmaLength : int

ExponentialMovingAverage

Measure : IndicatorMeasures

IndicatorMeasures.

NumValuesToInitialize : int

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

方法

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.
ToString() : string

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

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