Money & Markets

Moving-Average Crossovers Beat Buy-and-Hold on Crypto, Not Stocks

A 3,100-asset backtest finds moving-average crossovers beat buy-and-hold on crypto (+17.8% median edge for WMA) but trail it on stocks, while cutting drawdowns sharply in both markets.

By Amara Osei

3 min read

EMA vs. SMA vs. WMA: Which Strategy Performs Best?
EMA vs. SMA vs. WMA: Which Strategy Performs Best?geralt / pixabay

What's News

  • Backtest covered 1,500 US equities, 1,500 international equities and 100 cryptocurrencies with 0.1% fees per trade
  • Median crypto CAGRs: +17.9% EMA, +17.7% SMA, +24.5% WMA — all beat buy-and-hold
  • Equity strategies underperformed buy-and-hold by 4.6-5.1 percentage points on CAGR
  • 100% of crypto parameter combinations beat buy-and-hold on maximum drawdown
  • 60 parameter combinations tested per strategy, with data back to January 2006 (equities) and January 2016 (crypto)

By Amara Osei

Moving-average crossover strategies beat buy-and-hold on cryptocurrencies but lose on stocks, according to a backtest by TradingView analyst QuantitativeAlpha covering 1,500 US equities, 1,500 international equities and 100 cryptocurrencies.

The study tested Exponential (EMA), Simple (SMA) and Weighted (WMA) moving averages across 60 parameter combinations — fast lengths from 5 to 50, slow lengths from 10 to 200, with the slow length at least double the fast. It used dividend-adjusted daily returns dating to January 2006 for equities and January 2016 for crypto. Every trade carried a 0.1% fee; each metric was reported as the median across all combinations via the Strategy Sensitivity Matrix (SSM).

What did the return test show?

Across 3,000 equities, median CAGRs came in at +4.1% for EMA, +4.0% for SMA and +3.5% for WMA — but all three underperformed buy-and-hold on a logarithmic basis by −4.6%, −4.7% and −5.1%. Barely any parameter sets won: just 0.0% (EMA), 2.5% (SMA) and 0.8% (WMA) of combinations beat the benchmark.

Crypto flipped the result. Median CAGRs hit +17.9% (EMA), +17.7% (SMA) and +24.5% (WMA), outperforming buy-and-hold by +11.4%, +8.3% and +17.8%. WMA won on consistency too, with 85.8% of combinations beating the benchmark versus 78.3% for EMA and 77.5% for SMA.

The percentile spread was wide. Equity strategies posted 75th percentile CAGRs of +8.5%, +8.0% and +7.8%, still trailing buy-and-hold. Crypto's 75th percentile reached +39.2%, +37.1% and +42.6% — beating buy-and-hold by as much as +37.7 percentage points — while 25th percentile returns ranged from −3.7% (SMA) to +1.8% (WMA).

How did risk-adjusted metrics stack up?

Median Sharpe Ratios ran 0.16, 0.16 and 0.14 across equities, versus 0.21, 0.20 and 0.29 across crypto, with WMA leading the digital assets. Median expectancy per trade was +4.4%, +4.0% and +2.8% on stocks, and +28.0%, +25.6% and +24.4% on crypto. At the 75th percentile, EMA expectancy reached +71.0% per trade on crypto.

Profit factors told the same story. Median figures were 2.0 (EMA), 1.9 (SMA) and 1.7 (WMA) on equities, and 3.8, 3.5 and 3.8 on crypto — climbing to 7.4 for EMA's 75th percentile on digital assets. Win rates stayed below 39% everywhere, meaning profits came from large winners, not frequent ones: 32.9%, 38.7% and 36.1% on equities; 29.5%, 33.3% and 32.4% on crypto.

Where did the strategies actually add value?

Drawdown control was the clearest edge. Median maximum drawdowns of −60.5%, −61.1% and −61.3% on equities still beat buy-and-hold by roughly +40 percentage points, with 94-97% of parameter combinations winning. On crypto, drawdowns of −85.2%, −86.0% and −84.0% outperformed buy-and-hold by +180.5%, +170.4% and +193.6% — and 100% of combinations won.

The Ulcer Index, which squares drawdown depth, showed a split. On equities the strategies only matched buy-and-hold (medians near 32%, with 51-53% of combinations winning). On crypto they dominated: medians of 60.9%, 60.9% and 57.6% beat buy-and-hold by +55-60%, and every parameter combination won.

What does it cost to run these signals?

Turnover separated the three types. WMA churned hardest — 5.2 median annualized position changes on equities and 6.5 on crypto — versus 3.8 and 4.6 for EMA. Exposure ran 56-59% on equities and 37-40% on crypto, meaning the strategies sat in cash most of the time on digital assets.

The verdict, per the study: EMA and SMA led on equities for CAGR and Sharpe; WMA led on crypto for returns, drawdown and Ulcer Index; EMA won on expectancy and profit factor in both markets. QuantitativeAlpha cautions these are aggregate statistics and says investors should run individual tickers through the open-source Strategy Sensitivity Matrix indicator before committing capital.

Source: tradingview.com

Share this article:

More from Amara Osei

Amara Osei

Show full bio

Senior reporter covering companies, deals and strategy in entrepreneurship, startups and venture funding at Business Bearings.

2,370 articles

Related articles

« Previous article