ComplexIndicatorValue
StockSharp.Algo.Indicators
The complex value of the indicator IComplexIndicator, derived as result of calculation.
继承自: BaseIndicatorValue
实现: IComplexIndicatorValue, IIndicatorValue, IComparable<IIndicatorValue>, IComparable
构造函数
ComplexIndicatorValue(T, DateTime)
The complex value of the indicator IComplexIndicator, derived as result of calculation.
- indicator
- Indicator.
- time
- Time
属性
InnerValues : IDictionary<IIndicator, IIndicatorValue>
Embedded values.
IsFinal : bool
Is the value final (indicator finalizes its value and will not be changed anymore in the given point of time).
TypedIndicator : T
The complex indicator, based on which the value is calculated.
方法
Add(IIndicator, IIndicatorValue)
Add a value of inner indicator.
- indicator
- IIndicator
- value
- IIndicatorValue
GetValue``1(Level1Fields?)
To get the value by the data type.
- field
- Field specified value source.
返回值: Value.
SetInnerDecimal(IIndicator, DateTime, decimal?, bool)
Set the inner value of the indicator as Decimal.
- indicator
- Inner indicator, for which the value is set.
- time
- Time of the value, which is set.
- value
- Value of the indicator as Decimal or if the value is empty.
- isFinal
- IsFinal
TryGet(IIndicator, IIndicatorValue) : bool
Try get a value of inner indicator.
- indicator
- IIndicator
- value
- IIndicatorValue
返回值: Operation result.