Learn › Strategies › EMA 12/26 Trend › QLD

EMA 12/26 Trend on QLD

ProShares Ultra QQQ: 2x daily leveraged Nasdaq-100, between QQQ and TQQQ in leverage. 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 QLD turned $10,000 into $18,066 (80.7% total, 10.8% CAGR): it trailed buy-and-hold by 12.7% per year, with a maximum drawdown 24.7 points shallower than holding (38.1% vs 62.8%).
10.8%CAGR
23.6%buy & hold CAGR
−38.1%max drawdown
0.51Sharpe ratio
24round trips
38%win rate
■ EMA 12/26 trend   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

YearEMA 12/26 trendbuy & hold
2021−0.1%57.8%
2022−27.6%−59.7%
202350.8%113.2%
202413.3%42.1%
202524.9%29.9%
202617.1%39.2%

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%−12.1%3.3%4.2%−9.8%11.4%5.4%8.3%−7.0%6.2%3.6%−9.9%
2022−6.8%0.0%1.3%−12.1%0.0%0.0%5.5%−8.3%0.0%0.0%3.7%−13.1%
20237.7%−1.7%4.2%0.3%15.0%12.2%7.0%−9.7%−8.0%0.0%7.6%10.5%
20242.8%9.8%1.8%−6.2%3.8%11.8%−7.7%−3.9%−4.9%−2.4%9.9%0.1%
2025−6.5%−2.0%0.0%0.0%13.4%12.3%4.2%1.2%10.3%8.8%−10.3%−5.6%
20261.5%−7.2%0.0%14.8%21.1%−1.6%−5.9%−1.7%−4.1%2.5%––

Every trade

EMA 12/26 trend on QLD made 24 closed round trips and one position still open at the end of the test, an average hold of 55 days, an average winner of 19.63%, an average loser of −6.10%, a profit factor of 1.77, a longest losing streak of 4. It held a position at the close on 63.4% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-02-10$32.382021-03-01$29.31−9.5%19
2021-04-06$31.112021-05-12$29.21−6.1%36
2021-06-01$31.822021-09-28$37.7618.7%119
2021-10-21$39.382021-12-20$40.272.3%60
2021-12-28$45.532022-01-07$41.01−9.9%10
2022-03-25$35.142022-04-13$31.21−11.2%19
2022-07-22$24.392022-08-31$23.57−3.4%40
2022-11-16$20.472022-12-19$18.41−10.1%33
2023-01-23$19.552023-03-13$19.771.1%49
2023-03-17$22.522023-08-14$30.8937.2%150
2023-09-05$32.702023-09-21$30.02−8.2%16
2023-11-09$31.662024-04-16$40.7928.8%159
2024-05-10$42.692024-07-26$45.817.3%77
2024-08-22$50.072024-09-05$44.58−11.0%14
2024-09-20$49.022025-01-13$51.715.5%115
2025-01-23$57.342025-02-27$54.68−4.6%35
2025-05-05$45.912025-11-19$66.8345.6%198
2025-12-03$71.692025-12-18$69.43−3.1%15
2025-12-24$72.242026-01-22$71.59−0.9%29
2026-01-26$71.882026-02-05$66.34−7.7%10
2026-04-14$70.312026-07-09$91.6030.3%86
2026-07-10$92.642026-07-14$91.96−0.7%4
2026-08-11$91.802026-09-03$88.82−3.3%23
2026-09-08$91.212026-09-11$89.49−1.9%3
2026-09-22$96.44open–1.8%–

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-192022-12-19−38.1%3952024-01-24401
2024-07-102025-02-25−25.9%2302025-07-21146
2025-10-292026-02-05−22.1%992026-05-0892

Buy-and-hold's deepest drawdown ran from 2021-11-19 to 2022-12-28 and reached −62.8%.

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)10.8%−38.1%$18,0660.51
5 basis points10.4%−38.5%$17,6320.50
10 basis points9.9%−38.8%$17,2070.48

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules10.8%−38.1%2438%$18,066
EMA 8/2118.8%−38.0%3244%$26,899
EMA 20/509.8%−31.6%1250%$17,144
EMA 12/5010.3%−41.5%1747%$17,520

How QLD behaved

MeasureQLD
Data in this test2021-01-04 to 2026-10-02 (1444 sessions)
Total return, buy and hold254.3%
Annualized volatility44.8%
Deepest drawdown−63.7% (2021-11-19 to 2022-12-28)
Up days54.3%
Average daily range3.14%
Average overnight gap1.19%
Correlation to SPY0.94
Correlation to QQQ1.00
Correlation to TLT0.09
Sessions above the 200-day average72.3%
Crossings of the 200-day average24
Falls of 10% or more from a 20-day high50

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

Over 2021-01-04 to 2026-10-02, EMA 12/26 trend on QLD returned 10.8% annualized vs 23.6% for buy-and-hold: it trailed buy-and-hold by 12.7% per year, with a maximum drawdown 24.7 points shallower than holding (38.1% vs 62.8%).

How many trades did it make?

24 completed round trips over 5.7 years (49 fills), with 38% 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 QLD12 templates compared RSI(14) Mean Reversion on QLDsame ETF, different rulesRSI(2) Dip Snapback on QLDsame 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.