T3MovingAverage
StockSharp.Algo.Indicators
T3 Moving Average.
Inherits: DecimalLengthIndicator
Constructors
T3MovingAverage
public T3MovingAverage()
t3MovingAverage = T3MovingAverage()
Initializes a new instance of the T3MovingAverage.
Properties
NumValuesToInitialize
public override int NumValuesToInitialize { get; }
value = t3MovingAverage.NumValuesToInitialize
Number of values that need to be processed in order for the indicator to initialize (be IsFormed equals ). if undefined.
VolumeFactor
public decimal VolumeFactor { get; set; }
value = t3MovingAverage.VolumeFactor
t3MovingAverage.VolumeFactor = value
Volume factor.
Methods
CalcIsFormed
protected override bool CalcIsFormed()
result = t3MovingAverage.CalcIsFormed()
Calc IsFormed.
Returns: IsFormed
Load
public override void Load(SettingsStorage storage)
t3MovingAverage.Load(storage)
Load settings.
- storage
- Settings storage.
OnProcessDecimal
protected override decimal? OnProcessDecimal(IIndicatorValue input)
result = t3MovingAverage.OnProcessDecimal(input)
To handle the input value.
- input
- The input value.
Returns: The new value of the indicator.
Reset
public override void Reset()
t3MovingAverage.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)
t3MovingAverage.Save(storage)
Save settings.
- storage
- Settings storage.
ToString
public override string ToString()
result = t3MovingAverage.ToString()
Преобразовать к строковому представлению.
Returns: Строковое представление.