Table of Contents

Class SimpleMovingAverage

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

Simple moving average.

[Display(ResourceType = typeof(LocalizedStrings), Name = "SMA", Description = "SimpleMovingAverage")]
public class SimpleMovingAverage : LengthIndicator<decimal>, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable, ILengthIndicator
Inheritance
SimpleMovingAverage
Implements
IPersistable
ICloneable<IIndicator>
Inherited Members
Extension Methods

Remarks

Constructors

SimpleMovingAverage()

Initializes a new instance of the SimpleMovingAverage.

public SimpleMovingAverage()

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.