Learn › Strategies › EMA 12/26 Trend › SPUU

EMA 12/26 Trend on SPUU

Direxion Daily S&P 500 Bull 2X Shares: Direxion's 2x daily S&P 500 fund. 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 SPUU turned $10,000 into $27,307 (173.1% total, 19.1% CAGR): it trailed buy-and-hold by 3.4% per year, with a maximum drawdown 23.2 points shallower than holding (22.9% vs 46.1%).

The EMA 12/26 trend rule on SPUU turned $10,000 into $27,307 between 2021-01-04 and 2026-10-02, a CAGR of 19.12% with a maximum drawdown of 22.88%. Buy-and-hold in the same fund ended at $32,040, a CAGR of 22.48% with a drawdown of 46.08%. The rule gave up return and took a much shallower peak-to-trough loss. SPUU is the Direxion 2x daily S&P 500 fund. Orders go in at the open: the rule buys when the 12-day exponential average moves over the 26-day average and sells everything when it slips back under. There were 21 closed round trips plus a position still open at the end. The fund was held 69.1% of the time, and the average hold ran 68.7 days. Ten of the 21 round trips won, a win rate of 48%, and the average win was 14.78% against an average loss of 2.67%. The profit factor was 4.99. The shape of those figures is typical for a trend rule on a leveraged index fund. Small wins and small losses fill most of the trade list, and a few long holds produce the result. Five trades lasted more than 130 days, and the best of them, from 2025-05-06 to 2025-11-19, returned 36.78%. The strategy ranks 4th of 12 on this fund and 3rd of 59 funds for the EMA rule, with a median CAGR of 17.3% across the 10 leveraged funds against 2.76% for the rule across all 59. The cost runs and parameter variants further down test how fragile that result is. Charging 5 basis points a trade brings the CAGR to 18.69%, and 10 basis points brings it to 18.29%. The slower EMA pairs lose a lot of return and take deeper drawdowns. The result describes one 5.74-year window that includes the 2022 bear market, the 2025 drop, and a long run of rising years, and the headline run has no fees or slippage.

19.1%CAGR
22.5%buy & hold CAGR
−22.9%max drawdown
0.95Sharpe ratio
21round trips
48%win rate
■ EMA 12/26 trend   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

YearEMA 12/26 trendbuy & hold
202127.7%64.3%
2022−15.9%−38.2%
202332.9%46.2%
202435.3%43.6%
202532.5%26.3%
20266.7%22.9%

Calendar years against buy-and-hold

Yearly returns for the rule were 27.7% in 2021, -15.9% in 2022, 32.9% in 2023, 35.3% in 2024, 32.5% in 2025 and 6.7% in the partial 2026. Holding the fund straight through gave 64.3%, -38.2%, 46.2%, 43.6%, 26.3% and 22.9%. Only two years went the rule's way. In 2022 it lost 15.9% where the fund lost 38.2%, ending 22.3 points clear, and in 2025 it made 32.5% against 26.3%, 6.2 points clear. It lagged in the other four, by 36.6 points in 2021, 13.3 in 2023, 8.3 in 2024 and 16.2 in 2026. A trend rule that sits out part of a decline will also sit out part of every rebound, and the table shows both effects. The widest gap is 2021. SPUU gained 65.76% that year on a price basis, and the rule did not buy until 2021-02-10, then sold on 2021-03-08 for a 4.26% loss. It re-entered on 2021-03-10 at 74.36 and held to 2021-09-21 for a 26.28% gain. That second trade carried most of the year. The first small loss and the weeks out of the market account for the gap with the fund. The rule justified itself in 2022. SPUU lost 38.71% on a price basis. Four round trips closed in 2022 and every one lost: 4.08%, 3.72%, 2.12% and 4.31%. None was large. The loss for the year was 15.9% because each of those four was a small loss and the position was in cash through much of the autumn. A string of small stops stood in place of one large fall, which is the intended behaviour of the rule. 2025 is the other year the rule led. Its first exit of the year, on 2025-02-27 at 148.5 for a 3.52% loss, came before the April drop. The fund fell 34.69% from 2025-02-19 to 2025-04-08 in buy-and-hold terms. The rule re-entered on 2025-05-06 at 126.05, below its exit price, and held 197 days for the best trade of the window.

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%−5.5%5.3%10.3%1.3%4.6%4.4%6.0%−6.3%4.5%−1.6%3.1%
2022−6.9%0.0%2.9%−6.4%0.0%0.0%8.1%−8.4%−1.2%−0.1%9.9%−12.7%
20235.8%−4.8%0.0%2.5%0.4%12.6%5.8%−7.3%−1.8%0.0%8.8%8.7%
20242.8%9.5%5.9%−6.6%3.3%6.6%0.8%1.3%3.5%−2.2%11.2%−4.0%
2025−1.4%−2.1%0.0%0.0%10.7%9.9%4.0%3.3%6.9%4.2%−6.5%0.9%
20262.3%−6.7%0.0%8.7%10.3%−5.4%−0.5%1.3%−3.8%1.6%––

The months that moved the equity curve

The best month was 2023-06 at 12.55%, followed by 2024-11 at 11.24% and 2025-05 at 10.72%. The worst was 2022-12 at -12.7%, followed by 2022-08 at -8.36% and 2023-08 at -7.32%. Buy-and-hold had a best month of 21.23% in 2026-04 and a worst of -18.06% in 2022-09. December 2022 is worth a closer look, because the position lost 12.7% in a month while the trade that contained it, from 2022-10-31 to 2022-12-20, lost only 4.31% overall. November 2022 made 9.89%. The trade gained in November and gave most of it back in December before the crossover sold. A crossover on 12-day and 26-day averages is a lagging signal, and December shows the cost of that lag in a single month. Nine months in the table show exactly 0% because the rule held cash throughout: 2021-01, 2022-02, 2022-05, 2022-06, 2023-03, 2023-10, 2025-03, 2025-04 and 2026-03. The two consecutive months of 2025-03 and 2025-04 are the part of the window that mattered most. The rule was flat for the fall that took SPUU's buy-and-hold equity down 34.69%. The 2026-03 month of cash lines up with the shorter drawdown from 2026-01-12 to 2026-03-30 in the fund. Losing months cluster after strong ones. 2021-09 at -6.3% follows 2021-08 at 5.95%. 2022-08 at -8.36% follows 2022-07 at 8.12%. 2026-02 at -6.73% follows two positive months. In a leveraged fund, a pullback of a few percent in the underlying index shows up as a loss of twice that size, and the 12/26 signal often needs several days to turn.

Every trade

EMA 12/26 trend on SPUU made 21 closed round trips and one position still open at the end of the test, an average hold of 69 days, an average winner of 14.78%, an average loser of −2.67%, a profit factor of 4.99, a longest losing streak of 4. It held a position at the close on 69.1% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-02-10$75.572021-03-08$72.35−4.3%26
2021-03-10$74.362021-09-21$93.9026.3%195
2021-10-19$99.312021-12-06$102.102.8%48
2021-12-08$107.752022-01-19$103.35−4.1%42
2022-03-24$97.292022-04-19$93.67−3.7%26
2022-07-25$74.902022-09-01$73.31−2.1%38
2022-10-31$70.252022-12-20$67.22−4.3%50
2023-01-13$72.232023-02-28$72.780.8%46
2023-04-03$77.142023-08-17$87.8213.8%136
2023-09-05$90.922023-09-11$90.19−0.8%6
2023-09-12$89.292023-09-19$88.40−1.0%7
2023-11-10$84.542024-04-17$112.0232.5%159
2024-05-09$116.542024-07-31$129.8011.4%83
2024-08-20$133.812024-12-31$146.739.7%133
2025-01-23$153.922025-02-27$148.50−3.5%35
2025-05-06$126.052025-11-19$172.4136.8%197
2025-12-01$181.712026-02-06$182.060.2%67
2026-02-10$189.022026-02-13$181.31−4.1%3
2026-04-14$184.042026-06-29$209.1313.6%76
2026-07-01$213.902026-07-27$212.91−0.5%26
2026-08-04$221.742026-09-16$219.56−1.0%43
2026-09-23$225.57open–0.1%–

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.

Trades: a few long holds and many short ones

The median trade returned -0.46% over a median hold of 46 days. Holds ranged from 3 days to 197 days. Grouped by exit year the record reads: 2021, 3 trips and 2 wins; 2022, 4 trips and none won; 2023, 4 trips and 2 wins; 2024, 3 trips and all 3 won; 2025, 2 trips and 1 win; 2026, 5 trips and 2 wins. The five best trades were 36.78% (2025-05-06 to 2025-11-19), 32.51% (2023-11-10 to 2024-04-17), 26.28% (2021-03-10 to 2021-09-21), 13.84% (2023-04-03 to 2023-08-17) and 13.63% (2026-04-14 to 2026-06-29). Each came after a bottom was already in and the average had turned up. The entries are lagging by design, which means they miss the first part of a rebound, and the entry price on the 2025 trade, 126.05, came after the April low. The five worst were all small: -4.31% (2022-10-31 to 2022-12-20), -4.26% (2021-02-10 to 2021-03-08), -4.08% (2026-02-10 to 2026-02-13), -4.08% (2021-12-08 to 2022-01-19) and -3.72% (2022-03-24 to 2022-04-19). Losses stayed under 4.4% because the exit rule is a crossover and the fund usually turns slowly enough that the signal fires before a deep loss. The 2026-02-10 trade lasted 3 days. Two short trades in a row in September 2023 show the whipsaw cost. The rule bought on 2023-09-05 and sold on 2023-09-11 for -0.8%, then bought again on 2023-09-12 and sold on 2023-09-19 for -1%. Neither loss is large. The rule's weak point is a sideways market where the average pair crosses back and forth, and two trades in two weeks is what that looks like. The summer of 2026 shows it again. The trades entered on 2026-07-01, 2026-08-04 and 2026-09-23 returned -0.46%, -0.98% and 0.08% on the open one. The open position was bought at 225.57 on 2026-09-23 and was still held on 2026-10-02. Prices quoted for trades here are split and dividend adjusted, which puts them under the quotes seen at the time.

Largest drawdowns

PeakLow pointDepthDays to lowRecoveredDays to recover
2022-08-162022-11-03−22.9%792023-12-11403
2021-11-182022-07-26−15.0%2502022-08-1217
2024-07-162024-09-06−12.2%522024-10-1135

Buy-and-hold's deepest drawdown ran from 2021-12-29 to 2022-10-12 and reached −46.1%.

Drawdowns of 22.88% and 46.08%

The rule's deepest drawdown, 22.88%, started at a peak on 2022-08-16, bottomed on 2022-11-03 and was recovered on 2023-12-11. It took 79 days to reach the low and 403 days to recover. The second drawdown was 14.96%, from 2021-11-18 to 2022-07-26, recovered by 2022-08-12. It took 250 days to reach the low and 17 days to recover. The third was 12.23%, from 2024-07-16 to 2024-09-06, recovered by 2024-10-11. The fund held outright had drawdowns of 46.08%, 34.69% and 18.02%. The 46.08% one began on 2021-12-29, hit bottom on 2022-10-12 and healed on 2024-02-22. The 34.69% one ran 2025-02-19 to 2025-04-08, with a recovery date of 2025-07-03. The rule's three listed drawdowns include none from early 2025, and its exit on 2025-02-27 came before the low on 2025-04-08. The timing of the rule's deepest drawdown is a useful detail. It started in August 2022, long after the fund's December 2021 peak. The rule was not hurt by the first leg down in 2022, where it sold in January and took a small loss. Its largest fall came from a late-summer rally that failed, a bounce that took the crossover long just before a new low. The rule bought on 2022-07-25 at 74.9 and sold on 2022-09-01 at 73.31, a 2.12% loss, and then bought again on 2022-10-31 at 70.25 for the 4.31% loss. The two-leg loss, plus the lag, produced the drawdown. The shorter-run drawdown of 12.23% in mid-2024 came from the trade bought on 2024-05-09 and sold on 2024-07-31 for 11.38%, then the re-entry on 2024-08-20. The equity peak on 2024-07-16 fell during the period the fund sold off before the rule exited.

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)19.1%−22.9%$27,3070.95
5 basis points18.7%−23.0%$26,7490.93
10 basis points18.3%−23.1%$26,2330.92

Cost runs

With 5 basis points charged on each trade the rule made 18.69% a year, ending at $26,749, with a drawdown of 23.02% and a Sharpe of 0.933. At 10 basis points it made 18.29%, ending at $26,233, with a drawdown of 23.07% and a Sharpe of 0.917. The headline run made 19.12% with a Sharpe of 0.95 and ended at $27,307. Costs matter little here because the rule makes only 43 trades across 5.74 years, and a busier rule would pay more. Liquidity is a separate limit. SPUU trades roughly $2,875,224 a day on average, with a median of 233 shares per minute bar. A flat basis point charge cannot capture the price impact of a large order in a fund this thin, so account size caps how far the result can be reproduced.

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules19.1%−22.9%2148%$27,307
EMA 8/2116.4%−24.2%2654%$23,938
EMA 20/509.4%−42.4%1250%$16,790
EMA 12/508.2%−35.4%1644%$15,748

Parameter variants

Three variants were run. The EMA 8/21 pair made 16.42% a year with a 24.19% drawdown, 26 trades and 14 wins, and ended at $23,938. The EMA 20/50 pair made 9.45% with a 42.35% drawdown, 12 trades and 6 wins, ending at $16,790. The EMA 12/50 pair made 8.23% with a 35.39% drawdown, 16 trades and 7 wins, ending at $15,748. The headline 12/26 pair led all three on return and on drawdown, though the 8/21 pair came close on drawdown. The faster pair traded more and won more of its trades, though its win count is larger only because it made more of them. Slowing the average cut the return a lot. The slower pairs enter later and exit later, and on a fund that fell 38.71% in 2022 and then rebounded 47.26% in 2023, a late exit and a late entry both cost. Choosing 12/26 from this table would be a mild form of fitting to the window, and the page shows only three alternatives. The ordering makes sense for a leveraged fund with a strong trend, but the gaps between the variants say that the result is sensitive to the pair. A window with more sideways markets would likely reduce the advantage of the faster pair.

How SPUU behaved

MeasureSPUU
Data in this test2021-01-04 to 2026-10-02 (1444 sessions)
Total return, buy and hold236.4%
Annualized volatility32.8%
Deepest drawdown−46.7% (2021-12-29 to 2022-10-12)
Up days53.6%
Average daily range2.00%
Average overnight gap0.90%
Correlation to SPY0.99
Correlation to QQQ0.94
Correlation to TLT0.07
Sessions above the 200-day average73.6%
Crossings of the 200-day average34
Falls of 10% or more from a 20-day high30

How SPUU behaved

On a price basis SPUU gained 236.37% across the window, which is a CAGR of 23.53%, and its annualized volatility was 32.82%. The worst fall from peak to trough was 46.69%, starting 2021-12-29 and ending 2022-10-12, with the old high only regained by 2024-02-22 after 538 sessions underwater. SPUU closed over its 200-day average on 73.57% of sessions and crossed that line 34 times. Year by year it did 65.76% in 2021, then -38.71%, 47.26%, 44.24%, 26.59%, and 23.13% so far in 2026. Daily moves are big: the typical up day was 1.48% and the typical down day -1.5%. The best day was 2025-04-09 at 18.4% and the worst was 2025-04-04 at -11.88%. Three of the ten largest daily moves fall in April 2025, and the rule was in cash for that month. Leverage drove the result. Realized beta to SPY came out at 1.99 with an R-squared of 0.99, as a 2x daily fund should show. SPUU returned 236.37% where SPY returned 125.29%. Doubling SPY's total would give 250.58%, so SPUU fell short of that by 14.2 points. A daily-rebalanced ideal of 334.97% is also in the facts. The decay gap was 4.83 points in 2021 and negative in each later year, running -2.39, -5.11, -5.48, -8.85 and -4.4 from 2022 to 2026. For a trend rule the important feature is that long uptrends compound in a leveraged fund, and chop does not. The 197-day hold from 2025-05-06 is the case where that compounding paid. The 2022 round trips are the case where the fund moved in a range and the rule lost a little each time. Only 20 sessions saw RSI(14) under 30. The median return over the next 5 days was 6.69%, where any 5-day window had a median of 0.72%. The EMA rule does not use RSI, and those 20 sessions mostly sit in the 2022 and April 2025 declines. Overnight gaps averaged 0.9% and overnight returns accounted for 67.53% of the total log return, which matters for a rule that decides and trades at the open.

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.

How the 12/26 rule compares with the other templates here

Among the 12 templates on SPUU, the RSI(2) snapback finished first at 24.12% with a 31.17% drawdown. Next came the weekly 7% target at 23.28% with 26.96%, and the monthly cycle at 19.51% with 44.11%. The EMA rule took 4th place at 19.12% with a 22.88% drawdown. The momentum breakout, at 17.25%, had the shallowest drawdown of any template, 17.6%. The lower half ran from the dip buyer at 14.17% and the golden cross at 13.22% down through the SMA 10/50 trend at 11.18%, the trend plus trailing stop at 11.01% and the 200-day regime filter at 10.54%. The 3-month momentum rule made 9.75%, and the RSI mean reversion rule finished last at 5.38%. Among the trend rules, the EMA pair had the best return and the shallowest drawdown on SPUU. Its drawdown of 22.88% compares with 31.38% for the SMA 10/50 pair, 34.67% for the golden cross and 37.25% for the 200-day filter. An exponential average reacts faster than a simple one of the same length, which gave the EMA rule earlier exits in 2022 and earlier re-entries after. Compared with its leveraged peers, the same rule on SPUU made 19.12% against 26.2% on SOXL, 19.83% on TECL, 17.91% on ROM, 17.3% on SSO, 15.25% on TQQQ and 10.85% on QLD. SPUU had the second shallowest drawdown among the group at 22.88%, close to SSO's 22.87%, and both are 2x S&P 500 funds. The semiconductor and tech funds earned more and fell much further, with 65.38% on SOXL and 53.47% on TECL. FAS made 8.7%, UST lost 2.49% and TMF lost 13.9%. This is a single window on a single fund. Fees appear only in the cost runs, as flat basis points. Signals are daily and fills happen at the open, using minute data. A different period with fewer clean trends would shift the result toward the slower, flatter end of the parameter table.

Run EMA 12/26 trend on SPUU 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 SPUU?

Over 2021-01-04 to 2026-10-02, EMA 12/26 trend on SPUU returned 19.1% annualized vs 22.5% for buy-and-hold: it trailed buy-and-hold by 3.4% per year, with a maximum drawdown 23.2 points shallower than holding (22.9% vs 46.1%).

How many trades did it make?

21 completed round trips over 5.7 years (43 fills), with 48% 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.

What were the EMA 12/26 trend results on SPUU?

It turned $10,000 into $27,307, a CAGR of 19.12% with a maximum drawdown of 22.88%. Buy-and-hold ended at $32,040 with a 46.08% drawdown. The rule made 21 round trips and won 10 of them.

Did the rule beat buy-and-hold on SPUU?

On return, no: 19.12% against 22.48% a year. It beat the fund in 2022, by 22.3 points, and in 2025, by 6.2 points. It trailed in the other four years.

What did the rule do during the 2022 bear market?

It made 4 round trips by exit year in 2022 and all four lost, between 2.12% and 4.31%. The year came to -15.9% against -38.2% for buy-and-hold.

What do trading costs do to the EMA 12/26 result?

The CAGR is 18.69% at 5 basis points and 18.29% at 10, against 19.12% with no costs. SPUU trades thinly, around $2,875,224 a day, so flat cost runs may understate the cost of larger orders.

Would a different EMA pair work better?

Of the three variants tested, EMA 8/21 made 16.42% with a 24.19% drawdown, EMA 20/50 made 9.45% and EMA 12/50 made 8.23%. None beat the 12/26 headline on return.

How does SPUU compare with the other leveraged funds for this rule?

SOXL made 26.2%, TECL 19.83%, ROM 17.91%, SSO 17.3%, TQQQ 15.25% and QLD 10.85%. SPUU's 19.12% came with a drawdown of 22.88%, while SOXL's was 65.38%.

Related

EMA 12/26 Trend on all 59 ETFsfull results table All strategies on SPUU12 templates compared RSI(14) Mean Reversion on SPUUsame ETF, different rulesRSI(2) Dip Snapback on SPUUsame 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.