Hull Moving Average (HMA)
By Chad Smith, Director of Research & Analysis · Updated
On this page
The Hull moving average (HMA) is a moving average designed to reduce lag almost entirely while keeping the line smooth. Alan Hull built it from weighted moving averages and a short final smoothing step. The result follows price closely and turns quickly, which makes it popular for spotting changes in short-term direction.
What it measures
Like every average, the HMA measures where price has been trading over a lookback period. Its aim is different, though. Most averages accept some lag as the price of smoothness. The HMA tries to estimate where the average "should" be right now, removing much of the delay that a normal average carries.
The practical output is a line whose slope changes direction close to the actual turning points in price. Many platforms color the line green when it rises and red when it falls, so the reader focuses on slope changes rather than crossovers.
The formula
Step 1: WMA_half = WMA(price, N / 2)
Step 2: WMA_full = WMA(price, N)
Step 3: Raw = 2 × WMA_half − WMA_full
Step 4: HMA = WMA(Raw, √N)
where
N = the HMA period
WMA = weighted moving average
N / 2 and √N are rounded to whole numbers
The logic works like this. A short WMA is closer to current price than a long WMA. The difference between them shows how far the long average is lagging. Doubling the short average and subtracting the long one adds that lag back, which pushes the raw line toward the latest price. Because that raw line is jumpy, a final WMA over the square root of N smooths it.
Worked example (illustrative numbers). Take N = 16, so N / 2 = 8 and √N = 4. Suppose on a given bar the 8-period WMA is 105 and the 16-period WMA is 102. The raw value is 2 × 105 − 102 = 108. Repeat for each bar to build a raw series, then take a 4-period WMA of the last four raw values. If those were 104, 105, 107 and 108, the HMA is (1 × 104 + 2 × 105 + 3 × 107 + 4 × 108) / 10 = (104 + 210 + 321 + 432) / 10 = 106.7. Notice how the raw value of 108 sits above both input WMAs, which is the lag correction at work.
Default settings
The common default on charting platforms is a period of 9 applied to the close. Hull's own writing used a range of periods depending on timeframe. Typical choices:
| Period | Typical use |
|---|---|
| 9 | Short-term swings |
| 16 to 21 | Short to medium trend |
| 55 | Medium trend on daily charts |
| 100 or more | Longer trend views |
The HMA is built into TradingView. On MetaTrader it is widely available as a custom indicator rather than a standard built-in.
How to read it
The main reading is slope. When the HMA turns upward, the short-term trend has shifted up. When it turns downward, the trend has shifted down. Because the line is smooth, these turns are fairly clear, and the color change many platforms apply makes them obvious.
Price position matters less than with slower averages. The HMA tracks price so tightly that price crosses it often. A single cross does not carry much meaning; a change in the line's direction does.
The distance between price and the HMA is small in most conditions. A wide gap usually appears only after a fast, one-sided move, and it often closes quickly.
HMA vs EMA, SMA and WMA
The HMA is the fastest of the standard averages, but speed comes with trade-offs.
- Compared with the SMA, it has far less lag and turns many bars earlier.
- Compared with the EMA, it is faster and often smoother, because the final WMA step removes the jaggedness the lag correction creates.
- Compared with the WMA it is built from, it adds a projection step that the plain WMA does not have.
The cost is overshoot. Because the HMA adds back the estimated lag, it can run past a turning point and then snap back. The SMA and EMA never do this; they only trail. So the HMA is better at showing turns early and worse at acting as a stable support or resistance level.
Common strategies
Slope change entries
The most common approach is to enter when the HMA changes direction in the direction of a larger trend. For example, in an uptrend defined by a 200-period SMA, a trader waits for the HMA to turn back up after a pullback.
HMA as a trailing exit
Because it follows price closely, the HMA can serve as a trailing exit. A long position is closed when the HMA turns down, and a short position when it turns up.
Two-HMA crossover
A short HMA crossing a longer HMA gives early trend signals. These crossovers are quick but can come in clusters in choppy markets.
Filter for momentum oscillators
Some traders accept overbought or oversold signals from an oscillator only when the HMA slope agrees, which cuts out signals against short-term direction.
Weaknesses
Overshoot is the main issue. After a sharp move, the HMA can extend beyond price and then reverse, producing a false sense of where the trend is heading.
It is very sensitive. The responsiveness that makes it useful also means more frequent slope changes in sideways markets, which can lead to whipsaws.
It is less standard. Fewer traders watch the HMA than the SMA or EMA, so it rarely acts as a shared reference level.
It still depends on a chosen period, and the rounding of N / 2 and √N means small changes in settings can noticeably change the line.
Indicators it pairs with
- A slower SMA or EMA to define the main trend while the HMA times entries.
- ADX, to avoid trading HMA turns when the market lacks a trend.
- RSI or the stochastic oscillator, for momentum context around HMA turns.
- ATR, to set stop distances that allow for normal volatility.
- Supertrend, another quick trend-following tool, used as a second opinion on direction.
The technical analysis course covers how faster and slower trend tools can be combined without doubling up on the same information.
Brokers with strong charting to practice on
Put this into practice on a demo account first, with no money at risk.
- Featured broker
Pepperstone4.7 / 5Visit
IC Markets4.9 / 5Visit
GO Markets4.8 / 5Visit
Frequently asked questions
Who created the Hull moving average?
It was developed by Alan Hull, an Australian trader and author, as a way to make a moving average both smooth and quick to respond.
Why is the HMA faster than other moving averages?
It doubles a half-length weighted average and subtracts a full-length one, which projects the average toward current price. A final short weighted average then smooths the result.
Can the Hull moving average overshoot price?
Yes. Because it is designed to lead rather than trail, it can extend past turning points briefly before correcting, especially after sharp moves.
What is the usual HMA setting?
Many platforms default to a period of 9. Traders also use longer settings such as 16, 20 or 55, depending on the timeframe.
Is the HMA good for crossovers?
Some traders use it that way, but it is more often read by its color or slope change. Its speed means crossovers between two Hull averages can be frequent.