Learn › Strategies › EMA 12/26 Trend › QQQE

EMA 12/26 Trend on QQQE

Direxion NASDAQ-100 Equal Weighted Index Shares: the Nasdaq-100 with every stock weighted equally, so less mega-cap concentration. 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 QQQE turned $10,000 into $11,120 (11.2% total, 1.9% CAGR): it trailed buy-and-hold by 8.0% per year, with a maximum drawdown 11.3 points shallower than holding (20.1% vs 31.4%).
1.9%CAGR
9.8%buy & hold CAGR
−20.1%max drawdown
0.21Sharpe ratio
25round trips
36%win rate
■ EMA 12/26 trend   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

YearEMA 12/26 trendbuy & hold
2021−6.4%19.2%
2022−12.5%−23.9%
202320.3%32.8%
2024−0.6%6.8%
20252.7%14.3%
202610.6%18.8%

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%−4.7%−2.4%0.8%−4.6%5.0%1.7%2.4%−1.8%1.3%−1.6%−2.4%
2022−3.7%0.0%0.8%−4.2%0.0%0.0%2.9%−3.4%0.0%0.0%−0.0%−5.2%
20234.7%−1.1%3.0%−2.2%1.3%5.4%4.8%−4.7%−1.9%0.0%2.8%7.4%
20240.6%3.7%1.1%−2.1%−0.5%2.5%−2.0%−0.4%−2.6%−1.2%6.0%−5.1%
20250.3%−1.2%−1.7%0.0%5.1%4.9%0.1%−2.7%1.3%1.9%−3.7%−1.4%
20261.5%−2.5%0.0%5.6%8.7%2.4%−3.5%1.7%−4.0%1.0%––

Every trade

EMA 12/26 trend on QQQE made 25 closed round trips and one position still open at the end of the test, an average hold of 51 days, an average winner of 6.49%, an average loser of −2.77%, a profit factor of 1.26, a longest losing streak of 6. It held a position at the close on 61.0% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-02-10$74.222021-03-04$68.94−7.1%22
2021-04-05$73.352021-05-11$70.53−3.8%36
2021-05-28$73.942021-09-23$79.607.7%118
2021-10-21$80.212021-12-02$78.71−1.9%42
2021-12-28$82.992022-01-07$79.09−4.7%10
2022-03-25$74.072022-04-18$71.42−3.6%24
2022-07-21$65.472022-08-31$65.09−0.6%41
2022-11-02$62.062022-11-04$60.16−3.1%2
2022-11-11$64.402022-12-22$62.84−2.4%41
2023-01-13$64.902023-03-10$66.352.2%56
2023-03-28$67.702023-05-04$67.950.4%37
2023-05-16$69.142023-08-16$74.988.4%92
2023-09-06$76.162023-09-19$74.70−1.9%13
2023-11-14$75.052024-04-11$85.8314.4%149
2024-05-14$85.782024-07-26$85.67−0.1%73
2024-08-22$88.682024-09-09$84.51−4.7%18
2024-09-17$87.612024-12-20$88.501.0%94
2025-01-23$92.782025-03-04$90.36−2.6%40
2025-05-02$88.202025-08-12$96.859.8%102
2025-08-14$97.802025-08-21$96.30−1.5%7
2025-08-29$97.732025-09-02$95.87−1.9%4
2025-09-12$98.322025-11-14$99.130.8%63
2025-12-04$103.312026-02-06$100.78−2.5%64
2026-04-15$103.342026-07-21$117.4813.7%97
2026-08-06$119.632026-09-10$117.41−1.9%35
2026-09-30$120.83open–0.4%–

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-02-122023-01-19−20.1%7062024-02-08385
2024-07-162025-05-06−11.7%2942025-07-2580
2025-07-282026-02-05−8.2%1922026-05-0690

Buy-and-hold's deepest drawdown ran from 2021-11-16 to 2022-10-14 and reached −31.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)1.9%−20.1%$11,1200.21
5 basis points1.4%−20.8%$10,8510.18
10 basis points1.0%−21.5%$10,5780.14

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules1.9%−20.1%2536%$11,120
EMA 8/214.4%−22.6%3043%$12,809
EMA 20/50−0.6%−26.2%1638%$9,655
EMA 12/502.9%−21.4%1942%$11,771

How QQQE behaved

MeasureQQQE
Data in this test2021-01-04 to 2026-10-02 (1444 sessions)
Total return, buy and hold76.6%
Annualized volatility20.2%
Deepest drawdown−32.1% (2021-11-16 to 2022-10-14)
Up days52.0%
Average daily range1.35%
Average overnight gap0.53%
Correlation to SPY0.94
Correlation to QQQ0.95
Correlation to TLT0.12
Sessions above the 200-day average74.5%
Crossings of the 200-day average30
Falls of 10% or more from a 20-day high23

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 QQQE 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 QQQE?

Over 2021-01-04 to 2026-10-02, EMA 12/26 trend on QQQE returned 1.9% annualized vs 9.8% for buy-and-hold: it trailed buy-and-hold by 8.0% per year, with a maximum drawdown 11.3 points shallower than holding (20.1% vs 31.4%).

How many trades did it make?

25 completed round trips over 5.7 years (51 fills), with 36% 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 QQQE12 templates compared RSI(14) Mean Reversion on QQQEsame ETF, different rulesRSI(2) Dip Snapback on QQQEsame 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.