Interface IIndicatorContainer
- Namespace
- StockSharp.Algo.Indicators
- Assembly
- StockSharp.BusinessEntities.dll
The interface of the container, storing indicator data.
public interface IIndicatorContainer
- Extension Methods
Properties
Count
The current number of saved values.
int Count { get; }
Property Value
Methods
AddValue(IIndicatorValue, IIndicatorValue)
Add new values.
void AddValue(IIndicatorValue input, IIndicatorValue result)
Parameters
input
IIndicatorValueThe input value of the indicator.
result
IIndicatorValueThe resulting value of the indicator.
ClearValues()
To delete all values of the indicator.
void ClearValues()
GetValue(int)
To get the indicator value by the index.
(IIndicatorValue input, IIndicatorValue output) GetValue(int index)
Parameters
index
intThe sequential number of value from the end.
Returns
- (IIndicatorValue, IIndicatorValue)
Input and resulting values of the indicator.
GetValues()
To get all values of the identifier.
IEnumerable<(IIndicatorValue input, IIndicatorValue output)> GetValues()
Returns
- IEnumerable<(IIndicatorValue, IIndicatorValue)>
All values of the identifier. The empty set, if there are no values.