ExponentialMovingAverage
StockSharp.Algo.Indicators
Exponential Moving Average.
Inherits: DecimalLengthIndicator
Constructors
ExponentialMovingAverage
public ExponentialMovingAverage()
exponentialMovingAverage = ExponentialMovingAverage()
Initializes a new instance of the ExponentialMovingAverage.
Methods
OnProcessDecimal
protected override decimal? OnProcessDecimal(IIndicatorValue input)
result = exponentialMovingAverage.OnProcessDecimal(input)
To handle the input value.
- input
- The input value.
Returns: The new value of the indicator.
Reset
public override void Reset()
exponentialMovingAverage.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).