Learn › Strategies › EMA 12/26 Trend › SSO

EMA 12/26 Trend on SSO

ProShares Ultra S&P500: 2x daily leveraged 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 SSO turned $10,000 into $25,000 (150.0% total, 17.3% CAGR): it trailed buy-and-hold by 4.6% per year, with a maximum drawdown 23.2 points shallower than holding (22.9% vs 46.1%).

The EMA 12/26 trend rule holds a fund while its 12-day exponential moving average sits above the 26-day average and sells the whole position at the next open when the 12-day falls below. On SSO, the ProShares Ultra S&P500, which targets twice the daily return of the S&P 500, it made 17.3% a year from 2021-01-04 to 2026-10-02. A $10,000 account ended at $24,999.94. The maximum drawdown was 22.87% and the Sharpe ratio was 0.87.

Buy-and-hold on SSO made 21.92% a year and ended at $31,199.31, so the rule gave up 4.62 points of annual return. Holding the fund went through a 46.12% drawdown from 2022-01-03 to 2022-10-12. The rule's worst was 22.87%. The Sharpe ratio of holding was 0.79, so the rule earned more return per unit of volatility even though it earned less in total.

The rule made 21 closed round trips and has one position open at the end of the data. Only 9 of the 21 won, a win rate of 43%. The average win was 16.01% and the average loss was -2.86%, giving a profit factor of 3.8. That shape, many small losses and a few large wins, is what a trend rule on a volatile fund is expected to produce, and the trade list below shows it plainly.

On this page SSO ranks 6th of 59 funds for this strategy and the EMA rule ranks 4th of 12 strategies on SSO. The strategy's median CAGR over all 59 funds is 2.76%, so SSO is one of the funds where the rule worked well.

17.3%CAGR
21.9%buy & hold CAGR
−22.9%max drawdown
0.87Sharpe ratio
21round trips
43%win rate
■ EMA 12/26 trend   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

YearEMA 12/26 trendbuy & hold
202126.0%63.6%
2022−15.9%−38.5%
202332.0%45.6%
202434.4%42.9%
202531.2%25.9%
20261.4%22.4%

Year by year against buy-and-hold

The rule's yearly returns were 26% in 2021, -15.9% in 2022, 32% in 2023, 34.4% in 2024, 31.2% in 2025 and 1.4% so far in 2026. Buy-and-hold returned 63.6%, -38.5%, 45.6%, 42.9%, 25.9% and 22.4%.

The rule beat the fund in two years: 2022 and 2025. In 2022 it lost 15.9% while the fund lost 38.5%, a margin of 22.6 points in its favour. That margin is the main reason for the drawdown gap. The rule exited on 2022-01-19, stayed out until 2022-03-24, and then ran a series of short trades that each lost between 2.13% and 4.38%. None of the four round trips closed in 2022 was a winner. The rule lost money in 2022, but in small steps.

In 2025 the rule made 31.2% against 25.9%. The fund fell 34.9% from 2025-02-19 to 2025-04-08. The rule had sold on 2025-02-27, after the fund's peak on 2025-02-19, and bought again on 2025-05-06 at 39.71. That trade held for 197 days, to 2025-11-19, and returned 36.36%, the best trade in the record.

In 2021 the rule trailed by 37.6 points. The fund returned 63.6% in the year and the rule made 26%. The first trade began on 2021-02-10, lost 4.25% and closed on 2021-03-08, and the sleeve then sat in cash until 2021-03-11. The rule's first long hold, from 2021-03-11 to 2021-09-21, made 24.23%. The yearly gap in 2023 was 13.6 points and in 2024 8.5 points, both years in which the fund rose and the rule was invested for only part of the rise.

2026 is a partial year. The rule is at 1.4% and the fund at 22.4%, a gap of 21 points. The fund fell 18.03% from 2026-01-12 to 2026-03-30 and then recovered by 2026-04-16. The rule sold on 2026-02-06, bought on 2026-02-10, sold on 2026-02-13 for a 4.06% loss and then re-entered on 2026-04-14 at 57.69.

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%−6.0%4.5%10.4%1.0%4.3%4.6%5.8%−6.3%4.6%−1.7%3.3%
2022−6.9%0.0%2.4%−5.9%0.0%0.0%8.1%−8.6%−0.9%−0.1%9.9%−12.8%
20235.8%−5.1%0.0%2.8%0.2%12.4%6.0%−7.3%−2.4%0.0%9.0%8.6%
20242.5%9.7%6.0%−6.8%3.2%6.5%0.8%1.2%3.6%−2.5%11.3%−4.0%
2025−1.4%−2.0%0.0%0.0%10.6%9.8%4.0%3.5%6.5%4.1%−6.4%0.1%
20262.3%−6.9%0.0%8.5%10.1%−5.3%−0.4%−2.7%−4.7%1.8%––

Best and worst months

The best month was June 2023 at 12.39%. Other strong months were November 2024 at 11.29%, May 2025 at 10.64% and May 2026 at 10.08%. The worst month was December 2022 at -12.85%. The position bought on 2022-10-31 gave back its November gain and was sold on 2022-12-20 at a loss of 4.38%.

The month-by-month table shows how the rule behaves in a bear market compared with a bull market. In 2022 there were three months with 0% because the sleeve was in cash: February, May and June. The other months of 2022 ranged from -12.85% to 9.91% in November. In 2024 there were no months at 0% and only three losing months: April at -6.85%, October at -2.45% and December at -3.99%. In 2025 two months were 0% (March and April) and the rule re-entered in May, a few weeks after the 2025-04-09 day on which SSO gained 18.78%.

SSO's best day in the data was 2025-04-09, a gain of 18.78%, and the rule was in cash for it. The rule had sold on 2025-02-27 and did not re-enter until 2025-05-06. A rule built on averages enters after a recovery has started.

The fund's own month-of-year averages show September at -4.74% and November at 7.58%, with 5 or 6 observations each, which is too few to build a rule around. The rule's September results were -6.29% in 2021, -0.95% in 2022, -2.38% in 2023, 3.64% in 2024 and 6.55% in 2025.

Months the rule used and months it skipped

The fund's strongest calendar months over the window were November at 7.58% on average, July at 5.75%, May at 5.46% and October at 5.34%. The rule's own results in those months were mixed because it was not always holding. July returned 8.11% in 2022, 5.95% in 2023, 0.85% in 2024, 3.96% in 2025 and -0.37% in 2026. May returned 0% in 2022, 0.23% in 2023, 3.16% in 2024, 10.64% in 2025 and 10.08% in 2026. The 0.23% in May 2023 came just before June 2023, the rule's best month at 12.39%.

September 2022 shows the protective side. The rule had sold on 2022-09-01 and lost 0.95% in the month, while buy-and-hold on SSO lost 17.99%, its worst month. The rule then bought on 2022-10-31 at 22.36 and sat through a flat October of -0.09%, a November of 9.91% and the December exit at a loss.

April 2026 was the reverse. Buy-and-hold made 21.21% that month, its best, and the rule made 8.54% because the entry came on 2026-04-14 at 57.69, after most of the rebound had happened. The same pattern appeared in April 2025, when the fund's 18.78% day on 2025-04-09 passed while the rule was out.

Every trade

EMA 12/26 trend on SSO 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 16.01%, an average loser of −2.86%, a profit factor of 3.80, a longest losing streak of 4. It held a position at the close on 68.8% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-02-10$24.262021-03-08$23.23−4.3%26
2021-03-11$24.182021-09-21$30.0424.2%194
2021-10-19$31.742021-12-06$32.713.1%48
2021-12-08$34.442022-01-19$33.03−4.1%42
2022-03-24$31.102022-04-19$29.96−3.7%26
2022-07-25$23.922022-09-01$23.41−2.1%38
2022-10-31$22.362022-12-20$21.38−4.4%50
2023-01-13$22.962023-02-28$23.070.5%46
2023-04-03$24.432023-08-17$27.8514.0%136
2023-09-05$28.942023-09-11$28.61−1.1%6
2023-09-12$28.392023-09-19$28.02−1.3%7
2023-11-10$26.772024-04-17$35.3432.0%159
2024-05-09$36.862024-07-31$40.9311.0%83
2024-08-20$42.282024-12-31$46.309.5%133
2025-01-23$48.522025-02-27$46.84−3.5%35
2025-05-06$39.712025-11-19$54.1536.4%197
2025-12-02$57.512026-02-06$57.13−0.7%66
2026-02-10$59.412026-02-13$57.00−4.1%3
2026-04-14$57.692026-06-29$65.4313.4%76
2026-07-01$66.872026-07-27$66.62−0.4%26
2026-08-05$72.192026-09-15$68.71−4.8%41
2026-09-23$71.25open–−0.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.

Reading the trade list

The list has 22 entries: 21 closed and one open. The open position was entered on 2026-09-23 at an adjusted price of 71.255 and was down 0.95% at the end of the data.

The nine winners are the first long hold (24.23%, March to September 2021), a 3.06% trade in late 2021, a 0.48% trade in early 2023, a 14% trade from April to August 2023, a 32.01% trade from 2023-11-10 to 2024-04-17, an 11.04% trade in mid-2024, a 9.51% trade from 2024-08-20 to 2024-12-31, the 36.36% trade in 2025 and a 13.42% trade from 2026-04-14 to 2026-06-29. Five of the nine winners were held for at least 133 days. The two best trades, 36.36% and 32.01%, lasted 197 and 159 days.

The losers were short. Eleven of the twelve losers lost less than 4.5%, and the worst was -4.82% on the trade from 2026-08-05 to 2026-09-15. The median trade return was -0.66%, and the median hold was 46 days. The shortest hold was 3 days, in February 2026, and the longest was 197.

A cluster of short losses appears around 2023-09: two trades of 6 and 7 days, lost 1.14% and 1.3%, entered on 2023-09-05 and 2023-09-12. This is whipsaw. The averages crossed up, crossed down and crossed up again within two weeks. The strategy page names this as the cost of a faster average.

Closed trades by exit year show where the wins came from. 2021 had 3 round trips and 2 wins. 2022 had 4 and none won. 2023 had 4 and 2 won. 2024 had 3 and all 3 won. 2025 had 2 and 1 won. 2026 has had 5 so far and 1 won. The rule's record is uneven by year, and 2026 so far is a run of short trades that mostly lost, which is the reason the year sits at 1.4% while the fund is up.

The average hold was 68.5 days and the sleeve was invested 68.8% of the time. The longest win streak was 3 and the longest loss streak was 4, which fits the 2022 pattern of four losing round trips in a row.

The profit factor of 3.8 comes from winners averaging 16.01% against losers averaging -2.86%. With 9 winners against 12 losers, the rule needs the long trends to keep arriving. If only a few of the winners had been missed, the record would look different, because a few trades carry most of the return.

The 2026 trades in sequence

Five closed trades exited in 2026 and one more is open, and the order matters for the 1.4% year. The position bought on 2025-12-02 at 57.51 was sold on 2026-02-06 at 57.13, a loss of 0.66%. The rule re-entered on 2026-02-10 at 59.41 and was out on 2026-02-13 at 57, down 4.06% after 3 days. The 2026-04-14 entry made 13.42% by 2026-06-29. After that came three small trades: one from 2026-07-01 that lost 0.37%, one from 2026-08-05 at 72.19 that lost 4.82%, and the open position from 2026-09-23 at 71.255.

The price on the last two entries was above the price on the exit of the one before, so the rule paid more each time to re-enter the same trend. Months tell the same story: June 2026 was -5.3%, July -0.37%, August -2.74% and September -4.67%, with October starting at 1.81%. Nothing in this run is a failure of the rule to follow its own logic. It is the cost of a crossover rule when the fund moves sideways near its high.

Largest drawdowns

PeakLow pointDepthDays to lowRecoveredDays to recover
2022-08-162022-11-03−22.9%792023-12-12404
2021-11-182022-07-26−14.8%2502022-08-1217
2026-06-022026-09-30−13.2%120not yet–

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

Drawdowns

The rule's three deepest drawdowns were 22.87%, 14.82% and 13.21%. The deepest started on 2022-08-16, bottomed on 2022-11-03 after 79 days and recovered on 2023-12-12, which took 404 days. It took in the September 2022 slide and the December 2022 exit loss. The second ran from 2021-11-18 to a trough on 2022-07-26 and recovered on 2022-08-12, 17 days later. The third began on 2026-06-02, bottomed on 2026-09-30 and has not recovered by the end of the data. It was 13.21% deep at the last measurement, and a new position was opened a week before the bottom.

Buy-and-hold's three deepest were 46.12% (2022-01-03 to 2022-10-12, recovered 2024-03-01), 34.9% (2025-02-19 to 2025-04-08, recovered 2025-07-03) and 18.03% (2026-01-12 to 2026-03-30, recovered 2026-04-16). The rule's drawdown record is shallower than the fund's by 23.25 points at the maximum.

The recovery time is a different story. The rule's worst drawdown took 404 days to recover, and the fund's worst took 506. The rule's drawdown began in August 2022, well after the fund's peak, and the rule's equity peaked on 2022-08-16, after the rally that began with the 2022-07-25 entry. The fund's own peak was on 2022-01-03. The rule's drawdown from 2021-11-18 is the second deepest.

The current drawdown of 13.21% is open. The position open at the end of the data is the one entered on 2026-09-23, so the sleeve was invested while the drawdown stood at that depth. A trend rule can be inside a drawdown that has not had time to resolve. The page presents it as measured and cannot say how it ends.

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)17.3%−22.9%$25,0000.87
5 basis points16.9%−22.9%$24,4790.86
10 basis points16.5%−23.0%$23,9850.84

Cost runs

The headline run has no costs. At 5 basis points per trade the rule made 16.87% a year, with a 22.93% drawdown and $24,478.95 at the end. At 10 basis points it made 16.46%, with a 23.02% drawdown and $23,985.11. The Sharpe ratio fell from 0.87 to 0.857 and then 0.84.

Over 43 fills, the cost of moving from no cost to 10 basis points was under a point of CAGR. The rule is not a heavy trader, and SSO is liquid, with an average daily dollar volume of $233,922,508 and a median minute volume of 7,870 shares. A fill of a few thousand dollars is small against that. The higher-cost runs show the result is not driven by an assumption of free trading, though they use a flat per-trade charge and do not model the spread on a day like 2025-04-04.

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules17.3%−22.9%2143%$25,000
EMA 8/2115.1%−23.5%2744%$22,443
EMA 20/508.6%−43.4%1250%$16,026
EMA 12/507.8%−35.8%1644%$15,420

Parameter variants

Three variants change the averages. A faster pair, EMA 8/21, made 15.12% a year with a 23.51% drawdown and 27 trades, 12 of them wins. It earned less than the 12/26 base case and had a similar drawdown, and it traded more.

A slower pair, EMA 20/50, made 8.56% a year with a 43.38% drawdown and 12 trades. The EMA 12/50 variant, with the slow average lengthened and the fast one kept, made 7.83% with a 35.81% drawdown and 16 trades. Both slower variants earned less than the base case and had deeper drawdowns. A longer slow average exits later, which in 2022 meant staying in the fund through more of the fall.

The pattern in the variants is one-directional: a slower pair made less and drew down more on SSO in this window. The 12/26 setting is a conventional choice rather than a fitted one, and the fact that 8/21 came close suggests that the speed of the signal matters on a fund with this much daily movement. Four settings on one fund and one window is a narrow test and shows nothing about which pair is best in general.

How SSO behaved

MeasureSSO
Data in this test2021-01-04 to 2026-10-02 (1444 sessions)
Total return, buy and hold227.7%
Annualized volatility32.9%
Deepest drawdown−46.8% (2022-01-03 to 2022-10-12)
Up days53.6%
Average daily range2.28%
Average overnight gap0.87%
Correlation to SPY1.00
Correlation to QQQ0.94
Correlation to TLT0.08
Sessions above the 200-day average73.2%
Crossings of the 200-day average36
Falls of 10% or more from a 20-day high32

How SSO behaved

SSO returned 227.67% over the window, 22.96% a year, with annualized volatility of 32.85%. Its maximum drawdown was 46.75%, from 2022-01-03 to 2022-10-12, with recovery on 2024-03-01 after 541 sessions in drawdown. Realized beta to SPY was 2 and correlation 1.

The fund's leverage cost shows in the decay table. SPY returned 125.29% over the window. Twice that is 250.58%. SSO returned 227.67%, a shortfall of 22.91 points against the simple doubling. A daily-rebalanced ideal gives 334.97%, so the fund's path matters more than its nominal leverage. In 2025 the gap to the doubled return was 9.28 points.

For a trend rule, this has two effects. A fund that moves 2.28% on an average intraday range and has a 1.47% average up day gives the exponential averages a lot to react to, so the signals are frequent. The fund also fell 11.86% on 2025-04-04 and 9.57% the day before.

The 14-day RSI fell below 30 on 21 sessions, with a median forward 5-day return of 7.08% and a median 20-day return of 7.01%, against baselines of 0.72% and 2.91%. The trend rule does not trade on RSI, so these readings are context for what the fund did after sharp falls, not a signal the rule used.

Overnight and intraday returns on SSO

SSO's log return splits into 64.1% overnight and 51.08% intraday, which is 55.65% and 44.35% of the total. The average overnight gap was 0.87% and the average intraday range was 2.28%. The rule buys and sells at the open, so a signal that fires after a close is acted on at the next open, after that night's gap has already happened. Every entry therefore starts from the gap price and every exit also gives up the gap.

By weekday the fund's average return was 0.26% on Mondays, 0.15% on Wednesdays, 0.1% on Fridays, 0.02% on Thursdays and 0.01% on Tuesdays. The lag-1 autocorrelation of daily returns was -0.02, so one day's move said almost nothing about the next. The trend content of the fund sits in the longer swings: SSO spent 73.17% of sessions above its 200-day average and crossed that average 36 times. That is a lot of crossings for a fund that trended up for most of the window, and it explains why the 12/26 pair, which reacts faster than a 200-day line, produced 21 closed round trips.

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 rule compares on this fund

On SSO the EMA rule is 4th of 12. The RSI(2) snapback leads at 24.56% with a 25.5% drawdown, then the weekly 7% target at 21.27% and 28.52%, and the monthly cycle at 18.8% with a 43.94% drawdown. The EMA rule's 22.87% drawdown is the shallowest of the top four. The momentum breakout made 15.43%, and the 200-day regime filter made 12.4% with a 32.46% drawdown. The SMA 10/50 trend made 8.39%, the RSI mean reversion 7.4% and the dip buyer 12.96%.

Among 10 leveraged ETFs, SSO is fifth for this rule. SOXL made 26.2% with a 65.38% drawdown. SPUU, also a 2x S&P 500 fund, made 19.12% with a 22.88% drawdown, almost the same as SSO, with 21 round trips. TQQQ made 15.25% with 49.92%, and TMF lost 13.9% a year. The category median of 17.3% matches SSO.

SSO also shows the cost of a smooth uptrend interrupted by sharp reversals. The fund's calendar returns were 65.04% in 2021, -38.99% in 2022, 46.61% in 2023, 43.55% in 2024, 26.16% in 2025 and 22.56% in 2026 so far. The rule captured a large part of 2023, 2024 and 2025 and little of 2026, and in the one down year it lost less than half of what the fund lost in percentage terms. That is the trade this rule offers on a 2x fund: a shallower drawdown and a lower return in most years.

The test is one window, daily rules, fills on minute bars and no fees in the headline run. The results are hypothetical, with prices adjusted for splits and dividends.

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

Over 2021-01-04 to 2026-10-02, EMA 12/26 trend on SSO returned 17.3% annualized vs 21.9% for buy-and-hold: it trailed buy-and-hold by 4.6% 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 43% 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.

How did the EMA 12/26 trend rule do on SSO?

It made 17.3% a year from 2021-01-04 to 2026-10-02 and ended at $24,999.94 from $10,000, with a maximum drawdown of 22.87%. Buy-and-hold made 21.92% a year with a drawdown of 46.12%.

How many trades did it make and how many won?

It closed 21 round trips and 9 won, a 43% win rate. One position was open at the end of the data. Winners averaged 16.01% and losers -2.86%.

When did the rule beat buy-and-hold on SSO?

In 2022 and 2025. In 2022 it lost 15.9% against 38.5% for the fund. In 2025 it made 31.2% against 25.9%.

What was the best trade?

It was entered on 2025-05-06 at an adjusted 39.71 and sold on 2025-11-19 at 54.15, a gain of 36.36% over 197 days.

Does a different EMA pair work better?

Not in this window. EMA 8/21 made 15.12% and the slower pairs EMA 20/50 and EMA 12/50 made 8.56% and 7.83%, with drawdowns of 43.38% and 35.81%.

Do costs change the SSO result?

A little. At 5 basis points the rule made 16.87% a year and at 10 basis points 16.46%, against 17.3% with no costs.

Related

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