TripleExponentialMovingAverage

StockSharp.Algo.Indicators

Triple Exponential Moving Average.

Inherits: DecimalLengthIndicator

Constructors

TripleExponentialMovingAverage
public TripleExponentialMovingAverage()
tripleExponentialMovingAverage = TripleExponentialMovingAverage()

Initializes a new instance of the TripleExponentialMovingAverage.

Properties

NumValuesToInitialize
public override int NumValuesToInitialize { get; }
value = tripleExponentialMovingAverage.NumValuesToInitialize

Number of values that need to be processed in order for the indicator to initialize (be IsFormed equals ). if undefined.

Methods

CalcIsFormed
protected override bool CalcIsFormed()
result = tripleExponentialMovingAverage.CalcIsFormed()

Calc IsFormed.

Returns: IsFormed

OnProcessDecimal
protected override decimal? OnProcessDecimal(IIndicatorValue input)
result = tripleExponentialMovingAverage.OnProcessDecimal(input)

To handle the input value.

input
The input value.

Returns: The new value of the indicator.

Reset
public override void Reset()
tripleExponentialMovingAverage.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).