Understand how the Hull Moving Average works and how traders can apply it to their trading strategies.
Stock prices can fluctuate widely on a day-to-day basis, which, over time, create a trend. Traders can use a technical analysis tool such as moving averages to identify which way a trend is moving and to anticipate whether it’ll continue. If the moving average is rising and the stock price is primarily staying above that average, the stock is in an uptrend and vice versa for a downtrend.
Moving averages on volatile data like stocks can become jagged when moving average lengths are shortened to move more in line with the stock. Figure 1 shows a chart using a four-period moving average.
FIGURE 1: FOUR-PERIOD MOVING AVERAGE. On this chart, notice how jagged the line is and how price frequently cuts above and below it. For illustrative purposes only. Past performance does not guarantee future results.
To address this, traders can lengthen the period used for the moving average. Figure 2 shows the same moving average but with 16 periods.
FIGURE 2: 16-PERIOD MOVING AVERAGE. On this chart, note the jaggedness is gone, but you now have a moving average that greatly lags price movement. The moving average turned down (see green arrow) 12 days after price turned down (see red arrow). Chart source: the thinkorswim platform from TD Ameritrade. For illustrative purposes only. Past performance does not guarantee future results.
To address these two issues, Allen Hull created a new moving
average calculation in 2005 called the Hull Moving Average (HMA), which aimed
to reduce this lag time. Let’s look at how the HMA works.
Figure 3 graphs three moving averages (Hull, weighted, and simple)
each using the same length for calculation (16 periods). The red line is the
Hull, orange line is the weighted, and the green line is the simple.
FIGURE 3: THREE MOVING AVERAGES (HULL, WEIGHTED, SIMPLE). All three moving averages suggest an uptrend until the first candle highlighted in gray. At that point, the HMA was suggesting a potential trend change as price broke below it. Three days later, the weighted moving average (WMA) suggested a change in trend as price broke below it (second gray highlighted candle). The simple moving average (SMA) was way behind, not suggesting a change in trend until five days after the weighted moving average and eight days after the Hull moving average signaled a potential change.
Traders sometimes look for the moving average to change direction before confirming a trend change.
Using figure 3 as an example, let’s examine each moving average and when it signaled a trend change:
Figure 3 is illustrating a major benefit of the HMA—it has the same type of smoothness as the weighted and simple and thus reduces and practically eliminates lag times found in other moving averages. For this reason, active traders who look to capitalize on changes in trend and related price movement find the Hull moving average useful.
At this point, you could load up the HMA in thinkorswim® from TD Ameritrade and start implementing it in your trading. But if you want to dig into the details of how the HMA works, here’s how it’s calculated. (Fortunately, traders can use it without fully understanding this complex calculation.)
For this example, we’ll use 16 as the length for the HMA calculation:
1. Calculate the WMA for the full length (16-day WMA)
2. Calculate the WMA for half the Length (8-day WMA)
3. Subtract step 1 result from step 2 (find the difference between WMA of 16 and 8 lengths)
4. Add step 3 to step 2 (add difference to WMA 8 day)
5. Calculate the square root of the full length (v16 = 4)
6. Calculate the WMA of step 4 using length of step 5
When using the Hull moving average for trading, it’s important to remember that it was developed to eliminate lag time between price and the average itself. For this reason, it’s useful for traders who are looking for early signals of potential trend changes. Active traders find it useful as a standalone indicator. Because the HMA is built to decrease lag times of moving averages, it’s usually not used as part of a moving average crossover system as these systems reintroduce lag times.
Explore upcoming TD Ameritrade webcasts.
Do Not Sell or Share My Personal Information
Content intended for educational/informational purposes only. Not investment advice, or a recommendation of any security, strategy, or account type.
Be sure to understand all risks involved with each strategy, including commission costs, before attempting to place any trade. Clients must consider all relevant risk factors, including their own personal financial situations, before trading.
trailing stop or stop loss order will not guarantee an execution at or near the
activation price. Once activated, they compete with other incoming market
this article discusses technical analysis, other approaches, including
fundamental analysis, may assert very different views.
Market volatility, volume, and system availability may delay account access and trade executions.
Past performance of a security or strategy does not guarantee future results or success.
Options are not suitable for all investors as the special risks inherent to options trading may expose investors to potentially rapid and substantial losses. Options trading subject to TD Ameritrade review and approval. Please read Characteristics and Risks of Standardized Options before investing in options.
Supporting documentation for any claims, comparisons, statistics, or other technical data will be supplied upon request.
This is not an offer or solicitation in any jurisdiction where we are not authorized to do business or where such offer or solicitation would be contrary to the local laws and regulations of that jurisdiction, including, but not limited to persons residing in Australia, Canada, Hong Kong, Japan, Saudi Arabia, Singapore, UK, and the countries of the European Union.
TD Ameritrade, Inc., member FINRA/SIPC, a subsidiary of The Charles Schwab Corporation. TD Ameritrade is a trademark jointly owned by TD Ameritrade IP Company, Inc. and The Toronto-Dominion Bank. © 2023 Charles Schwab & Co. Inc. All rights reserved.