Interface IIndicatorValue
- Namespace
- StockSharp.Algo.Indicators
- Assembly
- StockSharp.BusinessEntities.dll
The indicator value, based on which it will renew its value, as well as value, containing result of indicator calculation.
public interface IIndicatorValue : IComparable<IIndicatorValue>, IComparable
- Inherited Members
- Extension Methods
Properties
Indicator
Indicator.
IIndicator Indicator { get; }
Property Value
IsEmpty
No indicator value.
bool IsEmpty { get; }
Property Value
IsFinal
Is the value final (indicator finalizes its value and will not be changed anymore in the given point of time).
bool IsFinal { get; set; }
Property Value
IsFormed
Whether the indicator is set.
bool IsFormed { get; set; }
Property Value
Time
Value time.
DateTimeOffset Time { get; }
Property Value
Methods
FromValues(object[])
Convert to indicator value.
void FromValues(object[] values)
Parameters
values
object[]
GetValue<T>(Level1Fields?)
To get the value by the data type.
T GetValue<T>(Level1Fields? field = null)
Parameters
field
Level1Fields?Field specified value source.
Returns
- T
Value.
Type Parameters
T
The data type, operated by indicator.
ToValues()
Convert to primitive values.
IEnumerable<object> ToValues()
Returns
- IEnumerable<object>
Primitive values.