Class McGinleyDynamic
- Namespace
- StockSharp.Algo.Indicators
- Assembly
- StockSharp.Algo.dll
McGinley Dynamic.
[Display(ResourceType = typeof(LocalizedStrings), Name = "MGD", Description = "McGinleyDynamic")]
[Doc("topics/indicators/mcginley_dynamic.html")]
public class McGinleyDynamic : LengthIndicator<decimal>, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
- Inheritance
-
McGinleyDynamic
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
McGinleyDynamic()
Initializes a new instance of the McGinleyDynamic.
public McGinleyDynamic()
Methods
OnProcessDecimal(IIndicatorValue)
To handle the input value.
protected override decimal? OnProcessDecimal(IIndicatorValue input)
Parameters
input
IIndicatorValueThe 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()