MeanDeviation
StockSharp.Algo.Indicators
Average deviation.
Inherits: DecimalLengthIndicator
Constructors
MeanDeviation
public MeanDeviation()
meanDeviation = MeanDeviation()
Initializes a new instance of the MeanDeviation.
Properties
Measure
public override IndicatorMeasures Measure { get; }
value = meanDeviation.Measure
IndicatorMeasures.
Methods
CalcIsFormed
protected override bool CalcIsFormed()
result = meanDeviation.CalcIsFormed()
Calc IsFormed.
Returns: IsFormed
OnProcessDecimal
protected override decimal? OnProcessDecimal(IIndicatorValue input)
result = meanDeviation.OnProcessDecimal(input)
To handle the input value.
- input
- The input value.
Returns: The new value of the indicator.
Reset
public override void Reset()
meanDeviation.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).