Class Sum
Sum of N last values.
Inherited Members
Namespace: StockSharp.Algo.Indicators
Assembly: StockSharp.Algo.dll
Syntax
[DescriptionLoc("Str751", false)]
public class Sum : LengthIndicator<Decimal>, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
Constructors
Sum()
Initializes a new instance of the Sum.
Declaration
public Sum()
Methods
OnProcess(IIndicatorValue)
To handle the input value.
Declaration
protected override IIndicatorValue OnProcess(IIndicatorValue input)
Parameters
Type | Name | Description |
---|---|---|
IIndicatorValue | input | The input value. |
Returns
Type | Description |
---|---|
IIndicatorValue | The resulting value. |
Overrides
Implements
Ecng.Serialization.IPersistable
Ecng.Common.ICloneable<>