HullMovingAvg

Description

The Hull Moving Average (HMA) study is an indicator used to address the problem of lagging specific to Average studies. It applies Weighted Moving Average mechanism to smooth the data.

In Hull Moving Average, the lagging effect is eliminated by combination of two Weighted Moving Averages with different lengths: first one equal to period of HMA, second equal to the half-period. Smoothing effect is attained by applying WMA to the result, with length equal to square root of the period.

 

Input Parameters

Parameter Description
price The price used to calculate the HMA.
length The number of bars in HMA period, used to calculate WMAs.
displace The displacement of the HMA study, in bars. Positive values signify displacement to the past.

Plots

Plot Description
HMA The Hull Moving Average plot.

Example*

*For illustrative purposes only. Not a recommendation of a specific security or investment strategy.