Learn › Strategies › EMA 12/26 Trend › QQQM

EMA 12/26 Trend on QQQM

Invesco NASDAQ 100 ETF: a lower-cost share class of the Nasdaq-100 trade, built for holding. Backtest 2021-01-04 to 2026-10-02, $10,000 starting capital, computed by the same engine that runs live DeployQuant strategies.

Result: EMA 12/26 trend on QQQM turned $10,000 into $15,408 (54.1% total, 7.8% CAGR): it trailed buy-and-hold by 8.9% per year, with a maximum drawdown 10.3 points shallower than holding (24.1% vs 34.4%).
7.8%CAGR
16.7%buy & hold CAGR
−24.1%max drawdown
0.60Sharpe ratio
22round trips
41%win rate
■ EMA 12/26 trend   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

YearEMA 12/26 trendbuy & hold
20213.9%28.5%
2022−17.7%−31.8%
202327.5%53.4%
202414.2%25.3%
202510.9%20.5%
202611.6%22.2%

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%−5.6%0.4%3.0%−5.2%6.2%2.8%4.1%−3.5%3.0%1.9%−2.6%
2022−5.5%0.0%0.7%−4.3%0.0%0.0%4.0%−5.0%−0.8%0.0%0.4%−8.1%
20233.8%−0.4%5.3%0.5%7.6%6.3%3.8%−3.7%−5.3%−1.8%4.1%5.5%
20241.8%5.2%1.3%−2.5%2.5%6.1%−3.5%−0.9%−0.7%−0.8%5.2%0.5%
2025−3.2%−4.3%0.0%0.0%6.5%6.2%2.4%0.9%5.2%4.7%−5.0%−2.0%
20261.2%−3.4%0.0%9.2%10.3%−0.2%−5.7%−0.8%0.3%1.3%––

Every trade

EMA 12/26 trend on QQQM made 22 closed round trips and one position still open at the end of the test, an average hold of 63 days, an average winner of 11.29%, an average loser of −3.91%, a profit factor of 1.92, a longest losing streak of 4. It held a position at the close on 66.9% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-02-10$132.932021-03-03$125.81−5.4%21
2021-04-05$130.122021-05-12$127.28−2.2%37
2021-05-28$132.882021-09-28$145.769.7%123
2021-10-21$149.142021-12-21$153.252.8%61
2021-12-27$159.152022-01-10$149.72−5.9%14
2022-03-25$143.622022-04-14$138.24−3.8%20
2022-07-21$121.322022-09-01$118.86−2.0%42
2022-11-15$117.242022-12-20$107.84−8.0%35
2023-01-18$114.032023-03-13$115.441.2%54
2023-03-16$119.902023-08-15$148.9324.2%152
2023-09-01$153.482023-09-22$145.15−5.4%21
2023-10-17$147.712023-10-20$144.95−1.9%3
2023-11-08$150.742024-04-17$175.5116.4%161
2024-05-09$178.862024-07-26$187.785.0%78
2024-08-21$195.592024-09-06$187.47−4.2%16
2024-09-17$193.802025-01-13$204.535.5%118
2025-01-22$216.032025-02-28$203.62−5.7%37
2025-05-02$198.802025-11-19$244.5523.0%201
2025-12-03$253.662025-12-19$251.05−1.0%16
2025-12-22$254.742026-02-06$246.11−3.4%46
2026-04-13$250.512026-07-17$284.8513.7%95
2026-08-10$297.232026-09-16$291.44−1.9%37
2026-09-21$300.00open–2.9%–

Prices are adjusted for splits and dividends, so they sit below the quotes printed at the time. An open position is marked at the last close.

Largest drawdowns

PeakLow pointDepthDays to lowRecoveredDays to recover
2021-11-192023-01-19−24.1%4262023-07-13175
2024-07-102025-05-06−13.1%3002025-07-0358
2023-07-182023-11-09−11.6%1142024-01-1971

Buy-and-hold's deepest drawdown ran from 2021-12-27 to 2022-11-03 and reached −34.4%.

With trading costs

The headline run fills at the bar price. These runs charge slippage on every fill.

Slippage per fillCAGRMax drawdownFinal valueSharpe
None (headline)7.8%−24.1%$15,4080.60
5 basis points7.6%−24.4%$15,2100.58
10 basis points7.1%−24.8%$14,8540.56

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules7.8%−24.1%2241%$15,408
EMA 8/218.6%−25.1%3234%$16,014
EMA 20/507.1%−24.4%1354%$14,819
EMA 12/5011.4%−17.4%1457%$18,578

How QQQM behaved

MeasureQQQM
Data in this test2021-01-04 to 2026-10-02 (1444 sessions)
Total return, buy and hold151.5%
Annualized volatility22.3%
Deepest drawdown−35.1% (2021-12-27 to 2022-11-03)
Up days54.9%
Average daily range1.55%
Average overnight gap0.60%
Correlation to SPY0.94
Correlation to QQQ1.00
Correlation to TLT0.09
Sessions above the 200-day average75.2%
Crossings of the 200-day average20
Falls of 10% or more from a 20-day high21

The rules

Hold while the 12-day exponential average is above the 26-day, the core of the MACD used as a position switch.

  1. WHEN the market opens · IF not invested AND EMA(12) > EMA(26) · THEN buy with 98% of the sleeve
  2. WHEN the market opens · IF invested AND EMA(12) < EMA(26) · THEN sell the whole position

The 12/26 exponential moving average pair is the core of the MACD indicator. Exponential averages weight recent days more than simple averages, so this crossover reacts faster than an SMA pair of the same length. Used as a long/flat switch, it gives you a position you can hold and measure.

Good for: traders who like MACD logic but want it expressed as a simple, testable long/flat rule.
Watch out: faster reaction means more trades and more whipsaws than a 50/200 cross; check the trade count on each backtest page.

Run EMA 12/26 trend on QQQM yourself, free →

Build it from blocks (or type it in English), backtest it on 5.7 years of minute data in seconds, tweak any parameter, then paper trade it on live data. No card, no broker needed to start.

Frequently asked questions

Did EMA 12/26 trend beat buy-and-hold on QQQM?

Over 2021-01-04 to 2026-10-02, EMA 12/26 trend on QQQM returned 7.8% annualized vs 16.7% for buy-and-hold: it trailed buy-and-hold by 8.9% per year, with a maximum drawdown 10.3 points shallower than holding (24.1% vs 34.4%).

How many trades did it make?

22 completed round trips over 5.7 years (45 fills), with 41% of round trips closing profitably.

Is this the same as trading MACD signals?

It uses the MACD's underlying trend component. Classic MACD trades the signal-line crossover of the 12/26 spread. This template trades the spread's sign directly, which is simpler and can be built fully in blocks.

Related

EMA 12/26 Trend on all 59 ETFsfull results table All strategies on QQQM12 templates compared RSI(14) Mean Reversion on QQQMsame ETF, different rulesRSI(2) Dip Snapback on QQQMsame ETF, different rules

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.