Class SmoothedMovingAverage
- Namespace
- StockSharp.Algo.Indicators
- Assembly
- StockSharp.Algo.dll
Smoothed Moving Average.
[Display(ResourceType = typeof(LocalizedStrings), Name = "SMMA", Description = "SmoothedMovingAverage")]
public class SmoothedMovingAverage : LengthIndicator<decimal>, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
- Inheritance
-
SmoothedMovingAverage
- Implements
-
IPersistableICloneable<IIndicator>
- Derived
- Inherited Members
- Extension Methods
Remarks
Constructors
SmoothedMovingAverage()
Initializes a new instance of the SmoothedMovingAverage.
public SmoothedMovingAverage()
Methods
OnProcess(IIndicatorValue)
To handle the input value.
protected override IIndicatorValue OnProcess(IIndicatorValue input)
Parameters
input
IIndicatorValueThe input value.
Returns
- IIndicatorValue
The resulting value.
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()