Hull Moving Average (HMA) is Client Side VTL Indicator, is an extremely fast and smooth moving average that almost eliminates the lag associated with moving averages. The major disadvantage with moving averages is the inherent lag associated with them. HMA reduces the lag with common moving averages like Simple MA and Exponential MA.
HMA calculation process is first you define the HMA period (e.g. period = 16). Then,
1 Calculate the Weighted Moving Average (WMA) for half of the period (period/2, i.e. 16/2 = 8) and for full period (16) WMA.
2 Subtract the full period WMA from half period WMA multiplied by 2. (WMA(8)*2 – WMA(16))
3 Calculate the square root of the full period. (Sqrt(16) = 4)
4 Calculate WMA with square root of period in step 3 as period on the result got in step 2. (WMA(4) of result in step 2)
Like moving averages HMA is used to identify the trend direction. The direction of the HMA line shows the trend direction. When the HMA line is rising, trend is up and when the HMA line is falling trend is down. Also price trading above the HMA indicates uptrend and price trading below HMA line indicates down trend. Slope of the HMA line shows the strength of the trend.
HMA can be used to generate entry signals in trading strategies. First find the long term trend by the use of trend lines or any other trend identification method. A short term HMA is used for entry signals with this trend. In long term uptrend, when the short term HMA turns up, buy position can be opened. In long term down trend, when short term HMA turns down after a pullback, short position can be opened. The chart attached shows an example sell trade with trend line and HMA. After the trend line is drawn with major swing highs, wait for price to pull back, in the pull back HMA will rise. When the HMA turn down again open Sell position.
The HMA indicator has the following parameters.
1 HMA Period – Period for HMA calculation
2 MA Shift - Shift if HMA is used as displaced moving average
3 MA Method – Moving average Calculation Method for internal indicator formula. Values can be 0 - SMA, 1 - EMA, 2 - SMMA, 3 – LWMA
4 MA Price - Price field used for HMA. Values can be 0 - Close, 1 - Open, 2 - High, 3 - Low 4 - Median, 5 - Typical 6 - weighted
hma.zip (3.07 KB)