Class LengthIndicator<TResult>.LengthIndicatorBuffer
- Namespace
- StockSharp.Algo.Indicators
- Assembly
- StockSharp.Algo.dll
Buffer.
protected class LengthIndicator<TResult>.LengthIndicatorBuffer : CircularBuffer<TResult>
- Inheritance
-
LengthIndicator<TResult>.LengthIndicatorBuffer
- Extension Methods
Properties
Max
Max value.
public NullableEx<TResult> Max { get; }
Property Value
- NullableEx<TResult>
MaxComparer
Calc Max.
public IComparer<TResult> MaxComparer { get; set; }
Property Value
- IComparer<TResult>
Min
Min value.
public NullableEx<TResult> Min { get; }
Property Value
- NullableEx<TResult>
MinComparer
Calc Min.
public IComparer<TResult> MinComparer { get; set; }
Property Value
- IComparer<TResult>
Operator
Calc Sum.
public IOperator<TResult> Operator { get; set; }
Property Value
- IOperator<TResult>
Sum
Sum of all elements in buffer.
public TResult Sum { get; }
Property Value
- TResult
SumNoFirst
Sum of all elements in buffer without the first element.
public TResult SumNoFirst { get; }
Property Value
- TResult
Methods
AddEx(TResult)
Add with Length auto adjust.
public void AddEx(TResult result)
Parameters
result
TResultValue.
Reset()
Reset.
public void Reset()