HullMovingAverage


Summary

The Hull Moving Average is a more responsive moving average that nearly removes lag and improves smoothing at the same time.

Syntax

public HullMovingAverage HullMovingAverage(DataSeries source, int periods)

Parameters

NameDescription

Example 1

[Output("Main")]
public IndicatorDataSeries Result {get; set;}
private HullMovingAverage hma;
protected override void Initialize()
{
    hma = Indicators.HullMovingAverage(MarketSeries.Close, 14);
}
public override void Calculate(int index)
{
    Result[index] = hma.Result[index];
}
Reference