Table of Contents

Class SimpleMovingAverage

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

Simple moving average.

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

Remarks

Constructors

SimpleMovingAverage()

Initializes a new instance of the SimpleMovingAverage.

public SimpleMovingAverage()

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.