Class ArnaudLegouxMovingAverage
- Namespace
- StockSharp.Algo.Indicators
- Assembly
- StockSharp.Algo.dll
Arnaud Legoux Moving Average (ALMA) indicator.
[Display(ResourceType = typeof(LocalizedStrings), Name = "ALMA", Description = "ArnaudLegouxMovingAverage")]
[Doc("topics/api/indicators/list_of_indicators/arnaud_legoux_moving_average.html")]
public class ArnaudLegouxMovingAverage : LengthIndicator<decimal>, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
- Inheritance
-
ArnaudLegouxMovingAverage
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
ArnaudLegouxMovingAverage()
Initializes a new instance of the ArnaudLegouxMovingAverage.
public ArnaudLegouxMovingAverage()
Properties
Offset
Offset.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Offset", Description = "Offset", GroupName = "General")]
[Range(1E-06, 0.999999)]
public decimal Offset { get; set; }
Property Value
Sigma
Sigma.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Sigma", Description = "Sigma", GroupName = "General")]
public int Sigma { 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.