OptimalTracking

StockSharp.Algo.Indicators

Optimal Tracking.

Inherits: DecimalLengthIndicator

Constructors

OptimalTracking
public OptimalTracking()
optimalTracking = OptimalTracking()

Initializes a new instance of the OptimalTracking.

Properties

Length
public override int Length { get; set; }
value = optimalTracking.Length
optimalTracking.Length = value

Period length. By default equal to 1.

Methods

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

To handle the input value.

input
The input value.

Returns: The new value of the indicator.

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