Class Sum
- Namespace
- StockSharp.Algo.Indicators
- Assembly
- StockSharp.Algo.dll
Sum of N last values.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Sum", Description = "SumNLastValues")]
public class Sum : LengthIndicator<decimal>, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
- Inheritance
-
Sum
- Implements
-
IPersistableICloneable<IIndicator>
- Inherited Members
- Extension Methods
Remarks
Constructors
Sum()
Initializes a new instance of the Sum.
public Sum()
Properties
Measure
public override IndicatorMeasures Measure { get; }
Property Value
Methods
OnProcess(IIndicatorValue)
To handle the input value.
protected override IIndicatorValue OnProcess(IIndicatorValue input)
Parameters
input
IIndicatorValueThe input value.
Returns
- IIndicatorValue
The resulting value.