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