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")]
[Doc("topics/api/indicators/list_of_indicators/sum_n.html")]
public class Sum : LengthIndicator<decimal>, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
Inheritance
Sum
Implements
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

OnProcessDecimal(IIndicatorValue)

To handle the input value.

protected override decimal? OnProcessDecimal(IIndicatorValue input)

Parameters

input IIndicatorValue

The input value.

Returns

decimal?

The new value of the indicator.