TickIndicatorValue
StockSharp.Algo.Indicators
The indicator value, operating with data type ITickTradeMessage.
Inherits: SingleIndicatorValue<ITickTradeMessage>
Constructors
TickIndicatorValue
public TickIndicatorValue(IIndicator indicator, DateTime time)
tickIndicatorValue = TickIndicatorValue(indicator, time)
Initializes a new instance of the TickIndicatorValue.
- indicator
- Indicator.
- time
- Time
TickIndicatorValue
public TickIndicatorValue(IIndicator indicator, ITickTradeMessage tick)
tickIndicatorValue = TickIndicatorValue(indicator, tick)
Initializes a new instance of the TickIndicatorValue.
- indicator
- Indicator.
- tick
- ITickTradeMessage
Methods
GetValue``1
public override T GetValue<T>(Level1Fields? field)
result = tickIndicatorValue.GetValue(field)
To get the value by the data type.
- field
- Field specified value source.
Returns: Value.