JurikMovingAverage
StockSharp.Algo.Indicators
Jurik Moving Average.
Inherits: DecimalLengthIndicator
Constructors
JurikMovingAverage
public JurikMovingAverage()
jurikMovingAverage = JurikMovingAverage()
Initializes a new instance of the JurikMovingAverage.
Properties
Phase
public int Phase { get; set; }
value = jurikMovingAverage.Phase
jurikMovingAverage.Phase = value
Phase.
Methods
Load
public override void Load(SettingsStorage storage)
jurikMovingAverage.Load(storage)
Load settings.
- storage
- Settings storage.
OnProcessDecimal
protected override decimal? OnProcessDecimal(IIndicatorValue input)
result = jurikMovingAverage.OnProcessDecimal(input)
To handle the input value.
- input
- The input value.
Returns: The new value of the indicator.
Reset
public override void Reset()
jurikMovingAverage.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).
Save
public override void Save(SettingsStorage storage)
jurikMovingAverage.Save(storage)
Save settings.
- storage
- Settings storage.
ToString
public override string ToString()
result = jurikMovingAverage.ToString()
Преобразовать к строковому представлению.
Returns: Строковое представление.