Hull Moving Average: Formula, Lag and How Traders Use It
The Hull Moving Average bridges the gap between curve smoothness and zero lag. Learn how its formula works and how to trade its slope inflections.
This article
8sections 13min
- 01 What You'll Learn, minute 2, about 1 min
- 02 How Does the Hull Moving Average Formula Eliminate Lag?, minute 2, about 2 minAlan Hull designed the HMA to solve the fundamental lag problem inherent in traditional Simple and Exponential Moving Averages without…
- 03 Why Do Traders Use HMA Slope Color Instead of Price Crosses?, minute 4, about 2 minStandard moving average strategies rely on price closing above or below the line. With the HMA, this approach fails because the line hugs…
- 04 Which HMA Settings Work Best for Scalping, Day, and Swing Trading?, minute 6, about 2 minThe ideal lookback period (n) depends entirely on your trading frequency and the noise level of your chosen timeframe.
- 05 How Do You Build a Multi-Timeframe Strategy with the HMA?, minute 8, about 2 minTrading a single HMA on a single timeframe leaves you vulnerable to chop. The most robust way to trade the Hull Moving Average is by…
- 06 Managing HMA Trade Turnover: Why Execution Friction Erodes Your Edge, minute 9, about 2 minBecause the HMA responds swiftly to price turns, responsive lookbacks generate significantly higher trade turnover than lagging SMA or EMA…
- 07 Conclusion, minute 11, about 1 minThe Hull Moving Average bridges the historical divide between smoothing and lag reduction by chaining three weighted moving averages into a…
- 08 Frequently Asked Questions, minute 12, about 1 minThe Hull Moving Average (HMA) is a technical indicator created by Alan Hull that uses a series of Weighted Moving Averages to heavily…
The Hull Moving Average (HMA) is a directional technical indicator that eliminates lag while preserving curve smoothness. Developed by Alan Hull in 2005, it is calculated by subtracting a full-period Weighted Moving Average (WMA) from a doubled half-period WMA, then smoothing the result with a square-root WMA. This projects trend shifts much faster than standard moving averages.

Imagine trying to drive a sports car while looking through a rearview mirror that is delayed by five seconds. That is exactly what trading with a Simple Moving Average (SMA) feels like. By the time the line crosses, the move is often exhausted. You will learn how the Hull Moving Average fixes this fundamental lag problem, the math behind its lightning-fast curve, and how intermediate traders use its slope to catch momentum shifts before the crowd wakes up.
What You'll Learn
- How Does the Hull Moving Average Formula Eliminate Lag?
- Why Do Traders Use HMA Slope Color Instead of Price Crosses?
- Which HMA Settings Work Best for Scalping, Day, and Swing Trading?
- How Do You Build a Multi-Timeframe Strategy with the HMA?
- Managing HMA Trade Turnover: Why Execution Friction Erodes Your Edge
- Frequently Asked Questions
How Does the Hull Moving Average Formula Eliminate Lag?
Alan Hull designed the HMA to solve the fundamental lag problem inherent in traditional Simple and Exponential Moving Averages without adding erratic noise. He achieved this through a clever manipulation of Weighted Moving Averages (WMAs).
The 3-Step Mathematical Derivation
The calculation process works by heavily front-loading recent price data and penalizing older data.
- Calculate the fast WMA: Take an initial WMA with a period of n/2, and double its value: 2 × WMA(n/2).
- Offset the lag: Calculate a second WMA with the full period n, and subtract it from the doubled half-period WMA: (2 × WMA(n/2)) - WMA(n). This net operation projects recent price action forward, artificially cutting the lag to near zero.
- Smooth the curve: Take the resulting, highly responsive series and smooth it by applying a final WMA with a lookback period equal to the integer square root of n: WMA(series, sqrt(n)).
Lag Elimination vs. Curve Overshoot
The mathematical trade-off for this speed is curve overshoot. By aggressively penalizing lag, the HMA will occasionally overshoot the actual price during extreme, sudden volatility spikes. If price rockets upward and immediately retraces, the HMA curve might briefly draw higher than the actual candle wicks before snapping back.
Pro Tip: Because of this overshoot, raw candle-close crossovers are prone to false signals on the HMA. You should not trade it exactly like an SMA.
HMA vs. SMA and EMA Performance Comparison
If you overlay a 50-period SMA, EMA, and HMA on the same chart, the visual difference is striking. The SMA drifts lazily through the center of price action. The EMA tracks closer but still drags during sharp V-shaped recoveries. The HMA, however, hugs the price structure tightly, pivoting almost exactly where the swing highs and lows form.
Why Do Traders Use HMA Slope Color Instead of Price Crosses?
Standard moving average strategies rely on price closing above or below the line. With the HMA, this approach fails because the line hugs the price so closely.

The Whiplash Danger of Raw Price-Crossing Signals
Because the HMA is so responsive, tight consolidations cause the price to crisscross the indicator repeatedly. If you buy every time a candle closes above the HMA and sell when it closes below, a flat market will chop your account to pieces.
Tracking First Derivative Inflections (HMA[t] vs HMA[t-1])
Intermediate traders abandon price crosses entirely. Instead, they analyze the slope's first derivative—the trajectory of the line itself.
An upward turn occurs when today's HMA value is greater than yesterday's (HMA[t] > HMA[t-1]). Most charting platforms automatically color the line green to indicate this bullish slope. A downward turn occurs when the current value is less than the previous value (turning red or bearish).
Constructing Slope-Based Regime Filters
Using this slope inflection as a directional regime filter prevents you from entering counter-trend exhaustion moves.
Example: For illustration, if the ECB EUR/USD Reference Exchange Rate is trending downward at 1.1253 (European Central Bank, as of October 2026), a lagging EMA might still show a bullish cross from an earlier pullback. The HMA slope, however, will have already turned red, keeping you out of a doomed long position.
Slope filters allow you to remain inside established trends until the curve visibly flattens and rolls over. When the slope flatlines and rapidly alternates colors, it is a glaring warning sign to step aside and avoid boredom trading until momentum returns.
Which HMA Settings Work Best for Scalping, Day, and Swing Trading?
The ideal lookback period (n) depends entirely on your trading frequency and the noise level of your chosen timeframe.
Fast Scalping and Micro-Pullbacks (HMA 9 to 16)
For 1-minute and 5-minute charts on highly liquid pairs like EUR/USD or XAU/USD, settings between 9 and 16 are ideal. These ultra-fast settings identify rapid micro-momentum inflections. They are perfectly suited for micro-pullback scalping, giving you an immediate visual cue when a brief retracement has ended and the primary momentum is resuming.
Intraday Trend Filtering (HMA 20 to 55)
Day traders operating on 15-minute and 1-hour charts generally prefer periods between 20 and 55. An HMA 55 on a 15-minute chart is an excellent baseline. It dampens the erratic noise of the session open while cleanly tracking the primary liquidity expansion phase throughout London and New York hours.
Macro Bias and Structural Swings (HMA 100 to 200)
Swing traders apply settings between 100 and 200 to 4-hour and daily charts to establish broader macro structural regimes.
Warning: A sluggish 200-period SMA can take weeks to reflect a true market reversal. Replacing it with a 200-period HMA provides a much more responsive benchmark that still filters out daily noise.
As you increase the lookback period, the HMA's lag remains significantly lower than an equivalent EMA, but its smoothing engine becomes much more robust against intraday fakeouts.
How Do You Build a Multi-Timeframe Strategy with the HMA?
Trading a single HMA on a single timeframe leaves you vulnerable to chop. The most robust way to trade the Hull Moving Average is by chaining two timeframes together.
Higher-Timeframe Directional Anchoring (H1 / H4)
Step one is to anchor your market bias on a higher timeframe. Apply a 55-period HMA to a 1-hour chart. You are only looking at the slope color. If the H1 slope is strictly positive (green), you are only permitted to look for long triggers. If it is negative (red), you are strictly hunting shorts.
Lower-Timeframe Micro-Triggers (M5 / M1)
Step two is drilling down to your execution timeframe, such as the 5-minute chart. Here, you wait for price to pull back against the higher-timeframe trend. You want to see price sweep into key support/resistance or candle range transfer (CRT) levels while the lower-timeframe HMA temporarily turns red.
Invalidation Rules and Range-Bound Filters
Step three is the trigger: you execute your entry only when the lower-timeframe HMA (e.g., a 16-period HMA) flips its slope back to green, realigning with the 1-hour trajectory.

This is similar to break-retest scalping, but the HMA slope provides the mechanical confirmation. If the higher-timeframe HMA flattens out—meaning the slope gradient nears zero—you must invalidate the setup entirely. Avoid directional trades until a decisive expansion phase emerges.
Managing HMA Trade Turnover: Why Execution Friction Erodes Your Edge
Because the HMA responds swiftly to price turns, responsive lookbacks generate significantly higher trade turnover than lagging SMA or EMA systems. You will be entering and exiting the market much more frequently.
The High-Frequency Turnover Paradox
Frequent slope-reversal trading amplifies the impact of bid-ask friction. If you are catching 10-pip swings on a 5-minute chart, losing 1.5 to 2.5 pips in spread markup per trade can mathematically eliminate the edge of your strategy.
Quantifying the Hidden Drain of Spread Markups
Let's look at the math. An entry-level retail account with a $9 commission and a 2.5-pip markup costs roughly $34 all-in per standard lot. If your HMA strategy triggers five trades a day, you are paying $170 daily just to access the market.
Optimizing Account Terms for Fast-Paced Strategies
Traders running high-turnover HMA strategies must ruthlessly optimize their execution costs. Under the NX Flex system, you can strip these costs down:
- NX Pro terms: Choosing a $5 commission and a 0.0 pip markup (the raw market spread still applies) requires a $4,750 minimum net deposit, dropping your all-in cost to just $5 per lot.
- Maximum efficiency: Stepping up to a $0 commission and 0.0 pip markup requires a $6,000 minimum net deposit, driving your broker execution costs to absolute zero (raw market spread applies).
When your indicator generates frequent signals, you cannot afford to pay retail markups on every crossover.
Conclusion
The Hull Moving Average bridges the historical divide between smoothing and lag reduction by chaining three weighted moving averages into a single dynamic curve. For intermediate forex traders, abandoning simple price-cross entries in favor of first-derivative slope inflection tracking unlocks a reliable mechanism for identifying real-time market regimes.
When combined in a multi-timeframe framework, higher-timeframe HMA slopes filter noise while lower-timeframe micro-pullbacks offer pinpoint execution. However, an indicator with zero lag naturally increases trade turnover—making execution costs your primary operational vulnerability. Are your current broker spreads and commissions quietly draining the profits generated by your HMA triggers?
Backtest an HMA 55 slope filter on your primary currency pair, then compare your net returns under standard spreads versus NX Flex raw-spread execution at fxnx.com/en/flex.
Frequently Asked Questions
What is the Hull Moving Average?
The Hull Moving Average (HMA) is a technical indicator created by Alan Hull that uses a series of Weighted Moving Averages to heavily emphasize recent price data. This calculation results in a smooth curve that tracks price action with almost zero lag.
Why does the HMA change colors on my chart?
The color change represents the indicator's slope trajectory. It turns green when the current HMA value is higher than the previous period's value (indicating bullish momentum) and red when the current value is lower (indicating bearish momentum).
Is the Hull Moving Average better than the EMA?
The HMA is faster and tracks recent price changes much closer than an Exponential Moving Average (EMA). However, because it is so responsive, it can overshoot during volatility spikes, making it better suited for slope-direction trading rather than traditional price-crossover strategies.
What are the best HMA settings for day trading?
For 15-minute and 1-hour charts, settings between 20 and 55 periods work best. An HMA 55 provides an excellent balance, smoothing out erratic session-open noise while accurately tracking the primary intraday trend.
Trading CFDs involves risk of loss; better terms do not change market risk.
Contents
