Class JurikMovingAverage
- Namespace
- StockSharp.Algo.Indicators
- Assembly
- StockSharp.Algo.dll
Jurik Moving Average.
[Display(ResourceType = typeof(LocalizedStrings), Name = "JMA", Description = "JurikMovingAverage")]
public class JurikMovingAverage : LengthIndicator<decimal>, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
- Inheritance
-
JurikMovingAverage
- Implements
-
IPersistableICloneable<IIndicator>
- Inherited Members
- Extension Methods
Remarks
Constructors
JurikMovingAverage()
Initializes a new instance of the JurikMovingAverage.
public JurikMovingAverage()
Properties
Phase
Phase.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Phase", Description = "MaPhase", GroupName = "General")]
public int Phase { get; set; }
Property Value
Methods
Initialize()
Variables initial initialization.
public void Initialize()
Load(SettingsStorage)
Load settings.
public override void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
OnProcess(IIndicatorValue)
To handle the input value.
protected override IIndicatorValue OnProcess(IIndicatorValue input)
Parameters
input
IIndicatorValueThe input value.
Returns
- IIndicatorValue
The resulting value.
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()
Save(SettingsStorage)
Save settings.
public override void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.