IIndicatorContainer

StockSharp.Algo.Indicators

The interface of the container, storing indicator data.

属性

Count : int

The current number of saved values.

方法

AddValue(IIndicatorValue, IIndicatorValue)

Add new values.

input
The input value of the indicator.
result
The resulting value of the indicator.
ClearValues()

To delete all values of the indicator.

GetValue(int) : ValueTuple<IIndicatorValue, IIndicatorValue>

To get the indicator value by the index.

index
The sequential number of value from the end.

返回值: Input and resulting values of the indicator.

GetValues() : IEnumerable<ValueTuple<IIndicatorValue, IIndicatorValue>>

To get all values of the identifier.

返回值: All values of the identifier. The empty set, if there are no values.