Level1IndicatorValue

StockSharp.Algo.Indicators

The indicator value, operating with data type Level1ChangeMessage.

Inherits: SingleIndicatorValue<Level1ChangeMessage>

Constructors

Level1IndicatorValue
public Level1IndicatorValue(IIndicator indicator, DateTime time)
level1IndicatorValue = Level1IndicatorValue(indicator, time)

Initializes a new instance of the Level1IndicatorValue.

indicator
Indicator.
time
Time
Level1IndicatorValue
public Level1IndicatorValue(IIndicator indicator, Level1ChangeMessage l1Msg)
level1IndicatorValue = Level1IndicatorValue(indicator, l1Msg)

Initializes a new instance of the Level1IndicatorValue.

indicator
Indicator.
l1Msg
Level1ChangeMessage

Methods

GetValue``1
public override T GetValue<T>(Level1Fields? field)
result = level1IndicatorValue.GetValue(field)

To get the value by the data type.

field
Field specified value source.

Returns: Value.