EMA 12/26 Trend on SPDN
Direxion Daily S&P 500 Bear 1X Shares: Direxion's -1x 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.
SPDN is a fund built to move opposite to the S&P 500 each day, and over the test window it fell 46.16% while SPY rose. The EMA 12/26 trend rule buys when the 12-day exponential average closes above the 26-day and sells when it drops below, so on SPDN it tries to hold the fund only during stretches when the S&P 500 is sliding. From 2021-01-04 to 2026-10-02 that approach turned $10,000 into $8,017, a CAGR of -3.78%. Buy-and-hold on SPDN turned the same $10,000 into $5,575, a CAGR of -9.68%.
The rule lost money and still beat holding the fund. The CAGR gap in the rule's favour was 5.9 points a year, and the maximum drawdown was 25.54% against 46.16% for buy-and-hold. The rule made 21 round trips with a win rate of 24%, and 5 of the 21 closed in profit. It held a position on 30.3% of trading days.
Both results are negative, and that fact frames everything else on the page. A -1x S&P 500 fund tends to lose money in a market that rises over most of a five-year window, and no entry rule can make a short-side instrument grow when the market it is short keeps climbing. What the rule did here was limit the loss. On the SPDN page the same fund is compared against all twelve templates. The EMA 12/26 rule ranked 6th of 12 on this fund, and SPDN ranked 46th of 59 funds for this rule.
The test is hypothetical and covers one fund over about 5.7 years, with no fees or slippage in the first run.
Year by year
| Year | EMA 12/26 trend | buy & hold |
|---|---|---|
| 2021 | −3.0% | −24.3% |
| 2022 | 3.5% | 18.2% |
| 2023 | −2.7% | −14.7% |
| 2024 | −7.6% | −12.6% |
| 2025 | −2.1% | −10.7% |
| 2026 | −9.3% | −8.1% |
How each year went
The rule's calendar-year returns were -3.0% in 2021, 3.5% in 2022, -2.7% in 2023, -7.6% in 2024, -2.1% in 2025 and -9.3% in 2026 to date. Buy-and-hold on SPDN returned -24.3%, 18.2%, -14.7%, -12.6%, -10.7% and -8.1% in the same years. The rule was ahead of buy-and-hold in 2021, 2023, 2024 and 2025, and behind in 2022 and 2026.
2022 is the one year when SPDN made money for a holder. The fund returned 18.2% as the S&P 500 fell through its bear market, and the rule returned 3.5%. That is the single year where the rule gave up a lot of return against holding, with a gap of -14.7 points. The reason is timing. An exponential crossover needs the 12-day average to climb above the 26-day, which only happens after the fund has already risen for some weeks. The rule entered on 2022-01-19, 2022-04-25, 2022-06-10 and 2022-09-01, each of them after the fund had already started to move. Three of those four trades won, with returns of 1.23%, 2.16% and 2.78%, and the one loss was 1.89%.
2021 shows the other side of that delay. SPDN lost 24.3% in the year, and the rule lost only 3.0%, because it did not buy until 2021-09-22. For the first eight months of the window, the 12-day average of SPDN stayed below the 26-day, so the rule held cash. The one trade of the year entered at $12.94 and exited on 2021-10-19 at $12.54, a loss of 3.09%. A slow signal did the most good in the year when the fund fell without pause.
2023 followed the same pattern. Buy-and-hold lost 14.7% and the rule lost 2.7%. The rule made three round trips, including a 2.88% winner from 2023-08-16 to 2023-11-10, which was the longest hold of the test at 86 days. In 2024 the fund lost 12.6% and the rule lost 7.6% with five round trips and no wins. In 2025 the figures were -10.7% and -2.1%, with one winner among three round trips, the 4.39% trade that ran from 2025-02-26 to 2025-05-02.
2026 is a partial year, through 2026-10-02. The rule returned -9.3% and buy-and-hold -8.1%, so this is the second year where holding the fund lost less than trading it. The rule made five round trips in 2026, all losing, and entered a sixth position on 2026-10-01 that was marked at -0.65% at the last close.
Month by month
| Year | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2021 | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 1.4% | −4.4% | 0.0% | 0.0% |
| 2022 | 1.7% | 2.7% | −3.1% | 2.3% | −0.8% | 4.4% | −5.4% | 0.0% | 9.4% | −6.1% | 0.0% | −0.6% |
| 2023 | −2.7% | 0.2% | −3.0% | 0.1% | 0.0% | 0.0% | 0.0% | −1.3% | 5.6% | 2.6% | −3.8% | 0.0% |
| 2024 | 0.0% | 0.0% | 0.0% | 0.8% | −3.3% | 0.0% | −0.8% | −1.3% | −1.9% | 0.0% | −0.8% | −0.5% |
| 2025 | −3.4% | 0.4% | 6.1% | −0.4% | −1.7% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | −3.1% | 0.3% |
| 2026 | 0.0% | −2.3% | 5.5% | −5.2% | 0.0% | −1.4% | 0.2% | −3.8% | −1.9% | −0.6% | – | – |
Month by month
The monthly table shows how thin the rule's exposure was. Many months are 0.0%, which means the rule held cash all month. All of 2021 before September is zero, and so are June and July 2023, June through October 2025, and several months in 2024.
The best month was September 2022 at 9.39%, and the worst was October 2022 at -6.09%. The two sit next to each other. The rule bought on 2022-09-01 and held until 2022-10-28, capturing the September gain, and then took the October loss while still long. The 2022-09-01 trade finished as a 2.78% winner, so the October giveback came out of a much larger September gain. That pair of months shows the lag in a crossover rule: it enters after a move has started and leaves after the fund has turned.
March 2025 returned 6.1% and March 2026 returned 5.5%, but the rule did not turn either into a winning year. In 2025 the gain was followed by a -3.1% November. In 2026 it was followed by -5.2% in April, a -1.4% June and -3.8% in August. On a fund that mostly falls, a trend rule meets short rallies that fade, and each one cost it a small loss on the way out.
The large negative months are mostly modest. The rule's worst single month was October 2022, and the second-worst months were -5.4% in July 2022 and -5.2% in April 2026. No month fell below -7%. That gives some context to the 25.54% drawdown: it was built from many small losses in a row, not from one large drop.
Every trade
EMA 12/26 trend on SPDN made 21 closed round trips and one position still open at the end of the test, an average hold of 30 days, an average winner of 2.69%, an average loser of −2.17%, a profit factor of 0.39, a longest losing streak of 6. It held a position at the close on 30.3% of trading days.
| Entry | Entry price | Exit | Exit price | Return | Days held |
|---|---|---|---|---|---|
| 2021-09-22 | $12.94 | 2021-10-19 | $12.54 | −3.1% | 27 |
| 2022-01-19 | $12.16 | 2022-03-23 | $12.31 | 1.2% | 63 |
| 2022-04-25 | $12.98 | 2022-06-09 | $13.26 | 2.2% | 45 |
| 2022-06-10 | $13.74 | 2022-07-22 | $13.48 | −1.9% | 42 |
| 2022-09-01 | $13.67 | 2022-10-28 | $14.05 | 2.8% | 57 |
| 2022-12-20 | $14.04 | 2023-01-13 | $13.56 | −3.4% | 24 |
| 2023-02-28 | $13.55 | 2023-04-03 | $13.18 | −2.7% | 34 |
| 2023-08-16 | $12.50 | 2023-11-10 | $12.86 | 2.9% | 86 |
| 2024-04-16 | $11.42 | 2024-05-10 | $11.12 | −2.6% | 24 |
| 2024-07-29 | $10.80 | 2024-08-20 | $10.57 | −2.1% | 22 |
| 2024-09-10 | $10.83 | 2024-09-13 | $10.62 | −1.9% | 3 |
| 2024-11-06 | $10.19 | 2024-11-07 | $10.11 | −0.8% | 1 |
| 2024-12-23 | $10.20 | 2024-12-27 | $10.12 | −0.8% | 4 |
| 2024-12-30 | $10.29 | 2025-01-24 | $9.96 | −3.2% | 25 |
| 2025-02-26 | $10.26 | 2025-05-02 | $10.71 | 4.4% | 65 |
| 2025-11-19 | $9.43 | 2025-12-02 | $9.16 | −2.9% | 13 |
| 2026-02-06 | $9.25 | 2026-02-12 | $9.08 | −1.8% | 6 |
| 2026-02-13 | $9.26 | 2026-04-14 | $9.21 | −0.5% | 60 |
| 2026-06-29 | $8.68 | 2026-07-01 | $8.58 | −1.1% | 2 |
| 2026-07-27 | $8.61 | 2026-08-05 | $8.27 | −4.0% | 9 |
| 2026-09-14 | $8.52 | 2026-09-23 | $8.36 | −1.9% | 9 |
| 2026-10-01 | $8.47 | open | – | −0.7% | – |
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 21 trades
The rule made 21 closed round trips and had one position still open at the end of the test. The average winner returned 2.69% and the average loser -2.17%. The profit factor was 0.39. Two winners in a row was the best run, and six losers in a row the worst. The median return per trade was -1.89%, the median hold was 24 days, the longest hold was 86 days and the shortest was 1 day.
Winners were rarer and larger than losers on average, but not by enough. A win rate of 24% needs winners several times the size of losers to break even, and here the average winner was only a little bigger than the average loser. That is the arithmetic behind the profit factor under 1.
Wins cluster in 2022. Of the 5 winning trades, 3 closed in 2022, 1 in 2023 and 1 in 2025. The best was 4.39% and the worst was -3.96%, from 2026-07-27 to 2026-08-05. The five best trades were each held between 45 and 86 days, so the winners needed time. The shortest trades, one day from 2024-11-06 to 2024-11-07 at -0.79% and four days from 2024-12-23 to 2024-12-27 at -0.78%, are small losses from crossovers that reversed almost immediately.
The cluster around the end of 2024 shows the way a crossover whipsaws. The rule bought on 2024-12-23, sold on 2024-12-27 for a 0.78% loss, bought again on 2024-12-30 at $10.29, and held until 2025-01-24 at $9.96 for a 3.23% loss. Two entries in a week produced two losses. The 2024-09-10 entry exited three days later at -1.94%. In 2024 as a whole the rule made five round trips and won none.
All prices in the trade list are adjusted for splits and dividends and therefore sit below contemporary quotes. The fund's adjusted price drifted down across the window, from near $13 at the first entry to near $8 at the last, and even the winners are small in dollar terms.
Largest drawdowns
| Peak | Low point | Depth | Days to low | Recovered | Days to recover |
|---|---|---|---|---|---|
| 2022-10-12 | 2026-10-02 | −25.5% | 1451 | not yet | – |
| 2022-06-17 | 2022-09-12 | −12.1% | 87 | 2022-09-30 | 18 |
| 2022-03-08 | 2022-05-04 | −8.8% | 57 | 2022-06-16 | 43 |
Buy-and-hold's deepest drawdown ran from 2021-01-04 to 2026-08-13 and reached −46.2%.
The drawdown
The largest drawdown, 25.54%, took 1,451 days to go from the 2022-10-12 peak to the 2026-10-02 low, and it was still open on the last day. The rule's equity peaked in October 2022, in the fund's only positive year, and then declined for four years through a string of small losing trades. The second-largest drawdown was 12.12%, from 2022-06-17 to 2022-09-12, which recovered by 2022-09-30. The third was 8.84% in spring 2022.
Buy-and-hold on SPDN had a single drawdown that began on 2021-01-04 and ended at its low on 2026-08-13 at 46.16%, with no recovery. In other words, holding the fund never got back to its starting level at any point in the window. The rule's drawdown of 25.54% is shallower by 20.62 points, which is the main thing it delivered.
The shape of the two drawdowns differs. Holding the fund produced one steady decline. The rule produced a high point in October 2022 and then a long grind lower, with losses of 3% or less per trade. The Sharpe ratio was -0.26 for the rule and -0.58 for buy-and-hold, and both are negative, so neither rule earned a return above zero for the volatility it carried.
A drawdown that has not recovered after 1,451 days means the rule's equity never made a new high after October 2022. For a strategy on an inverse fund, the cause is the underlying market: SPY returned 125.29% over the window, and a rule that is long the inverse fund for 30.3% of days is long against that trend.
With trading costs
The headline run fills at the bar price. These runs charge slippage on every fill.
| Slippage per fill | CAGR | Max drawdown | Final value | Sharpe |
|---|---|---|---|---|
| None (headline) | −3.8% | −25.5% | $8,017 | -0.26 |
| 5 basis points | −4.1% | −26.8% | $7,849 | -0.29 |
| 10 basis points | −4.5% | −28.0% | $7,684 | -0.33 |
With trading costs
The headline run fills at the bar price with no cost. The cost runs charge slippage on every fill. At 5 basis points per fill the CAGR was -4.13%, the maximum drawdown 26.78% and the final value $7,849. At 10 basis points the CAGR was -4.48%, the drawdown 28% and the final value $7,684. The Sharpe ratio moved from -0.26 to -0.294 and then to -0.325.
The cost effect is modest because the rule makes only 43 fills over 5.7 years. Each added basis point of slippage takes a small bite from each of those fills. The final value fell from $8,017 to $7,684 across the two cost levels. The rule's edge against buy-and-hold survives the costs, since buy-and-hold ended at $5,575 and made one fill.
The trades that suffer most from friction are the short ones. A one-day trade that returned -0.79% before costs returns a little less after them, and the rule made several trades of 1 to 4 days in 2024 and 2026. A rule with a higher win rate would feel costs less. Here the costs make a losing record slightly worse and do not change its rank against buy-and-hold on this fund.
Changing the parameters
| Version | CAGR | Max drawdown | Round trips | Win rate | Final value |
|---|---|---|---|---|---|
| Published rules | −3.8% | −25.5% | 21 | 24% | $8,017 |
| EMA 8/21 | −4.0% | −25.2% | 27 | 30% | $7,897 |
| EMA 20/50 | −6.6% | −35.7% | 12 | 8% | $6,755 |
| EMA 12/50 | −5.0% | −30.5% | 15 | 13% | $7,459 |
Changing the parameters
Three variants were run on the same data. EMA 8/21, a faster pair, returned -4.03% a year with a 25.24% drawdown, 27 round trips and 8 winners, ending at $7,897. The published 12/26 rule had 21 round trips, 5 winners and a CAGR of -3.78%. The faster pair made more trades and won more of them, but the result was slightly worse.
EMA 20/50 returned -6.61% with a 35.7% drawdown, 12 round trips and one winner, ending at $6,755. EMA 12/50 keeps the fast average and stretches only the slow one. It lost 4.98% a year with a 30.48% drawdown, made 15 round trips with 2 winners and ended at $7,459. Slowing either average made the results worse on SPDN, and the two slower variants had the deeper drawdowns, at 35.7% and 30.48%.
A slower crossover enters later in each rally and leaves later after it. The slowest pair, 20/50, caught one winner in 12 trades. The published rule sits near the fast end of what was tested, and the faster 8/21 variant is close behind it in return.
None of the variants made money. This test only shows that the choice of averages changed the size of the loss, from -3.78% for the published rule to -6.61% for the slowest variant. The parameters were not tuned on this data, and the table is a sensitivity check, not a search for a better setting.
How SPDN behaved
| Measure | SPDN |
|---|---|
| Data in this test | 2021-01-04 to 2026-10-02 (1444 sessions) |
| Total return, buy and hold | −46.2% |
| Annualized volatility | 16.4% |
| Deepest drawdown | −47.1% (2021-01-04 to 2026-08-13) |
| Up days | 45.6% |
| Average daily range | 1.14% |
| Average overnight gap | 0.44% |
| Correlation to SPY | -1.00 |
| Correlation to QQQ | -0.94 |
| Correlation to TLT | -0.08 |
| Sessions above the 200-day average | 22.6% |
| Crossings of the 200-day average | 48 |
| Falls of 10% or more from a 20-day high | 7 |
How SPDN behaved
SPDN is Direxion's -1x daily S&P 500 fund. Realized beta to SPY was -1. Correlation was -1.00 with SPY, -0.94 with QQQ and -0.08 with TLT. It fell 46.16% in total while SPY rose 125.29%. SPDN closed higher on 45.6% of days. A typical up day added 0.77%, a typical down day took 0.77%, and annualized volatility came to 16.43%.
A daily-reset inverse fund loses ground in a market that rises and then falls back. A daily-reset fund does not return minus one times the window's total return. Minus one times SPY's 125.29% would be -125.29%, and the fund returned -46.16%, a gap of 79.13 percentage points. A daily-rebalanced -1x position, the ideal for the same path, would have returned -61.98%.
Only 22.57% of SPDN sessions closed over the 200-day average, and the fund crossed that line 48 times. Trend rules depend on persistent moves, and a fund with under a quarter of its sessions above the long average supplies few. Lag-1 autocorrelation of -0.02 means one day's move told almost nothing about the next. The biggest days came in 2025 and 2022: a gain of 5.99% on 2025-04-04 and a loss of 9.38% on 2025-04-09. The rule was long through both dates, inside the 4.39% winner that ran to 2025-05-02.
The calendar-year returns for the fund were -24.82% in 2021, 18.72% in 2022, -15.05% in 2023, -12.91% in 2024, -11.01% in 2025 and -8.37% in 2026. Only 2022 was positive. Among the 11 inverse funds in the test, SPDN's CAGR under this rule of -3.78% was the second best behind TBF, which returned 7.6%, and the category median was -12.74%. The same rule has a median CAGR of 2.76% across all 59 funds, so inverse funds as a group did worse under it than the typical fund.
The rules
Hold while the 12-day exponential average is above the 26-day, the core of the MACD used as a position switch.
- WHEN the market opens · IF not invested AND EMA(12) > EMA(26) · THEN buy with 98% of the sleeve
- 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 rule is two lines. With no position and the 12-day exponential average above the 26-day, it buys at the open with 98% of the sleeve. With a position and the 12-day average under the 26-day, it sells the lot. Exponential averages weight recent days more than simple ones, so the crossover reacts faster than a pair of simple averages of the same length.
On a fund like SPDN, speed is the main question. The fund falls slowly and rises in bursts, so a fast signal is the only kind that can enter a burst while it is still running. The rule ranked 6th of 12 on this fund. The RSI(2) snapback, with -1.45%, and the dip buyer, with -1.73%, did better. The momentum breakout returned -2.21% and the golden cross -2.26%. The SMA 10/50 trend rule returned -2.61%, ahead of the EMA 12/26 rule. The weekly 7% target was the worst at -9.04%, close to buy-and-hold at -9.68%.
On other inverse funds in the category, the same rule returned -3.91% on SH, -6.71% on PSQ and -6.89% on SDS. The TBF run made 7.6%. TBF tracks the inverse of long Treasuries, a different underlying from SPDN's. SPDN's result is typical of an inverse index fund in a rising market, a small loss with a shallower drawdown than holding the fund.
The template notes caution that quicker reactions bring more trades and more whipsaws than a 50/200 cross. On SPDN that showed up as 21 round trips, 6 of them losses in a row at the longest streak. The golden cross returned a little better at -2.26%, with a deeper 28.41% drawdown.
Limits: one fund, one window, daily decisions filled at the next open, no fees in the headline run. The numbers do not say how the rule would perform on SPDN in a different market, and they do not forecast a result. The full results for the rule across all 59 funds are on the EMA 12/26 trend page.
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 SPDN?
Over 2021-01-04 to 2026-10-02, EMA 12/26 trend on SPDN returned −3.8% annualized vs −9.7% for buy-and-hold: it beat buy-and-hold by 5.9% per year, with a maximum drawdown 20.6 points shallower than holding (25.5% vs 46.2%).
How many trades did it make?
21 completed round trips over 5.7 years (43 fills), with 24% 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 SPDN?
Yes, though both lost money. The rule returned -3.78% a year against -9.68% for buy-and-hold, and its maximum drawdown was 25.54% against 46.16%. The rule ended with $8,017 from $10,000 and buy-and-hold ended with $5,575.
How many trades did the strategy make on SPDN?
It made 21 closed round trips and 43 fills, with one position still open at the end of the test. Five of the 21 closed in profit, a win rate of 24%. The average winner was 2.69% and the average loser was -2.17%.
Why did the rule lose money on SPDN?
SPDN is a -1x S&P 500 fund and SPY rose 125.29% over the window. The rule bought the fund only when its short average crossed above its long average, and most of those crossings faded within weeks. Its profit factor was 0.39.
What was the worst drawdown?
The rule's deepest drawdown was 25.54%, from 2022-10-12 to 2026-10-02, and it had not recovered by the end of the test. It was built from many small losing trades. Buy-and-hold on SPDN fell 46.16% over the window.
How much do trading costs change the result?
At 5 basis points of slippage per fill, the CAGR fell from -3.78% to -4.13% and the final value from $8,017 to $7,849. At 10 basis points the CAGR was -4.48% and the final value $7,684. The rule made only 43 fills, so costs had a modest effect.
Would a faster or slower EMA pair have done better?
On this fund, no. EMA 8/21 returned -4.03%, EMA 12/50 returned -4.98% and EMA 20/50 returned -6.61%. All three were below the published 12/26 result of -3.78%.
Related
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.