The rules
- Hull moving average: HMA(n) is the weighted moving average, over √n days, of 2 × WMA(n/2) − WMA(n), on daily closes; here n = 21 and 55, the same HMA as on FreeCharting.
- Direction: up when today’s HMA is above yesterday’s, down when below. Days in direction counts how long it has kept that direction.
- Turn: the HMA 21 changed direction in the last 3 days after at least 3 days the other way, so one-day wobbles are left out.
About this setup
- What it is
- The Hull moving average, designed by Alan Hull, combines weighted moving averages so that it follows price closely, with less lag than a simple or exponential average of the same length, while staying fairly smooth.
- How traders use it
- Traders often read the slope of the HMA as the trend: a turn up as a possible entry and a turn down as an exit. A longer HMA is commonly used as a filter, taking only turns in its direction.
- Caveats
- Less lag also means more reaction to noise: the HMA can overshoot price, and turns can reverse within days in choppy markets. Like any moving average it describes past prices and does not predict them.
Calculated in your browser from daily candles; crypto’s daily candle is still forming until 00:00 UTC, so today’s values can change. Not investment advice.
Frequently asked questions
Which markets can it scan?
Four, picked with the Market buttons above the table. Crypto (the default) scans the 250 busiest USDT pairs on Binance. Crypto perps scans the 200 busiest USDT perpetual futures on OKX. Both are free public data and need no key. US stocks scans about 600 US stocks and ETFs with your own free Alpaca key, and CME futures scans about 25 front-month CME Group contracts (stock indexes, Treasuries, oil, gas, metals, grains, livestock, currencies and CME bitcoin) with your own free Massive key.
Why do stocks and futures need a key?
Stock and futures prices are licensed data, so a website can’t hand them out for free. Alpaca (for stocks) and Massive (for futures) give anyone a free data key. Your key is saved only in your browser and sent only to that provider. See how to get a free Alpaca key and how to get a free Massive key for futures.
Is the data real-time?
Crypto and crypto perps are live from Binance and OKX, on daily candles that start at 00:00 UTC (today’s candle is still forming). Alpaca’s free stock data is 15 minutes behind the market, and Massive’s free futures plan is 8 hours delayed. Turn on auto-refresh next to the results to update the table in place every 30 seconds, minute or 5 minutes.