Learn › Glossary › Moving Average Crossover

Moving Average Crossover

A signal generated when a faster moving average crosses a slower one — up-cross to enter, down-cross to exit. The window pair sets the personality: 10/50 catches multi-week swings with frequent whipsaws, 50/200 catches multi-year regimes with heavy lag. Crossovers are self-correcting (a wrong signal eventually reverses) but always late by construction.

A moving average crossover is a trading signal built from two averages of the same price series. One average uses a short window and one uses a long window. When the short average rises above the long one, the rule treats the market as trending up and buys. When it falls back below, the rule sells. The only choices are the type of average and the two window lengths.

The short average follows price closely and the long average follows it slowly. A crossing means recent prices have moved far enough from the longer-term level to pull the fast line through the slow one. Because both lines are built from past closes, the signal confirms a move after it has started. That delay is the main cost of the method and also the reason it works as a filter.

The common variants differ mainly in how many trades the choice of windows produces. One version, the SMA 10/50 trend, was run on 59 ETFs between 2021-01-04 and 2026-10-02, and all figures here come from backtests with $10,000 per run and no fees in the headline numbers. They are hypothetical.

SMA 10/50 Trend across 59 ETFs

Median CAGR 2.1%, median max drawdown −23.0%, ahead of buy-and-hold on 21 of 59 (2021-01-04 to 2026-10-02).

ETFCAGRBuy & holdMax DDRound trips
QLD18.8%23.6%−32.3%19
SOXL18.2%33.3%−72.2%17
TECL18.0%38.2%−62.4%17
TQQQ17.3%25.4%−53.3%20
CLSE16.6%19.5%−9.3%12
SQQQ−21.1%−42.3%−79.9%18
EEV−24.4%−16.1%−81.3%24
TECS−27.1%−46.7%−87.2%21
UVXY−38.0%−48.7%−94.0%16
SOXS−49.0%−48.3%−97.9%19

The five strongest and five weakest results. All 59.

What the 10/50 results show

The snapshot table above lists the five strongest and five weakest ETFs for the SMA 10/50 trend. Across all 59, the rule had a median CAGR of 2.12%, a median maximum drawdown of 23.02% and a median Sharpe ratio of 0.35. It was invested 57.6% of the time at the median and made 17 round trips. It finished ahead of buy-and-hold on 21 of 59 funds, had a shallower drawdown on 52, and had a positive CAGR on 41.

That mix describes a filter that cut risk more than it added return. Most of the time the rule lost some return against holding, since it sat out part of every rise, and it avoided part of every decline. The strongest results were leveraged funds: QLD at 18.76%, SOXL at 18.19%, TECL at 17.97% and TQQQ at 17.3%. Each trailed buy-and-hold on the same fund, which returned 23.55%, 33.32%, 38.16% and 25.35%. The drawdowns were also deep, 72.23% on SOXL and 62.42% on TECL.

The best risk profile in the list was CLSE, at 16.61% with a 9.33% drawdown and a win rate of 75%, against 19.49% for buy-and-hold. Its exposure was 72.5%. The weakest results were inverse and volatility funds, with SOXS at -48.95% and UVXY at -38.04%. On UVXY the rule won 6% of its trades and held a position only 19.7% of the time. Several of the weak funds still finished ahead of buy-and-hold. On SQQQ the rule lost 21.12% a year against 42.33% for holding, and on TECS 27.05% against 46.67%. A crossover cannot make a falling fund profitable, but it can spend less time in it.

By category, the rule beat buy-and-hold on 8 of 11 inverse funds, 6 of 7 bond funds, 3 of 3 volatility products and 2 of 3 currency funds. It beat buy-and-hold on 2 of 10 leveraged funds and on none of the 12 broad index funds, 6 sector funds, 6 alternative-strategy funds or the single commodity fund. The pattern is consistent: where the fund lost money, being out of the market helped, and where it rose, being out of the market cost return.

How the signal is computed

A simple moving average, covered on the SMA glossary page, is the arithmetic mean of the last N closes. An exponential average, covered on the EMA page, gives recent closes more weight, so it reacts sooner than a simple average of the same length. A crossover rule picks one type and two lengths, such as 10 and 50 days, and compares the two values each day.

The comparison gives a state, not an event. The rule is long while the fast average sits above the slow one and flat while it sits below. Either way the position is a function of the two lines on the current day, so the rule has no memory of the entry price and no profit target. A rule written this way needs only two conditions. In the SMA 10/50 template they read: if not invested and SMA(10) is above SMA(50), buy with 98% of the sleeve at the open, and if invested and SMA(10) is below SMA(50), sell the whole position.

The glossary definition puts the trade-off in one line: crossovers are self-correcting, since a wrong signal eventually reverses, and always late by construction. The first half means that a bad entry ends by itself when the lines cross back. The second half means that the entry and the exit both come after the price has already moved.

Window pairs and what they catch

The pair of lengths sets how the rule behaves. A 10/50 pair catches swings measured in weeks and produces frequent whipsaws. A 50/200 pair, the golden cross, catches multi-year regimes and reacts with heavy lag. The 12/26 exponential pair is the core of the MACD indicator, and an exponential pair reacts faster than a simple pair of the same length at the cost of more false signals in choppy markets.

The backtests in this library show the effect in trade counts. The golden cross had a median of 3 round trips across the 59 ETFs and a median CAGR of 2.05%. The SMA 10/50 trend had a median of 17 round trips and a median CAGR of 2.12%. The EMA 12/26 trend had 22 round trips and 2.76%. The 200-day regime filter, which compares price with one average instead of two, had 18 round trips and 1.84%. The medians of CAGR are close to each other. The trade counts are not, and a faster pair does not earn more in proportion to its extra trades.

The variants of the 10/50 rule on the same 59 ETFs confirm that the result is not tied to one pair. SMA 5/50 had a median CAGR of 2.05%, a median maximum drawdown of 20.2% and 23 round trips. SMA 20/50 had 1.03%, 28.72% and 15 round trips. SMA 10/100 had 0.72%, 27.28% and 10 round trips. The base 10/50 had 2.12%, 23.02% and 17 round trips. Within this window the slowest slow-line did worst on return, and the fastest fast-line had the shallowest median drawdown.

Why the signal is late

A crossover needs a move before it can fire. The long average is built from many days, so it changes slowly, and the short average has to climb over it. On a fund that rises steadily the cross happens early in the climb and the rule catches most of it. On a fund that falls and rebounds sharply, the cross arrives after the rebound has begun and the sale arrives after the fall has begun.

The calendar-year medians show this lag. Across the 59 funds the SMA 10/50 rule had a median return of 1.8% in 2021, -9.3% in 2022, 7% in 2023, 1.3% in 2024, 5.3% in 2025 and 2.7% in 2026 to date. Buy-and-hold had 4.1%, -12.7%, 8.9%, 9.7%, 11.1% and 3.7%. The rule trailed in five of the six years and led in 2022, the only year both medians were deeply negative. In 2022 the rule's median loss was smaller than the fund's. In 2024 and 2025 the difference was large in the other direction: 1.3% against 9.7%, and 5.3% against 11.1%.

The number of ETFs with a positive result in each year was 33 in 2021, 16 in 2022, 42 in 2023, 33 in 2024, 39 in 2025 and 33 in 2026. Only 16 of 59 finished 2022 with a positive return, which says how broad that decline was and how many crossovers could not escape it.

A crossover does better when trends persist for weeks and worse when prices jump and reverse within days. The lag-1 autocorrelation of daily returns on SPY was -0.02, on QQQ -0.04, on TLT -0.05 and on UVXY -0.05, so no fund in the sample had day-to-day momentum. Crossovers rely on multi-week persistence, which daily autocorrelation does not measure, and the results above are the only evidence in this data on how often it appeared.

Whipsaws and trade counts

A whipsaw is a signal that reverses almost at once: the fast line crosses up, the fund drops back, and the rule sells at a small loss. Each one costs little. They add up in flat markets, since the two lines sit close together and cross repeatedly. The strategy's own notes say several false signals a year are normal, and each whipsaw costs a small loss.

The count of crossings of a fund's 200-day line shows which funds invite them. Over 1,444 sessions, price crossed its 200-day average 30 times on SPY, 20 on QQQ, 28 on TQQQ and 34 on IWM. On TLT it crossed 95 times and on UVXY 24 times. TLT was above its 200-day average on 35.18% of sessions, SPY on 77.99%, QQQ on 75.18%, TQQQ on 69.48%, IWM on 63.29% and UVXY on 4.18%.

SPY and QQQ spent most of the window above the long line and crossed it rarely, which is the setting where a trend rule holds a position for long stretches. TLT crossed its line 95 times in the same window while spending most of the time below it. That count is the signature of a falling fund with repeated rallies, where each rally triggers an entry and each failure triggers an exit. UVXY spent only 4.18% of sessions above the line, so a rule that needs price above its average rarely had a reason to hold it.

Whipsaws are the cost of the insurance a trend rule offers against large declines. A wider threshold, a slower average, or a gap between entry and exit levels reduces them at the price of later signals. The 3-month momentum template uses the last of these, entering above +5% and exiting below 0%. A crossover has no such gap, because the same crossing triggers both the entry and the exit.

The same idea on six market examples

Six funds in the data show how the market itself sets the stage for a crossover. SPY returned 15.2% a year with a 24.51% maximum drawdown and annualized volatility of 16.41%. It rose on 54.4% of days. QQQ returned 17.39% a year with a 35% drawdown and 22.39% volatility. These are rising funds, and a crossover rule on them spends most of its time long, behaving close to buy-and-hold with a lower drawdown.

TLT returned -8.64% a year with a 44.06% drawdown, and it rose on 49% of days. A crossover on it is a way to avoid some of a long decline. IWM returned 8.03% a year with a 31.92% drawdown and 22.35% volatility, a middle case between the two. TQQQ returned 26.86% a year with a drawdown of 81.68% and volatility of 67.11%, and its 2022 return was -79.07% against 198.32% in 2023. A rule with a lag on a fund that moves like that can miss a good share of both the fall and the recovery.

UVXY returned -72.83% a year with a 99.95% drawdown and volatility of 103.95%. It rose on 40.26% of days and spent 4.18% of sessions above its 200-day average. On a fund like this a crossover spends most of the time in cash and is wrong most of the time when it buys. The 10/50 rule on UVXY returned -38.04% against -48.74% for buy-and-hold.

The buy-and-hold results for the same funds give the baseline the rules are measured against. SPY returned 14.56% a year with a 23.99% drawdown in the buy-and-hold run, QQQ 16.7% with 34.23%, TLT -8.23% with 42.77%, TQQQ 25.35% with 80.77%, IWM 7.5% with 31.34% and UVXY -48.74% with 98.42%. Those figures put 98% of the account in at the first open, as the templates do.

What the test covers

Every number above comes from one window of 5.74 years, 2021-01-04 to 2026-10-02, with daily decisions, no margin and no fees or slippage in the headline run. The window includes the 2022 decline and the strong years of 2023 to 2025, which favour different rules. The results for each fund come from a single run.

Crossover rules have two sources of error that the test does not remove. The first is the choice of windows. The variants of SMA 5/50, 20/50 and 10/100 give an idea of the spread, but they come from the same data. The second is the number of trades. A median of 17 round trips per fund is a small sample on any one fund, and results for funds with fewer trades depend on a few entries.

DeployQuant runs these templates as rules a user can read and edit, and the windows in the 10/50 template are parameters that can be changed. The strategy page lists the result for each fund, and the strategy index lists all 12 templates.

Frequently asked questions

What is a moving average crossover?

It is a signal from two moving averages of one price series. The rule buys when the faster average rises above the slower one and sells when it falls back below. The window lengths decide how fast it reacts.

What is the difference between a 10/50 and a 50/200 crossover?

A 10/50 pair reacts within weeks and trades more often. A 50/200 pair, the [golden cross](/learn/strategies/golden-cross/), reacts to multi-year regimes with heavy lag. The medians across 59 ETFs were 17 round trips for the SMA 10/50 trend and 3 for the golden cross.

Does a moving average crossover beat buy-and-hold?

Not often in this data. The SMA 10/50 trend finished ahead of buy-and-hold on 21 of 59 ETFs and had a shallower drawdown on 52. The median CAGR was 2.12%. It helped most on inverse and bond funds and least on broad index funds.

What is a whipsaw?

A whipsaw is a crossover signal that reverses quickly, so the rule enters, the move fades and the exit fires at a small loss. They are most common in flat markets. See the [whipsaw glossary entry](/learn/glossary/whipsaw/).

Is an EMA crossover better than an SMA crossover?

An exponential average reacts faster, which means earlier signals and more false ones. The EMA 12/26 trend had a median CAGR of 2.76% and 22 round trips across 59 ETFs. The SMA 10/50 trend had 2.12% and 17. One window cannot settle which is better.

Which funds does a crossover suit?

It suits funds that trend for weeks, such as QQQ or leveraged index funds. SPY stayed above its 200-day average on 77.99% of sessions. A fund like TLT crossed its 200-day average 95 times, which is the setting where a crossover whipsaws.

Can I change the window lengths?

Yes. Both windows in the 10/50 template are editable parameters in DeployQuant. The variants SMA 5/50, 20/50 and 10/100 are measured on the [strategy page](/learn/strategies/sma-10-50-trend/).

See it in action: SMA 10/50 Trend →

Backtested on 59 ETFs over 5.7 years with real engine results and a buy-and-hold comparison on every page.

Related terms

SMA (Simple Moving Average)The arithmetic average of the last N closing prices, recalculated each…EMA (Exponential Moving Average)A moving average that weights recent prices more heavily, using an exp…WhipsawA quick false signal: a strategy enters on a crossover or breakout, th…

Backtests are hypothetical, computed by DeployQuant's engine on minute-resolution consolidated US market data (2021-01-04 to 2026-10-02, $10,000 starting capital, no margin, no fees or slippage in the headline run; buy-and-hold puts 98% of the account in at the first open, as the templates do) and do not guarantee future results. Nothing on this page is investment advice. Live trading involves risk of loss.