Table of Contents

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
IPersistable
ICloneable<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

IndicatorMeasures

Methods

OnProcess(IIndicatorValue)

To handle the input value.

protected override IIndicatorValue OnProcess(IIndicatorValue input)

Parameters

input IIndicatorValue

The input value.

Returns

IIndicatorValue

The resulting value.