Table of Contents

Class SmoothedMovingAverage

Namespace
StockSharp.Algo.Indicators
Assembly
StockSharp.Algo.dll

Smoothed Moving Average.

[Display(ResourceType = typeof(LocalizedStrings), Name = "SMMA", Description = "SmoothedMovingAverage")]
[Doc("topics/api/indicators/list_of_indicators/smoothed_ma.html")]
public class SmoothedMovingAverage : LengthIndicator<decimal>, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
Inheritance
SmoothedMovingAverage
Implements
Derived
Inherited Members
Extension Methods

Remarks

Constructors

SmoothedMovingAverage()

Initializes a new instance of the SmoothedMovingAverage.

public SmoothedMovingAverage()

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.

Reset()

To reset the indicator status to initial. The method is called each time when initial settings are changed (for example, the length of period).

public override void Reset()