Class MomentumOfMovingAverage
- Namespace
- StockSharp.Algo.Indicators
- Assembly
- StockSharp.Algo.dll
Momentum of Moving Average indicator.
[Display(ResourceType = typeof(LocalizedStrings), Name = "MOMA", Description = "MomentumOfMovingAverage")]
[Doc("topics/api/indicators/list_of_indicators/momentum_of_moving_average.html")]
public class MomentumOfMovingAverage : SimpleMovingAverage, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
- Inheritance
-
MomentumOfMovingAverage
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
MomentumOfMovingAverage()
Initializes a new instance of the MomentumOfMovingAverage.
public MomentumOfMovingAverage()
Properties
Measure
public override IndicatorMeasures Measure { get; }
Property Value
MomentumPeriod
Momentum period.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Momentum", Description = "Momentum", GroupName = "General")]
public int MomentumPeriod { get; set; }
Property Value
Methods
Load(SettingsStorage)
Load settings.
public override void Load(SettingsStorage storage)
Parameters
storageSettingsStorageSettings storage.
OnProcessDecimal(IIndicatorValue)
To handle the input value.
protected override decimal? OnProcessDecimal(IIndicatorValue input)
Parameters
inputIIndicatorValueThe input value.
Returns
- decimal?
The new value of the indicator.
Save(SettingsStorage)
Save settings.
public override void Save(SettingsStorage storage)
Parameters
storageSettingsStorageSettings storage.
ToString()
public override string ToString()