Class MarketDepthIndicatorValue
- Namespace
- StockSharp.Algo.Indicators
- Assembly
- StockSharp.BusinessEntities.dll
The indicator value, operating with data type IOrderBookMessage.
public class MarketDepthIndicatorValue : SingleIndicatorValue<IOrderBookMessage>, IIndicatorValue, IComparable<IIndicatorValue>, IComparable
- Inheritance
-
MarketDepthIndicatorValue
- Implements
- Inherited Members
- Extension Methods
Constructors
MarketDepthIndicatorValue(IIndicator, IOrderBookMessage)
Initializes a new instance of the MarketDepthIndicatorValue.
public MarketDepthIndicatorValue(IIndicator indicator, IOrderBookMessage depth)
Parameters
indicator
IIndicatorIndicator.
depth
IOrderBookMessageMarket depth.
MarketDepthIndicatorValue(IIndicator, DateTimeOffset)
Initializes a new instance of the MarketDepthIndicatorValue.
public MarketDepthIndicatorValue(IIndicator indicator, DateTimeOffset time)
Parameters
indicator
IIndicatorIndicator.
time
DateTimeOffset
Methods
GetValue<T>(Level1Fields?)
To get the value by the data type.
public override T GetValue<T>(Level1Fields? field)
Parameters
field
Level1Fields?Field specified value source.
Returns
- T
Value.
Type Parameters
T
The data type, operated by indicator.