Trend / moving average
Hull Moving Average (HMA)
A moving average that's both fast and smooth, low lag, little noise.
What is Hull Moving Average (HMA)?
The Hull Moving Average (HMA), developed by Alan Hull, is a moving average designed to reduce lag while staying smooth. It reacts to price faster than a standard MA without the choppiness that usually comes with speed.
How it works
The HMA uses weighted moving averages and a square-root length to cut lag dramatically. Traders read trend from its slope (turning up = bullish) and use crossovers between price and the HMA, or two HMAs, as signals. Its responsiveness makes it popular for trend entries and trailing.
How traders use it
- ▸Slope: a turning HMA signals a trend change early.
- ▸Crossovers: price vs HMA, or fast vs slow HMA.
- ▸Trailing reference: ride trends along the HMA.
- ▸Filter: define bias for other entries.
Build Hull Moving Average (HMA) without code in Algovex
The Hull Moving Average is a node in Algovex, build slope or crossover rules, backtest, and export. No code required.
Key parameters
| Parameter | What it does |
|---|---|
| length | Lookback period (commonly 9–21). |
| source | Price input, usually close. |
Frequently asked questions
Is the Hull Moving Average better than the EMA?
The HMA reacts faster than an EMA with less lag and stays smooth, which many trend traders prefer, but faster averages can also flip more in chop. Backtest both on your market in Algovex.