Learn › Strategies › EMA 12/26 Trend › SH

EMA 12/26 Trend on SH

ProShares Short S&P500: -1x daily S&P 500, a simple index hedge. 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 SH turned $10,000 into $7,955 (−20.4% total, −3.9% CAGR): it beat buy-and-hold by 6.1% per year, with a maximum drawdown 22.6 points shallower than holding (24.6% vs 47.2%).

SH is the ProShares Short S&P500 fund, which targets -1x the daily move of the S&P 500. The EMA 12/26 trend template buys when the 12-day exponential average rises above the 26-day and sells the whole position when it falls back below. On SH, from 2021-01-04 to 2026-10-02, that rule turned $10,000 into $7,955.29. The CAGR was -3.91%, the maximum drawdown 24.56%, and the Sharpe ratio -0.28.

Buy and hold on SH did worse. It ended at $5,460.45, with a CAGR of -10% and a drawdown of 47.18%. The crossover beat the holding by 6.09 points of CAGR and finished with a shallower drawdown, and it still lost money. A strategy that loses less than its fund is a different result from one that makes money, and the numbers here show the first.

The reason sits in the fund. SH rises when SPY falls, and SPY rose 125.29% over this window. A long-only rule on an inverse fund can only earn money in the stretches when the S&P 500 is falling, and this window had one clear stretch of that, in 2022. The template ranked 6th of 12 on SH, and SH ranked 47th of 59 funds for this template. The losses trace to a fund that fell in most years of the window.

The test is one window of 5.74 years, daily-decision rules, orders filled on minute bars, no margin, and no fees or slippage in the headline run.

−3.9%CAGR
−10.0%buy & hold CAGR
−24.6%max drawdown
-0.28Sharpe 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−3.0%−24.6%
20221.1%17.4%
2023−2.4%−14.5%
2024−6.4%−13.1%
2025−2.4%−11.0%
2026−9.0%−8.4%

How each year played out

The strategy's yearly returns were -3% in 2021, 1.1% in 2022, -2.4% in 2023, -6.4% in 2024, -2.4% in 2025 and -9% in 2026 to 2026-10-02. SH itself returned -25.19%, 17.91%, -14.82%, -13.45%, -11.36% and -8.7% in those years, and buy and hold with 98% invested returned -24.6%, 17.4%, -14.5%, -13.1%, -11% and -8.4%.

2022 is the only year the fund made money, and it is the only year the strategy did too, though far less. Buy and hold made 17.4% and the crossover made 1.1%. The strategy trailed buy and hold by 16.3 points that year. A trend rule needs the fast average to cross above the slow one before it buys, and in 2022 that happened after the fund had already moved. The rule bought on 2022-01-20 at an adjusted 47.65 and sold on 2022-03-23 at 47.75, a gain of 0.21%. By then SPY's decline had a long way to run, and SH was a position the crossover entered late and left early.

In the five other years the strategy beat buy and hold in four: 2021 by 21.6 points, 2023 by 12.1, 2024 by 6.7 and 2025 by 8.6. It lost to buy and hold in 2026 by 0.6 points. Every one of those wins is a smaller loss. The strategy lost money in 2021, 2023, 2024, 2025 and 2026, and the fund lost more in each of those years except 2026, when the two were close, -9% against -8.4%.

The strategy's year-by-year record comes down to exposure. It was invested 29.6% of the time, so for most of each year it held cash. Months in cash show 0% in the monthly table, so the strategy did not lose in the months it sat out. That was a benefit here, but the same logic cut the 2022 gain to 1.1%. Staying out of a falling fund helps when the fund is falling for years, as SH did outside 2022. It hurts in the one year the fund rallied.

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%1.5%−4.4%0.0%0.0%
20220.8%2.5%−3.0%2.2%−0.9%3.5%−5.5%0.0%9.2%−6.1%0.0%−0.7%
2023−2.7%0.2%−3.0%0.1%0.0%0.0%0.0%−1.4%5.6%2.8%−3.6%0.0%
20240.0%0.0%0.0%0.8%−3.4%0.0%−0.8%−1.4%−1.2%0.0%0.0%−0.6%
2025−3.4%0.2%6.1%−0.3%−1.8%0.0%0.0%0.0%0.0%0.0%−3.1%0.3%
20260.0%−2.6%5.4%−5.2%0.0%−1.3%0.1%−3.7%−1.9%0.1%––

Month by month

Of the 70 months in the window, 29 show 0 because the strategy held cash. In the months with a position, the pattern is mostly small losses. The best month was September 2022 at 9.22%, when SH rose 9.73% for buy and hold. The worst was October 2022 at -6.11%. Both fall in the one year when the trade made sense.

September 2022 shows the trend rule working. The strategy bought on 2022-09-01 at an adjusted 52.94 and sold on 2022-10-28 at 54.32 for 2.61%, the third best trade. The month's 9.22% came from the rise inside that holding. The October month then gave back part of it, with the exit coming late in the month, on 2022-10-28.

The next largest gain was March 2025 at 6.07%, followed by September 2023 at 5.58% and March 2026 at 5.37%. In each of those months SH rallied while the position was open. The crossover only captured such moves when the entry had already happened.

The losing months cluster after rallies. April 2026 lost 5.2%, July 2022 lost 5.46%, and August 2026 lost 3.69%. November 2023 lost 3.65% and January 2025 lost 3.43%. In each of these months the position lost money. In July 2022 the strategy held a position entered on 2022-06-10 at 53.26 that closed on 2022-07-22 at 52.16 for -2.07%.

Calendar-month averages for SH itself support this. SH averaged -3.48% in November, -2.62% in May, -2.55% in July and -2.41% in October, and gained 2.83% in September. Each month has only 5 or 6 observations, so these averages are thin. They show that the fund's best calendar month, September, happened to coincide with the strategy's best month, September 2022.

Every trade

EMA 12/26 trend on SH made 20 closed round trips and one position still open at the end of the test, an average hold of 31 days, an average winner of 2.26%, an average loser of −2.28%, a profit factor of 0.33, a longest losing streak of 6. It held a position at the close on 29.6% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-09-22$50.292021-10-19$48.74−3.1%27
2022-01-20$47.652022-03-23$47.750.2%62
2022-04-25$50.332022-06-08$50.901.1%44
2022-06-10$53.262022-07-22$52.16−2.1%42
2022-09-01$52.942022-10-28$54.322.6%57
2022-12-20$54.222023-01-13$52.34−3.5%24
2023-02-28$52.292023-04-03$50.86−2.7%34
2023-08-16$48.182023-11-10$49.723.2%86
2024-04-16$44.132024-05-10$42.95−2.7%24
2024-07-29$41.692024-08-20$40.75−2.3%22
2024-09-11$41.802024-09-12$41.29−1.2%1
2024-12-23$39.262024-12-26$38.75−1.3%3
2024-12-31$39.422025-01-24$38.31−2.8%24
2025-02-26$39.482025-05-02$41.134.2%65
2025-11-19$36.192025-12-02$35.13−2.9%13
2026-02-06$35.412026-02-11$34.64−2.2%5
2026-02-13$35.432026-04-14$35.23−0.6%60
2026-06-29$33.172026-07-01$32.82−1.1%2
2026-07-27$32.912026-08-05$31.62−3.9%9
2026-09-14$32.572026-09-23$31.93−2.0%9
2026-10-02$32.09open–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.

The 20 trades

The strategy made 20 round trips and had a 21st position open at the end, entered on 2026-10-02 at an adjusted 32.095 and up 0.11%. Only 5 of the 20 closed trades made money, a 25% win rate. The longest losing streak was 6 trades and the longest winning streak was 2.

The average win was 2.26% and the average loss -2.28%. Wins and losses were about the same size, so the win rate alone drove the result. The profit factor was 0.33, meaning gross profits were a third of gross losses. The median trade returned -1.96% and the median hold was 24 days. The longest hold was 86 days and the shortest was 1.

The best trade bought on 2025-02-26 at 39.48 and sold on 2025-05-02 at 41.13, for 4.18% over 65 days. This spans April 2025, when SH had its two best days of the window, 5.98% on 2025-04-04 and 4.83% on 2025-04-03. The next best, 3.2%, ran 86 days from 2023-08-16 to 2023-11-10, the longest hold in the list. The third was the September 2022 trade at 2.61%.

The worst trade bought on 2026-07-27 at 32.91 and sold on 2026-08-05 at 31.62, for -3.92% in 9 days. The second worst ran from 2022-12-20 to 2023-01-13 for -3.47%, and the third from 2021-09-22 to 2021-10-19 for -3.08%. That third one was also the strategy's first trade.

By exit year the record is thin. 2021 had 1 round trip with 0 wins. 2022 had 4 with 3 wins, the only year with a winning majority. 2023 had 3 trips and 1 win. 2024 had 4 with none. 2025 had 3 with 1. 2026 had 5 with none.

2024 and 2026 show whipsaw most clearly. In late 2024 the strategy bought on 2024-09-11 and sold the next day on 2024-09-12 for -1.22%, then bought on 2024-12-23 and sold on 2024-12-26 for -1.3%. In 2026 it made trades of 5, 2, 9 and 9 days in addition to a 60-day hold, and none of them won. When a fund trends down for years with brief rallies, a 12/26 crossover flips on each rally and pays for it. The strategy page's caveat says the same: faster reaction means more trades and more whipsaws.

Largest drawdowns

PeakLow pointDepthDays to lowRecoveredDays to recover
2022-06-162026-09-21−24.6%1558not yet–
2022-03-082022-05-04−8.9%572022-06-1643
2022-01-272022-02-09−5.8%132022-02-2314

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

The drawdown

The deepest drawdown was 24.56%. It began at the peak on 2022-06-16, reached its trough on 2026-09-21 after 1,558 days, and had no recovery by 2026-10-02. Most of the window after mid-2022 was spent below that high. The strategy's equity peaked in mid-June 2022 and then bled down in small losses.

The second drawdown was 8.91%, from 2022-03-08 to a trough on 2022-05-04 and a recovery on 2022-06-16 after 43 days. The third was 5.84%, from 2022-01-27 to 2022-02-09, recovered by 2022-02-23. Both fell in the first half of 2022.

Buy and hold on SH had one long drawdown of 47.18%, from the first day, 2021-01-04, to a trough on 2026-08-13 after 2,047 days, never recovered. The fund as a standalone price series fell 48.24% over the same stretch. The crossover's 24.56% drawdown was shallower, and the gap in drawdown between strategy and holding was 22.62 points.

The comparison to the inverse peers shows how modest this drawdown is. SQQQ's drawdown under this template was 82.8%, SOXS's 97.76% and TECS's 87.83%. SH's 24.56% is among the lowest in the inverse group. Only TBF, at 17.96%, was lower. The other broad inverse funds were SPDN at 25.54%, SDS at 39.35% and PSQ at 39.81%. The SH result is mild because the underlying fund is -1x. A -3x fund drifts down much faster, and the same crossover gave far deeper drawdowns there.

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)−3.9%−24.6%$7,955-0.28
5 basis points−4.2%−25.8%$7,797-0.31
10 basis points−4.6%−26.9%$7,640-0.34

Cost runs

The headline run has no costs. Adding 5 basis points per trade lowered the CAGR to -4.24%, deepened the drawdown to 25.75% and left $7,796.66. Adding 10 basis points gave a CAGR of -4.58%, a drawdown of 26.94% and $7,640.23. The Sharpe ratio went from -0.28 to -0.306 and then -0.335.

The cost effect is small because there were only 41 fills over 5.74 years. Costs would matter more for a rule that traded often. Here the loss is in the trades themselves, which lose on average, and the cost runs add to a result that was already negative. Even at 10 basis points the strategy ended above buy and hold's $5,460.45.

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules−3.9%−24.6%2025%$7,955
EMA 8/21−3.8%−23.7%2631%$8,022
EMA 20/50−6.7%−35.2%1323%$6,737
EMA 12/50−5.8%−31.4%1513%$7,119

Parameter variants

Three variants were run alongside the 12/26 default. All lost money.

The faster pair did slightly better than the default, with a CAGR of -3.77% against -3.91%, a shallower drawdown and more wins at 8 of 26. The slower pairs did worse on CAGR, drawdown and Sharpe. The 20/50 variant's drawdown of 35.17% was the deepest. Slower averages were later to enter and later to leave, and on a fund whose rallies are brief this lost more. Faster did better here, which fits a fund whose rallies were brief.

None of the variants made money, so the loss does not come from the specific 12 and 26. Every setting tested lost, and the difference between them is how fast the loss accumulated. The test covers 4 settings in total and does not search further, so it cannot rule out a pair that works on this fund. Within that small set, every setting lost.

How SH behaved

MeasureSH
Data in this test2021-01-04 to 2026-10-02 (1444 sessions)
Total return, buy and hold−47.4%
Annualized volatility16.4%
Deepest drawdown−48.2% (2021-01-04 to 2026-08-13)
Up days45.5%
Average daily range1.16%
Average overnight gap0.44%
Correlation to SPY-1.00
Correlation to QQQ-0.94
Correlation to TLT-0.07
Sessions above the 200-day average21.9%
Crossings of the 200-day average50
Falls of 10% or more from a 20-day high6

How SH behaved

SH's annualized volatility was 16.4%, almost the same as SPY's, and its average up day of 0.77% and average down day of -0.75% mirror SPY's. It was up on 45.46% of days. Its correlation to SPY was -1 and its beta to SPY -1, and it correlated -0.94 with QQQ. The fund tracks the inverse of the S&P 500 closely day by day.

Over the whole window the fund lost 47.37% while SPY gained 125.29%. A -1x daily fund does not lose 125.29%. The facts show a decay gap of 77.92 percentage points between the fund's return and the nominal -1 times SPY. The daily-rebalanced ideal was -61.98%, and the fund's -47.37% was better than that. By year, the decay gap was 5.27 points in 2021, 11.37 in 2023, 11.41 in 2024, 6.36 in 2025 and 5.07 in 2026, and -0.25 in 2022 when the fund rose.

For a long-only strategy, the question is whether the fund's own declines are easy to avoid. SH sat above its 200-day average on 21.93% of sessions and crossed it 50 times. A fund that spends under a quarter of sessions above its long average and crosses it that often gives trend rules little to hold.

RSI behavior also did not help. SH closed with RSI(14) below 30 on 70 sessions, and the median 5-day forward return after those sessions was 0.18%, against a baseline of -0.33%. The 20-day figure was -0.29% against -1.33%. RSI(2) below 10 occurred on 252 sessions with a 5-day median of -0.27%, against the same baseline. For a mean-reversion rule, that edge was small. The trend rule meets a different problem, because SH's gains came on a few big days: its best days were 5.98% on 2025-04-04, 4.83% on 2025-04-03, 4.37% on 2022-09-13, 3.94% on 2022-05-18 and 3.8% on 2022-06-13, and its worst day was -9.34% on 2025-04-09.

April 2025 shows the two-sided risk. The fund jumped on 2025-04-03 and 2025-04-04, then fell 9.34% on 2025-04-09. The best trade held through all three days and still finished up 4.18%.

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 interact with an inverse fund

The rule buys on a signal that the fast average is above the slow one. That works as a trend filter on a fund that trends. SH trends in the opposite direction from the market, so each upward cross of the average on SH is a bet that SPY will keep falling. SPY fell in 2022 and rose in the other years, so the bet paid in one year and lost in the others.

The template is a long-flat switch built on MACD logic. On a fund with a persistent downward drift, long-flat means the strategy spends 29.6% of the time long a fund that loses money on average. Ranking against the other templates supports that. RSI(2) snapback was best on SH at -0.53% CAGR, then dip buyer at -1.86%, momentum breakout at -2.23%, golden cross at -2.31% and SMA 10/50 trend at -2.68%. EMA 12/26 came sixth at -3.91%. The worst was weekly 7% target at -9.07%, with monthly cycle at -8.93%. The momentum breakout result had the shallowest drawdown at 17.94%.

The ordering shows that the templates that stay out of the fund most of the time lose least. The RSI(2) snapback buys short washouts and exits quickly. The golden cross uses a slow pair and trades rarely. The templates that hold the fund longer or trade at fixed times lost most.

The median CAGR of this template across all 59 funds was 2.76%, and across the 11 inverse funds it was -12.74%. SH sits well above that inverse median. Among inverse funds, the peers on this template were TBF at 7.6%, SPDN at -3.78% and SH at -3.91%, with PSQ at -6.71% and SDS at -6.89%. See also the same rule on SPDN, PSQ and SDS.

The window ends on 2026-10-02 with an open position of 0.11%, so the result will change with the next signal. All figures are hypothetical results from one window, and none are a forecast or advice. The SH fund page has the fund's full profile.

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

Over 2021-01-04 to 2026-10-02, EMA 12/26 trend on SH returned −3.9% annualized vs −10.0% for buy-and-hold: it beat buy-and-hold by 6.1% per year, with a maximum drawdown 22.6 points shallower than holding (24.6% vs 47.2%).

How many trades did it make?

20 completed round trips over 5.7 years (41 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.

How did the EMA 12/26 trend strategy do on SH?

It turned $10,000 into $7,955.29 between 2021-01-04 and 2026-10-02, a CAGR of -3.91% with a 24.56% maximum drawdown. Buy and hold on SH ended at $5,460.45 with a CAGR of -10%. The strategy lost less than the fund and still lost money.

Why does a trend rule lose money on an inverse ETF like SH?

SH moves against the S&P 500, which rose 125.29% in this window. The fund gained only in 2022 and lost in the other calendar years, so a long-only crossover had one year to earn money. In 2022 the strategy made 1.1% against 17.4% for buy and hold.

How many trades did the strategy make on SH?

It made 20 round trips and had one open position at the end. Only 5 of the 20 won, a 25% win rate, with an average win of 2.26% and an average loss of -2.28%. The profit factor was 0.33.

Would a faster or slower EMA pair have worked on SH?

No variant made money. EMA 8/21 returned -3.77% a year, EMA 20/50 returned -6.65% and EMA 12/50 returned -5.75%. The faster pair lost the least and the slower pairs lost more.

What do trading costs do to this result?

At 5 basis points the CAGR fell to -4.24% and the ending equity to $7,796.66. At 10 basis points the CAGR was -4.58% and the ending equity $7,640.23. The strategy made only 41 fills, so costs added little to a result that was already negative.

Which strategy did best on SH?

The RSI(2) snapback had the highest CAGR at -0.53%, still negative. EMA 12/26 trend ranked 6th of 12 at -3.91%. No template made money on SH in this window.

Related

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