MarketDepthIndicatorValue

StockSharp.Algo.Indicators

The indicator value, operating with data type IOrderBookMessage.

Inherits: SingleIndicatorValue<IOrderBookMessage>

Constructors

MarketDepthIndicatorValue
public MarketDepthIndicatorValue(IIndicator indicator, DateTime time)
marketDepthIndicatorValue = MarketDepthIndicatorValue(indicator, time)

Initializes a new instance of the MarketDepthIndicatorValue.

indicator
Indicator.
time
Time
MarketDepthIndicatorValue
public MarketDepthIndicatorValue(IIndicator indicator, IOrderBookMessage depth)
marketDepthIndicatorValue = MarketDepthIndicatorValue(indicator, depth)

Initializes a new instance of the MarketDepthIndicatorValue.

indicator
Indicator.
depth
Market depth.

Methods

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

To get the value by the data type.

field
Field specified value source.

Returns: Value.