Learn › Strategies › EMA 12/26 Trend › SDS

EMA 12/26 Trend on SDS

ProShares UltraShort S&P500: -2x daily S&P 500. 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 SDS turned $10,000 into $6,637 (−33.6% total, −6.9% CAGR): it beat buy-and-hold by 14.7% per year, with a maximum drawdown 37.2 points shallower than holding (39.4% vs 76.5%).

SDS is a fund that returns about twice the opposite of the S&P 500 each day. A buy-and-hold position in it lost money over this window, so any long-only rule applied to it starts from a falling price. The EMA 12/26 trend template buys SDS when the 12-day exponential average rises above the 26-day average and sells when it drops below. Over 2021-01-04 to 2026-10-02 the template turned $10,000 into $6,637.17. That is a CAGR of -6.89% and a total return of -33.63%.

Holding SDS for the whole window did worse. Buy-and-hold ended at $2,479.04, a total return of -75.21% and a CAGR of -21.57%. The template had a maximum drawdown of 39.35% against 76.51% for holding. The trend rule lost money and still beat the position it was filtering, and that is a different statement from saying the rule worked. The Sharpe ratio was -0.19.

The template was invested on 27.5% of trading days. It closed 20 round trips, won 5 of them, and had a profit factor of 0.34. The average winner was 4.67% and the average loser -4.19%, so the losers were almost as large as the winners and there were far more of them. A trend rule needs a few large winners to pay for many small losses. On SDS it found one winner of 13.06% and no other above 5.3%.

On the full 59-fund table, this combination ranks 49 of 59 for the strategy. On the 12 templates it ranks third on SDS itself. Both facts fit: the fund is a poor host for long-only rules, and this rule handled it better than most.

−6.9%CAGR
−21.6%buy & hold CAGR
−39.4%max drawdown
-0.19Sharpe ratio
20round trips
25%win rate
■ EMA 12/26 trend   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

YearEMA 12/26 trendbuy & hold
2021−6.0%−42.6%
2022−2.2%28.2%
2023−10.2%−29.7%
2024−7.1%−27.0%
20250.6%−23.7%
2026−14.1%−16.6%

How each year played out

The year table is the clearest way to see what the rule did and did not do. SDS itself moved the opposite way to the S&P 500. It fell 44.46% in 2021, rose 30.5% in 2022, and fell in each year from 2023 to 2026: 31.53%, 29.49%, 26.76% and 19.55% (the last a partial year to 2026-10-02).

The template lost 6% in 2021, against a buy-and-hold loss of 42.6%. It sat in cash until 2021-09-22, when it bought at $175.59, and it sold on 2021-10-19 at $164.77 for a loss of 6.2%. Most of the year's protection came from being out of the fund.

2022 was the one year the market favoured SDS, and the template lost 2.2% while buy-and-hold made 28.2%. This is the template's costliest result in the table: it trailed holding by 30.4 points in the only year the fund rose. The reasons are in the trades. A 26-day exponential average takes time to turn, so each signal arrived after SDS had already moved. The template entered on 2022-01-20 and left on 2022-03-22 for 0.1%. It entered again on 2022-04-25 and left on 2022-06-08 for 1.2%. It bought on 2022-06-13 at $206.34, close to the local high, and sold on 2022-07-21 at $187.92 for the worst trade of the test, -8.93%. A better entry came on 2022-09-02 at $181.10, with a sale on 2022-10-27 at $190.66 for 5.3%.

In 2023 the template lost 10.2% and buy-and-hold lost 29.7%. In 2024 it lost 7.1% against 27%. In 2025 it gained 0.6% against a loss of 23.7%, the one year the template finished positive.

The template beat buy-and-hold in five of six years: 2021, 2023, 2024, 2025 and 2026. In 2026 the template lost 14.1% and holding lost 16.6%, a narrow margin.

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%2.9%−8.6%0.0%0.0%
20221.5%4.7%−5.8%4.3%−2.6%−0.8%−8.4%0.0%22.5%−14.2%0.0%0.6%
2023−5.5%0.5%−4.5%0.0%0.0%0.0%0.0%−2.8%5.9%5.0%−8.4%0.0%
20240.0%0.0%0.0%1.7%−5.5%0.0%−1.6%−3.1%0.0%0.0%0.0%1.4%
2025−5.8%1.0%11.8%−0.2%0.0%0.0%0.0%0.0%0.0%0.0%−6.3%1.2%
20260.0%−4.8%10.5%−10.3%0.0%0.0%−2.0%−3.7%−3.5%0.0%––

The months that carried the result

Most months in the grid read 0.0%, because the template was in cash. The pattern is a few good months and many small losses.

The best month was 2022-09 at +22.53%, right after the 2022-09-02 entry. Buy-and-hold made 19.06% that month, so the template did better for that month. It entered a few days after the month began and still ended ahead of the holder. That month was followed by 2022-10 at -14.17%, the worst month, even though the position was sold on 2022-10-27 for a gain of 5.3% on the trade. The October loss and the trade gain do not conflict, because the month is measured on the whole sleeve from the September close. The sleeve entered October with the September gain already booked, and the position gave part of it back before the exit on 2022-10-27.

Two other months stand out: 2025-03 at +11.75% and 2026-03 at +10.5%, each tied to a trade held through the month. The 13.1% trade ran from 2025-02-27 at $88.68 to 2025-04-30 at $100.26. That trade is the one winner above the 5.3% mark. 2026-04 gave back -10.32%. The sleeve held the position from 2026-02-13 into mid-April, exiting at $65.82 on 2026-04-14 for -2.0% on the trade, yet the month came out down 10.32% because the month began from the March peak.

The pattern is typical of a trend rule on a fund with violent reversals. Gains come in bursts of one or two months, and a late exit hands a share of them back.

Every trade

EMA 12/26 trend on SDS made 20 closed round trips, an average hold of 29 days, an average winner of 4.67%, an average loser of −4.19%, a profit factor of 0.34, a longest losing streak of 5. It held a position at the close on 27.5% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-09-22$175.592021-10-19$164.77−6.2%27
2022-01-20$157.012022-03-22$157.210.1%61
2022-04-25$173.562022-06-08$175.651.2%44
2022-06-13$206.342022-07-21$187.92−8.9%38
2022-09-02$181.102022-10-27$190.665.3%55
2022-12-21$187.232023-01-13$177.60−5.1%23
2023-02-28$175.842023-03-31$168.51−4.2%31
2023-08-16$145.322023-09-05$140.99−3.0%20
2023-09-08$144.802023-09-12$143.86−0.7%4
2023-09-13$144.112023-09-15$142.82−0.9%2
2023-09-18$145.492023-11-09$150.823.7%52
2024-04-17$116.752024-05-09$112.09−4.0%22
2024-07-30$102.772024-08-20$97.90−4.7%21
2024-12-31$89.702025-01-23$85.49−4.7%23
2025-02-27$88.682025-04-30$100.2613.1%62
2025-11-19$70.762025-12-01$67.02−5.3%12
2026-02-06$67.142026-02-10$64.52−3.9%4
2026-02-13$67.142026-04-14$65.82−2.0%60
2026-07-28$57.662026-08-04$54.33−5.8%7
2026-09-15$55.032026-09-23$53.03−3.6%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.

The trade list

Twenty trades in 5.74 years is a moderate pace. The average hold was 28.8 days. The longest were 62 days (2025-02-27 to 2025-04-30), 61 days (2022-01-20 to 2022-03-22) and 60 days (2026-02-13 to 2026-04-14). The shortest were 2 and 4 days, such as 2023-09-13 to 2023-09-15 at -0.9% and 2026-02-06 to 2026-02-10 at -3.9%.

Several of the losses are quick in-and-out trades that look like whipsaws. In September 2023 the template made four trades inside a month: -3.0% from 2023-08-16 to 2023-09-05, -0.7% in four days, -0.9% in two days and then a gain of 3.7% from 2023-09-18 to 2023-11-09. The fast average kept flipping as SDS drifted sideways near the 26-day line, and the whipsaw cost three small losses before the trend finally held. In 2026 the pattern repeated. A buy on 2026-02-06 at $67.14 was sold four days later at $64.52 for -3.9%, and the template bought again on 2026-02-13 at $67.14.

The longest losing streak was 5 trades, and the longest winning streak was 2. With a 25% win rate, the rule needs winners much larger than its losers to break even, and an average winner of 4.67% against an average loser of -4.19% is not enough. That is the arithmetic behind the profit factor of 0.34.

The final two trades tell the story of 2026. A sale on 2026-08-04 at $54.33 from a buy at $57.66 lost 5.8%, and the trade from 2026-09-15 at $55.03 to 2026-09-23 at $53.03 lost 3.6%. Prices are adjusted for splits and dividends. SDS's price kept falling, so each new entry bought below the last one and still lost.

What the closed trades add up to

The median trade lost 3.63% and the median hold was 23 days. That sits below the 28.8-day average because a handful of holds of 55 days or more pull the average up. Typical outcomes were small losses after three weeks, with the occasional long hold rescuing the tally.

Grouped by the year of exit, 2022 had 4 round trips and 3 winners, yet the year still lost 2.2%. The one loser, the 8.93% drop from the June entry, outweighed the three small winners. 2023 closed 6 trades with 1 winner. 2024 closed 2 with none, 2025 closed 3 with 1, and 2026 closed 4 with none. Of the 20 trades, only the ones exited in 2022, 2023 and 2025 contain a winner, and the 13.06% result from 2025 is the only one that made a real difference to the equity curve.

The fund's overnight and intraday legs were both negative. Its overnight log return was -62.82% and its intraday log return was -91.64%, a split of 40.67% overnight and 59.33% intraday. The template buys and sells at the open, so the overnight gap of the signal day is already in the price when it fills. With an average gap of 0.87%, a rally that triggers the 12 over 26 cross often shows up in the entry price before the rule can act. See how the other templates handled the same fund on the SDS page, where golden cross lost the least.

Largest drawdowns

PeakLow pointDepthDays to lowRecoveredDays to recover
2022-03-082026-09-21−39.4%1658not yet–
2022-01-272022-02-09−11.3%132022-02-2314
2021-10-042021-10-19−8.6%152022-01-27100

Buy-and-hold's deepest drawdown ran from 2021-01-04 to 2026-08-13 and reached −76.5%.

Drawdowns

The deepest drawdown ran from the 2022-03-08 peak to the 2026-09-21 low and reached 39.35%. It took 1,658 days from the peak to the low and had not recovered by the end of the window. That drawdown is a slow grind rather than a crash. The sleeve gave back its early-2022 gains over four years of small losses.

The second drawdown was 11.3%, from 2022-01-27 to 2022-02-09, and recovered within 14 days to 2022-02-23. The third, 8.62% from 2021-10-04 to 2021-10-19, took 100 days to recover to 2022-01-27. Both are small beside the first. The largest damage came from the repeated losses of 2023 to 2026, not from any single event.

Buy-and-hold's deepest drawdown was 76.51%, from 2021-01-04 to 2026-08-13. That is the number the 39.35% is being compared with. The template was out of the fund for most days, and it avoided much of the fall. Staying out cost it the rally in 2022, but across the whole window the trade-off came out ahead of holding.

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)−6.9%−39.4%$6,637-0.19
5 basis points−7.2%−40.5%$6,498-0.21
10 basis points−7.5%−41.5%$6,384-0.22

What trading costs do

The headline run charges nothing on fills. Adding 5 basis points per fill moves the CAGR from -6.89% to -7.23% and the final value from $6,637 to $6,498.26. At 10 basis points the CAGR is -7.52% and the final value is $6,383.84. The maximum drawdown widens from 39.35% to 40.51% and 41.46%. The Sharpe ratio goes from -0.19 to -0.206 and -0.221.

With 40 fills, costs are small for this template. The result is bad before costs and stays bad after them, so slippage shifts the size of the loss and does not change the conclusion. SDS has an average daily dollar volume of $226,027,637 and a median minute volume of 2,455 shares, so real fills may differ from the 5 and 10 basis point assumptions.

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules−6.9%−39.4%2025%$6,637
EMA 8/21−9.2%−45.8%2623%$5,750
EMA 20/50−12.7%−54.9%110%$4,578
EMA 12/50−12.7%−56.6%1718%$4,584

What the parameter variants show

Three other EMA pairs were tested. The faster EMA 8/21 pair made 26 trades, won 6 and returned -9.19% a year with a 45.75% drawdown, ending at $5,750.08. The slower EMA 20/50 pair made 11 trades, won none and returned -12.72% a year with a 54.88% drawdown, ending at $4,578.43. EMA 12/50 made 17 trades, won 3 and returned -12.7% with a 56.62% drawdown, ending at $4,583.84.

None of the three beat the published 12/26 pair. The faster pair traded more and lost more. The slower pairs traded less and lost more again, and the 20/50 version lost on all 11 of its trades. That is the result of waiting for a slow signal on a fund that reverses quickly. The published rules are better than the variants here, and this reflects one window, so it is not evidence that 12/26 is a special choice. All four variants lose money on SDS.

How SDS behaved

MeasureSDS
Data in this test2021-01-04 to 2026-10-02 (1444 sessions)
Total return, buy and hold−79.4%
Annualized volatility32.8%
Deepest drawdown−79.9% (2021-01-04 to 2026-08-13)
Up days45.7%
Average daily range2.29%
Average overnight gap0.87%
Correlation to SPY-1.00
Correlation to QQQ-0.94
Correlation to TLT-0.08
Sessions above the 200-day average18.1%
Crossings of the 200-day average34
Falls of 10% or more from a 20-day high44

How SDS behaved

SDS is a -2x daily S&P 500 fund. Its beta to SPY was -2 and its correlation to SPY was -1, with a correlation to QQQ of -0.94 and to TLT of -0.08. It fell 79.38% over the window, a CAGR of -24.04%, with annualized volatility of 32.8% and a drawdown of 79.94% from 2021-01-04 to 2026-08-13.

SPY gained 125.29% over the same window. Minus two times that gain would be -250.58%, but a fund that resets its leverage every day does not follow that path, and the daily-rebalanced ideal is -87.63%. The fund's actual figure was -79.38%. Within the single years, the fund's returns and the daily ideal differ, and the decay gap was 16.46 points in 2021, 20.84 in 2023 and 20.23 in 2024.

For a trend rule, the key fact is how little time SDS spent in an uptrend. It closed above its 200-day average on 18.07% of sessions and crossed it 34 times. It was up on 45.67% of days, with an average up day of 1.52% and an average down day of -1.48%. Moves of 10% or more down from a 20-day high happened 44 times over 295 days.

The oversold statistics are mixed. RSI(14) fell below 30 on 81 sessions and the median 5-day return afterwards was 0.16% against a baseline of -0.72%. The 20-day median was -1.04% against -2.97%. RSI(2) under 10 appeared 252 times with medians of -0.68% and -3.07%. Oversold readings did beat the fund's weak baseline, although most of the medians stayed below zero.

The fund's biggest days were in a few clusters. The best days were 2025-04-04 at +12.05% and 2025-04-03 at +9.54%, and 2022-09-13 at +8.71%. The worst day was 2025-04-09 at -18.63%, and 2022-11-10 at -10.94%. A rule that reacts after the fact cannot time these. The template did hold SDS through both 2025-04-04 and 2025-04-09, since the 13.1% trade ran from 2025-02-27 to 2025-04-30. It collected the first spike and the sharp reversal on the same position.

Calendar patterns in SDS

Averaging SDS returns by calendar month gives a lopsided picture. September averaged +5.49%, the only month with a large positive mean. November averaged -7.15%, May -5.58%, July -5.28% and October -5%. February at +0.22% and December at +0.43% were close to flat. Each month has 5 or 6 observations, so a single year moves these averages a lot, and SDS rose in only one of the six years.

The template's monthly record lines up with this. Its best month, 2022-09 at +22.53%, and its +5.9% in 2023-09 both fall in the fund's strongest calendar month. Three of its largest monthly losses landed in October or November: -14.17% in 2022-10, -8.62% in 2021-10 and -8.37% in 2023-11. The rule has no calendar input, so the overlap comes from where SDS rallied and reversed.

By weekday the averages are tiny. Monday averaged -0.25%, Wednesday -0.13%, Friday -0.07%, Tuesday -0.01% and Thursday 0%. Against an average daily range of 2.29%, those gaps carry no signal, and the lag-1 autocorrelation of -0.01 says one day's return told almost nothing about the next. A rule built on multi-week averages has no short-term persistence to use here, which fits the 25% win rate.

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 rules fit this fund

The rules are simple: buy at the open when EMA(12) is above EMA(26) and hold none, sell the whole position when it is below. The template invests 98% of the sleeve.

Because SDS drifts down, the fast average spends most of its time under the slow one, and the buy signal fires only after a rally of several days. That explains the 27.5% exposure. The same lag explains the losses: each signal needs a rise that has already happened, and SDS rallies tended to fade within weeks. The 28.8-day average hold fits that.

Among the 12 templates on SDS, golden cross ranked first at -2.33% with a 33.37% drawdown. RSI(2) snapback was second at -3.58%. The EMA 12/26 template was third, at -6.89%. The 200-day regime filter made -7.53%, RSI mean reversion -11.04% and the monthly cycle -20.54%. None made money.

Against the other inverse funds, TBF was the outlier at +7.6% with a 17.96% drawdown. SPDN returned -3.78% and SH -3.91%, both with drawdowns near 25%. PSQ made -6.71%. SDS at -6.89% sits in the middle. SOXS lost 48.38% a year. The median CAGR of the template across all 59 ETFs was 2.76%, and across inverse funds -12.74%, so the category is where this rule does worst.

The comparison with buy-and-hold needs care. Holding SDS is a weak benchmark, because the fund lost 79.38% over the window and its own drawdown reached 79.94%. Beating it by 14.68 points of CAGR says the rule avoided most of the decline. It does not say the rule found a source of profit. The cash position did most of the work, and the 27.5% of days spent invested lost money.

The test has limits. It covers one window with a single long fall in the S&P 500's opposite, so 2022 is the only year in which holding SDS paid. The headline run has no fees or slippage, and the cost runs above add 5 and 10 basis points. Results are hypothetical.

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

Over 2021-01-04 to 2026-10-02, EMA 12/26 trend on SDS returned −6.9% annualized vs −21.6% for buy-and-hold: it beat buy-and-hold by 14.7% per year, with a maximum drawdown 37.2 points shallower than holding (39.4% vs 76.5%).

How many trades did it make?

20 completed round trips over 5.7 years (40 fills), with 25% 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.

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

Yes, but it lost money. The template had a CAGR of -6.89% and ended at $6,637.17, while buy-and-hold had a CAGR of -21.57% and ended at $2,479.04. Its max drawdown was 39.35% against 76.51%.

How many trades did the strategy make on SDS?

It closed 20 round trips and made 40 fills. Five of the 20 were winners, a win rate of 25%. The average winner was 4.67% and the average loser was -4.19%.

Why did the strategy lose in 2022 when SDS gained?

SDS rose 30.5% in 2022 and the template lost 2.2%. The 12 and 26 day averages react after a move has started, so the buys came late. The 2022-06-13 entry at $206.34 became the worst trade of the test, a loss of 8.93%.

Does using a different EMA pair help on SDS?

Not in this window. EMA 8/21 returned -9.19% a year, EMA 20/50 returned -12.72% and EMA 12/50 returned -12.7%, all below the published 12/26 result of -6.89%. EMA 20/50 lost on all 11 of its trades.

What happens to the result with trading costs?

At 5 basis points per fill the CAGR is -7.23% and the final value is $6,498.26. At 10 basis points the CAGR is -7.52% and the final value is $6,383.84. The maximum drawdown rises to 40.51% and 41.46%.

How does this compare with other templates on SDS?

It ranked third of 12. Golden cross had the best result at -2.33% a year, and RSI(2) snapback was second at -3.58%. The monthly cycle had the worst at -20.54%.

Related

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