HMA Crossover
Low-lag Hull moving averages with optional long/short signals.
At a glance
What the backtest shows
- Beat buy-and-hold on 3 of 10 markets by annual return over 5 years.
- Had a smaller maximum drawdown than buy-and-hold on 8 of 10 markets.
- Best market by Sharpe ratio: DBC (Sharpe 0.79, CAGR 10.6%).
- Weakest market: EURUSD=X (Sharpe -0.40, CAGR -2.3%).
Equity curve
Score and risk profile
Each bar is a percentile against every strategy on the same market and window (100 = best).
How it held up in sell-offs (SPY)
| Period | Strategy | Buy & hold |
|---|---|---|
| Q4 2018 sell-off | -4.9% | -19.2% |
| COVID crash (Feb–Mar 2020) | -9.7% | -33.7% |
| 2022 bear market | -15.8% | -24.5% |
| Market above its 200-day average (annualized) · 81% | +2.8% | +12.5% |
| Market below its 200-day average (annualized) · 19% | -3.9% | +19.8% |
Sell-off dates follow the US stock market. Above/below the 200-day average uses the previous day's position, so there is no look-ahead.
Out-of-sample check (SPY)
| Check | Value |
|---|---|
| Chosen parameters on their 3-year training windows (average Sharpe) | 0.65 |
| Same parameters in the following 6 months, when traded (Sharpe) | 0.37 |
| Default parameters over the same months (Sharpe) | 0.60 |
| Parameter re-selections / changes | 28 / 16 |
| Parameter settings with a positive Sharpe (full history) | 9 of 9 |
| Sharpe across settings: worst / median / best | 0.37 / 0.41 / 0.45 |
Out-of-sample periods start on 2013-01-04. Training-window figures are flattered by picking the best of 9 settings; the out-of-sample figure is what the strategy actually earned. A large drop, or a result that depends on one setting, points to overfitting. How walk-forward testing works.
Results by market (5 years)
| Market | CAGR | Buy & hold CAGR | Sharpe | Max drawdown | Buy & hold max DD | Volatility | Arena Score |
|---|---|---|---|---|---|---|---|
| DBCInvesco DB Commodity Index | 10.6% | 10.8% | 0.79 | -18.8% | -27.3% | 14.0% | 87 |
| GLDSPDR Gold Shares | 10.4% | 16.4% | 0.78 | -20.4% | -28.3% | 14.3% | 62 |
| SLViShares Silver Trust | 12.7% | 15.2% | 0.58 | -49.4% | -57.8% | 28.8% | 63 |
| DBAInvesco DB Agriculture | 3.0% | 8.8% | 0.35 | -21.4% | -15.9% | 9.9% | 45 |
| BTC-USDBitcoin | 5.8% | 2.6% | 0.26 | -51.2% | -75.9% | 28.0% | 53 |
| ETH-USDEthereum | 2.0% | -15.1% | 0.22 | -59.8% | -79.0% | 38.0% | 66 |
| USOUnited States Oil Fund | 2.6% | 20.2% | 0.21 | -56.0% | -36.2% | 28.2% | 36 |
| SPYSPDR S&P 500 | 0.3% | 11.6% | 0.06 | -20.9% | -24.5% | 10.6% | 22 |
| UNGUnited States Natural Gas | -16.3% | -30.7% | -0.14 | -81.1% | -93.3% | 47.0% | 42 |
| EURUSD=XEUR/USD | -2.3% | -0.7% | -0.40 | -14.5% | -17.2% | 5.3% | 20 |
Strategy metrics use daily returns without trading costs. Buy-and-hold figures are for the same market and window. Rows are sorted by Sharpe ratio.
SPY across time windows
Rules
Entry
HMA fast > HMA slow: long HMA fast < HMA slow: short
Exit
Crossover flip
Indicators
HMA Fast HMA Slow
Inputs
Fast_Period = 9 Slow_Period = 21
Strategy evidence
- BTC-USD · Inspect evidence 2026-11-10
- DBA · Inspect evidence 2026-11-10
- DBC · Inspect evidence 2026-11-10
- ETH-USD · Inspect evidence 2026-11-10
- EURUSD=X · Inspect evidence 2026-11-10
- GLD · Inspect evidence 2026-11-10
- SLV · Inspect evidence 2026-11-10
- SPY · Inspect evidence 2026-11-10
- UNG · Inspect evidence 2026-11-10
- USO · Inspect evidence 2026-11-10
Only available, validated bundles appear below. Missing evidence is not a passing validation result.
Evidence coverage
10 / 10 declared strategy–market pairs validated
Notes
- Long-only by default; set allow_short to enable shorts.
Related strategies
Embed this score
Add the live badge to a blog post, README or forum signature. It updates with the daily data.
<a href="https://quantarenas.com/strategy/hma-01-hma-crossover/"><img src="https://quantarenas.com/badge/hma-01-hma-crossover.svg" alt="HMA Crossover Arena Score on Quant Arena" height="20"></a>
[](https://quantarenas.com/strategy/hma-01-hma-crossover/)
Backtests are historical simulations on daily data and do not include commissions or slippage. They do not guarantee future results and are not investment advice. See the methodology for how every strategy is tested.