FractalAdaptiveMovingAverage

StockSharp.Algo.Indicators

Fractal Adaptive Moving Average (FRAMA).

Inherits: DecimalLengthIndicator

Constructors

FractalAdaptiveMovingAverage
public FractalAdaptiveMovingAverage()
fractalAdaptiveMovingAverage = FractalAdaptiveMovingAverage()

Initializes a new instance of the FractalAdaptiveMovingAverage.

Properties

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

Period length. By default equal to 1.

Methods

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

To handle the input value.

input
The input value.

Returns: The new value of the indicator.

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