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.
Year by year
| Year | EMA 12/26 trend | buy & hold |
|---|---|---|
| 2021 | 3.9% | 28.5% |
| 2022 | −17.7% | −31.8% |
| 2023 | 27.5% | 53.4% |
| 2024 | 14.2% | 25.3% |
| 2025 | 10.9% | 20.5% |
| 2026 | 11.6% | 22.2% |
Month by month
| Year | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2021 | 0.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% |
| 2023 | 3.8% | −0.4% | 5.3% | 0.5% | 7.6% | 6.3% | 3.8% | −3.7% | −5.3% | −1.8% | 4.1% | 5.5% |
| 2024 | 1.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% |
| 2026 | 1.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.
| Entry | Entry price | Exit | Exit price | Return | Days held |
|---|---|---|---|---|---|
| 2021-02-10 | $132.93 | 2021-03-03 | $125.81 | −5.4% | 21 |
| 2021-04-05 | $130.12 | 2021-05-12 | $127.28 | −2.2% | 37 |
| 2021-05-28 | $132.88 | 2021-09-28 | $145.76 | 9.7% | 123 |
| 2021-10-21 | $149.14 | 2021-12-21 | $153.25 | 2.8% | 61 |
| 2021-12-27 | $159.15 | 2022-01-10 | $149.72 | −5.9% | 14 |
| 2022-03-25 | $143.62 | 2022-04-14 | $138.24 | −3.8% | 20 |
| 2022-07-21 | $121.32 | 2022-09-01 | $118.86 | −2.0% | 42 |
| 2022-11-15 | $117.24 | 2022-12-20 | $107.84 | −8.0% | 35 |
| 2023-01-18 | $114.03 | 2023-03-13 | $115.44 | 1.2% | 54 |
| 2023-03-16 | $119.90 | 2023-08-15 | $148.93 | 24.2% | 152 |
| 2023-09-01 | $153.48 | 2023-09-22 | $145.15 | −5.4% | 21 |
| 2023-10-17 | $147.71 | 2023-10-20 | $144.95 | −1.9% | 3 |
| 2023-11-08 | $150.74 | 2024-04-17 | $175.51 | 16.4% | 161 |
| 2024-05-09 | $178.86 | 2024-07-26 | $187.78 | 5.0% | 78 |
| 2024-08-21 | $195.59 | 2024-09-06 | $187.47 | −4.2% | 16 |
| 2024-09-17 | $193.80 | 2025-01-13 | $204.53 | 5.5% | 118 |
| 2025-01-22 | $216.03 | 2025-02-28 | $203.62 | −5.7% | 37 |
| 2025-05-02 | $198.80 | 2025-11-19 | $244.55 | 23.0% | 201 |
| 2025-12-03 | $253.66 | 2025-12-19 | $251.05 | −1.0% | 16 |
| 2025-12-22 | $254.74 | 2026-02-06 | $246.11 | −3.4% | 46 |
| 2026-04-13 | $250.51 | 2026-07-17 | $284.85 | 13.7% | 95 |
| 2026-08-10 | $297.23 | 2026-09-16 | $291.44 | −1.9% | 37 |
| 2026-09-21 | $300.00 | open | – | 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
| Peak | Low point | Depth | Days to low | Recovered | Days to recover |
|---|---|---|---|---|---|
| 2021-11-19 | 2023-01-19 | −24.1% | 426 | 2023-07-13 | 175 |
| 2024-07-10 | 2025-05-06 | −13.1% | 300 | 2025-07-03 | 58 |
| 2023-07-18 | 2023-11-09 | −11.6% | 114 | 2024-01-19 | 71 |
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 fill | CAGR | Max drawdown | Final value | Sharpe |
|---|---|---|---|---|
| None (headline) | 7.8% | −24.1% | $15,408 | 0.60 |
| 5 basis points | 7.6% | −24.4% | $15,210 | 0.58 |
| 10 basis points | 7.1% | −24.8% | $14,854 | 0.56 |
Changing the parameters
| Version | CAGR | Max drawdown | Round trips | Win rate | Final value |
|---|---|---|---|---|---|
| Published rules | 7.8% | −24.1% | 22 | 41% | $15,408 |
| EMA 8/21 | 8.6% | −25.1% | 32 | 34% | $16,014 |
| EMA 20/50 | 7.1% | −24.4% | 13 | 54% | $14,819 |
| EMA 12/50 | 11.4% | −17.4% | 14 | 57% | $18,578 |
How QQQM behaved
| Measure | QQQM |
|---|---|
| Data in this test | 2021-01-04 to 2026-10-02 (1444 sessions) |
| Total return, buy and hold | 151.5% |
| Annualized volatility | 22.3% |
| Deepest drawdown | −35.1% (2021-12-27 to 2022-11-03) |
| Up days | 54.9% |
| Average daily range | 1.55% |
| Average overnight gap | 0.60% |
| Correlation to SPY | 0.94 |
| Correlation to QQQ | 1.00 |
| Correlation to TLT | 0.09 |
| Sessions above the 200-day average | 75.2% |
| Crossings of the 200-day average | 20 |
| Falls of 10% or more from a 20-day high | 21 |
The rules
Hold while the 12-day exponential average is above the 26-day, the core of the MACD used as a position switch.
- WHEN the market opens · IF not invested AND EMA(12) > EMA(26) · THEN buy with 98% of the sleeve
- 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.
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
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.