20-Day Momentum + Trailing Stop on SOXS
Direxion Daily Semiconductor Bear 3X Shares: -3x daily semiconductors, with heavy decay outside sharp selloffs. Backtest 2021-01-04 to 2026-10-02, $10,000 starting capital, computed by the same engine that runs live DeployQuant strategies.
The 20-day momentum plus trailing stop template on SOXS, the Direxion Daily Semiconductor Bear 3X Shares fund. The rule buys with 98% of the sleeve when the 20-day return is above +10% and the position is flat. Once in, a trailing stop sits 10% below the highest close of the trade and only moves up. There is no profit target and no other exit.
SOXS is a hard fund to test anything on. It is a -3x daily fund on semiconductors, and over this window it lost 99.99% of its value. Buy-and-hold turned $10,000 into $227, a CAGR of -48.27% and a maximum drawdown of 97.81%. The momentum rule turned $10,000 into $4,320, a total return of -56.8%, a CAGR of -13.6% and a maximum drawdown of 77.45%.
That makes the rule a loser in absolute terms and a large winner against holding. The CAGR gap in the rule's favour is 34.67 points a year, the final-value gap is $4,093, and the rule beat holding in five of the six calendar years, all but 2022. Both numbers describe how bad the fund was to hold and say little in favour of the rule on its own. The rule had a profit factor of 0.79, a Sharpe ratio of -0.01, and won 40 of 129 round trips, a win rate of 31%.
The window runs from 2021-01-04 to 2026-10-02 with daily decisions, a fill at the open, no margin and no costs in the headline run. The fund has 1444 sessions in the data. Among the 12 templates on SOXS this rule ranks 2nd, and across the 59 funds SOXS ranks 53rd for this rule. The SOXS fund page has the full comparison.
Year by year
| Year | momentum breakout | buy & hold |
|---|---|---|
| 2021 | −31.9% | −79.4% |
| 2022 | −6.1% | 13.8% |
| 2023 | −43.2% | −76.7% |
| 2024 | −34.5% | −35.7% |
| 2025 | 48.0% | −32.4% |
| 2026 | 22.8% | −7.7% |
Year by year on a fund that kept falling
The fund lost money in five of six calendar years. Its calendar returns were -81.13% in 2021, 15.42% in 2022, -84.6% in 2023, -59.44% in 2024, -85.53% in 2025 and -95.1% in 2026 so far. The rule's yearly returns were -31.9%, -6.1%, -43.2%, -34.5%, 48% and 22.8%.
2021 shows the shape of the problem. The rule entered on 2021-03-09, the first day it could, and exited the same day for a loss of 9.15%. March finished at -8.96%, May at -20.12% and October at -9.59%. Ten round trips closed that year and only 2 won. The fund lost 79.4% on a buy-and-hold basis, so the rule's -31.9% was the better outcome, achieved mostly by sitting in cash for most of the year. Exposure for the whole window was only 18.3%.
2022 is the year the rule lost to holding. The fund gained 13.8% on a buy-and-hold basis and the rule lost 6.1%. It is also the busiest year with 43 round trips and 15 wins, the highest count of both. The rule was right in April, with a 30.49% month, and in September, with 41.5%, and wrong in January at -16.23%, February at -18.42%, May at -26.4% and November at -15.91%. Three of the five best trades of the whole run came this year: 32.84% from 2022-06-28 to 2022-07-05, 25.9% from 2022-10-10 to 2022-10-13, and 24.87% from 2022-04-20 to 2022-04-28. Each lasted 3 to 8 days. A bear fund in a falling equity market produces violent upward bursts, and the rule's 10% entry catches some of them.
2023 was the worst year for the rule, at -43.2%, though the fund lost 76.7% on a buy-and-hold basis. Only 3 of 17 round trips won. August 2023 was -28.67% and included the second-worst trade, a 12.37% loss from 2023-08-23 to 2023-08-24. September returned 27.4%, so a single month recovered part of that loss.
2024 lost 34.5% against 35.7% for holding, which is nearly a tie. The rule won 6 of 24 round trips. April returned 24.05% and the second half of the year was a run of losses: July -17.87%, August -6.92%, September -10.46%, October -8.28% and November -7.46%. This stretch finished the maximum drawdown, with the low on 2024-11-07.
2025 was the strong year at 48%, while the fund lost 32.4% on a buy-and-hold basis. February returned 21.3%, March 24.44% and April 49.51%, the best month of the run, with a 31.48% trade from 2025-04-03 to 2025-04-04 inside it. The fund's best day in April was 2025-04-03 at 30.41%, and its worst day was 2025-04-09 at -56.32%. The rule held no position through that crash day. Then the rule sat in cash from May to October and lost 31.25% in November, the worst month, when the 2025-11-19 entry lost 11.34% the next day.
2026 so far returned 22.8%. A single week gave most of it: the trade from 2026-07-23 to 2026-07-29 returned 40.76%, the best of the whole run, and July was 48.17%. August lost 13.05% and September lost 19.92%, including the worst trade of the run, a 12.72% loss from 2026-09-04 to 2026-09-08. The last trade of the test was entered 2026-09-17 and lost 8.36% the next day.
Month by month
| Year | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2021 | 0.0% | 0.0% | −9.0% | 0.0% | −20.1% | 0.0% | 0.0% | 0.0% | 3.5% | −9.6% | 0.0% | 0.0% |
| 2022 | −16.2% | −18.4% | 8.4% | 30.5% | −26.4% | 14.0% | −4.9% | 9.1% | 41.5% | −0.7% | −15.9% | −5.5% |
| 2023 | −13.1% | 0.0% | −16.5% | 5.0% | −6.1% | 0.0% | 0.0% | −28.7% | 27.4% | −2.1% | −10.7% | 0.0% |
| 2024 | 0.0% | 0.0% | 0.0% | 24.1% | −6.9% | 0.0% | −17.9% | −6.9% | −10.5% | −8.3% | −7.5% | −2.4% |
| 2025 | −4.6% | 21.3% | 24.4% | 49.5% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | −31.3% | 0.0% |
| 2026 | 0.0% | 0.0% | 19.0% | 0.0% | 0.0% | 0.0% | 48.2% | −13.1% | −19.9% | 0.0% | – | – |
Every trade
momentum breakout on SOXS made 129 closed round trips, an average hold of 3 days, an average winner of 12.24%, an average loser of −5.78%, a profit factor of 0.79, a longest losing streak of 9. It held a position at the close on 18.3% of trading days.
Best 10 round trips
| Entry | Entry price | Exit | Exit price | Return | Days held |
|---|---|---|---|---|---|
| 2026-07-23 | $45.94 | 2026-07-29 | $64.67 | 40.8% | 6 |
| 2022-06-28 | $92250.59 | 2022-07-05 | $122546.82 | 32.8% | 7 |
| 2025-04-03 | $6103.78 | 2025-04-04 | $8025.50 | 31.5% | 1 |
| 2022-10-10 | $108584.25 | 2022-10-13 | $136707.54 | 25.9% | 3 |
| 2022-04-20 | $74603.11 | 2022-04-28 | $93157.67 | 24.9% | 8 |
| 2025-03-24 | $4332.86 | 2025-04-02 | $5384.18 | 24.3% | 9 |
| 2025-04-08 | $6842.18 | 2025-04-09 | $8494.51 | 24.1% | 1 |
| 2024-04-05 | $6233.53 | 2024-04-23 | $7594.81 | 21.8% | 18 |
| 2023-08-30 | $16790.36 | 2023-09-28 | $19887.53 | 18.4% | 29 |
| 2026-03-26 | $369.19 | 2026-03-31 | $437.28 | 18.4% | 5 |
Worst 10 round trips
| Entry | Entry price | Exit | Exit price | Return | Days held |
|---|---|---|---|---|---|
| 2026-09-04 | $49.28 | 2026-09-08 | $43.01 | −12.7% | 4 |
| 2023-08-23 | $18527.21 | 2023-08-24 | $16234.73 | −12.4% | 1 |
| 2022-11-03 | $113460.94 | 2022-11-04 | $100541.45 | −11.4% | 1 |
| 2025-11-19 | $824.23 | 2025-11-20 | $730.76 | −11.3% | 1 |
| 2022-02-08 | $76518.31 | 2022-02-09 | $68157.95 | −10.9% | 1 |
| 2025-11-24 | $851.28 | 2025-11-24 | $767.02 | −9.9% | 0 |
| 2021-05-20 | $169038.49 | 2021-05-24 | $152592.42 | −9.7% | 4 |
| 2023-08-29 | $18246.27 | 2023-08-29 | $16486.50 | −9.6% | 0 |
| 2024-08-15 | $4457.68 | 2024-08-15 | $4029.97 | −9.6% | 0 |
| 2022-07-06 | $122209.57 | 2022-07-07 | $110900.78 | −9.3% | 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.
What 129 short trades add up to
The rule made 129 round trips with 258 fills. The average hold was 3 days, the median hold was 2 days and the longest was 29 days. The median trade returned -4.05%. That figure is the key to the result: most trades are small stop-outs.
The winners were larger than the losers. The average winner gained 12.24% and the average loser lost 5.78%. The best trade was 40.76% and the worst was -12.72%. With a win rate of 31%, the arithmetic still lands at a profit factor of 0.79, below 1, so losers outweighed winners over the window.
The longest winning streak was 4 trades and the longest losing streak was 9. A run of 9 losses on a rule that wins 31% of the time is ordinary. The sleeve fell in the 2021 and 2023 stretches where those runs sat.
The trailing stop does not work as a gentle exit on this fund. A 10% stop is a small move for a fund with 114% annualized volatility and an average daily range of 7.83%. Many of the worst trades lasted one day: 2023-08-23, 2022-11-03, 2025-11-19 and 2022-02-08 each lost between 10.93% and 12.37% the next session. The stop is set 10% below the high-water mark, but the fund routinely moves more than that in a day, so the exit price lands below the stop level. The shortest holds are zero days, the first trade on 2021-03-09 being one of them.
The rule's entry also has a built-in cost. It buys after the fund has gained 10% over 20 sessions, which on SOXS is an ordinary event. The fund had 86 events in the data where it fell 10% or more from a 20-day high, spread across 1049 days. Bursts and reversals both come often, so the entry fires often and the trailing stop is hit soon after.
The trade prices in the table are adjusted for splits and the fund's reverse splits, which is why the early entries show prices in the tens and hundreds of thousands of dollars while the 2026 entries show prices in the forties and sixties. Read the returns column for performance and treat the price column as an adjusted series.
Largest drawdowns
| Peak | Low point | Depth | Days to low | Recovered | Days to recover |
|---|---|---|---|---|---|
| 2021-03-08 | 2024-11-07 | −77.5% | 1340 | not yet | – |
Buy-and-hold's deepest drawdown ran from 2021-01-04 to 2026-10-02 and reached −97.8%.
One drawdown that never recovered
The drawdown table has a single line. The peak was 2021-03-08, the low was 2024-11-07 and the depth was 77.45%. It took 1340 days to reach the low and the account has not recovered by the end of the data. The peak is one day before the first trade, so the account lost money almost from the start and made only partial recoveries.
Buy-and-hold had one drawdown as well, from 2021-01-04 to 2026-10-02, 97.81% deep and still open at the end. The rule's maximum drawdown was 20.36 points shallower. Both numbers are extreme. A 77.45% drawdown means the account at the low held under a quarter of its peak, and the strong 2025 and 2026 returns only lifted it from there to $4,320.
The rule makes a better case for itself in the risk table than in the return table. It was in the market 18.3% of days, which is the main reason it avoided the full fall of the fund. A rule that is flat most of the time cannot lose all of a fund's decline. The cost of that is also in the table: when the fund did produce the rare strong days, such as 2026-06-05 at 31.42% or 2025-04-10 at 23.92%, the rule held cash on some and captured others.
The Sharpe ratio of -0.01 means the average return per unit of volatility was about zero. For comparison the fund's own Sharpe was -0.53.
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) | −13.6% | −77.5% | $4,320 | -0.01 |
| 5 basis points | −15.5% | −79.4% | $3,803 | -0.05 |
| 10 basis points | −17.4% | −81.2% | $3,350 | -0.09 |
How much slippage added to the loss
With 258 fills, the rule is sensitive to costs. At 5 basis points of slippage per fill the CAGR was -15.5%, the maximum drawdown was 79.4% and the final value was $3,803. At 10 basis points the CAGR was -17.35%, the drawdown was 81.22% and the final value was $3,350. The Sharpe ratio went from -0.01 to -0.054 and then -0.094.
Each step of 5 basis points took about two points off the CAGR and a few hundred dollars off the final value. A short-hold rule with a negative expectancy pays that cost on every trade, so more fills mean more drag.
SOXS trades heavily. Average daily dollar volume is $775,860,545 and the median minute volume is 128 shares, so a $10,000 sleeve will not move the price. The slippage assumption is the part to question. A fund with a 7.83% average daily range and a 3.19% average overnight gap can fill far from the bar price at the open, which is where this rule trades. The cost runs apply a fixed fraction and cannot show a fill 3% off the quote.
Changing the parameters
| Version | CAGR | Max drawdown | Round trips | Win rate | Final value |
|---|---|---|---|---|---|
| Published rules | −13.6% | −77.5% | 129 | 31% | $4,320 |
| 5% trailing stop | 2.0% | −56.1% | 235 | 34% | $11,209 |
| 15% trailing stop | −12.7% | −77.7% | 75 | 36% | $4,598 |
| 20% return entry | −6.5% | −65.4% | 83 | 28% | $6,815 |
A 5% stop made money, the other variants did not
Three variants were run on the same fund.
The 5% trailing stop is the one that stands out. It made 235 round trips with 80 wins, a CAGR of 2.01%, a maximum drawdown of 56.08% and a final value of $11,209, which is above the $10,000 start. The Sharpe ratio was 0.235. A tighter stop cut each loss sooner and let the rule re-enter on the next burst, and on a fund that falls most of the time, quick exits were what worked.
The 15% trailing stop went the other way. It made 75 round trips with 27 wins, a CAGR of -12.66%, a maximum drawdown of 77.67% and a final value of $4,598. That is close to the published 10% rule at -13.6%, and the extra room did not help.
Raising the entry from 10% to 20% made 83 round trips with 23 wins, a CAGR of -6.46%, a drawdown of 65.41% and a final value of $6,815. Waiting for a stronger burst improved the result against the published rules but still lost money.
These are three points on one fund and one window. The 5% stop is the best of the four lines in the table, yet selecting it after seeing the result is the kind of fit that rarely holds on new data. The only claim the table supports is narrower: on SOXS in this window, a shorter leash on a leveraged inverse fund lost less than a longer one.
A note on the table: the 15% stop line shows a Sharpe ratio of 0.097 next to a negative CAGR, and the 20% entry line shows 0.046 next to -6.46%. Those pairs look inconsistent and are worth a second look at how the Sharpe figure was computed for the variant runs.
How SOXS behaved
| Measure | SOXS |
|---|---|
| Data in this test | 2021-01-04 to 2026-10-02 (1444 sessions) |
| Total return, buy and hold | −100.0% |
| Annualized volatility | 114.0% |
| Deepest drawdown | −100.0% (2021-01-04 to 2026-10-02) |
| Up days | 45.8% |
| Average daily range | 7.83% |
| Average overnight gap | 3.19% |
| Correlation to SPY | -0.79 |
| Correlation to QQQ | -0.87 |
| Correlation to TLT | -0.05 |
| Sessions above the 200-day average | 10.2% |
| Crossings of the 200-day average | 28 |
| Falls of 10% or more from a 20-day high | 86 |
How SOXS behaved and why decay matters
SOXS is a -3x fund on semiconductors, and its underlying index fund is SOXX. Over the common window SOXX returned 388.35% while SOXS returned -99.99%. Three times the inverse of the underlying would be -1165.05% on a simple multiply, which is impossible for a long position that can lose at most everything, and the gap between the two figures is 1065.06 percentage points. The realized beta to the underlying was -2.99 with an R squared of 1, so the fund tracks its daily target closely. The loss comes from daily rebalancing.
The by-year table shows how that played out. In 2021 SOXX rose 44.66% and SOXS fell 81.13%. In 2022 SOXX fell 35.07% and SOXS rose only 15.42%. In 2023 SOXX rose 66.96% and SOXS fell 84.6%. In 2026 SOXX rose 95.9% and SOXS fell 95.1%. A fund that must rebalance every day to a -3x exposure loses ground whenever the underlying moves up and down in sequence, and semiconductors did that constantly in this window.
The daily numbers fit. Annualized volatility was 114%. The fund closed up on 45.81% of days. The average up day was 5.4% and the average down day was -5.31%. The average daily range was 7.83% and the average overnight gap was 3.19%. Overnight moves were 51.7% of the log return and the trading day was 48.3%.
The fund spent only 10.2% of sessions above its 200-day average and crossed it 28 times. It had 119 sessions with RSI(14) below 30, with a median 5-day forward return of -2.05% and a 20-day median of -14.98%. The all-days baseline was -2.9% over 5 days and -9.87% over 20. A bounce strategy would have had a weak edge here. Lag-1 autocorrelation was -0.09, a mild tendency for a day's move to reverse.
The fund is strongly anti-correlated with equities and tech: -0.79 to SPY and -0.87 to QQQ, with a beta of -5.52 to SPY. The worst day in the data was 2025-04-09 at -56.32%, and the best was 2026-06-05 at 31.42%. A momentum entry on a fund that swings this much will fire often and exit often.
The rules
Buy after a +10% four-week burst and let a 10% trailing stop manage the exit.
- WHEN the market opens · IF not invested AND the 20-day return > +10% · THEN buy with 98% of the sleeve
- WHILE invested · a managed trailing stop follows 10% below the position's high-water mark
Momentum entry, trailing-stop exit. A +10% gain over 20 sessions marks a burst of momentum. The template buys the strength and exits on a 10% trailing stop that ratchets up beneath the highest close and never moves down. There is no profit target, so winners run until the trail is hit.
Good for: high-momentum assets where trends extend, such as semiconductor and leveraged tech ETFs.
Watch out: buying strength means buying high; when a burst immediately reverses, the trail exits about 10% below the entry.
How the momentum entry fits a decaying inverse fund
The template buys strength and hands the exit to a trailing stop. It was designed for assets where trends extend, and the strategy page lists semiconductor and leveraged tech funds as the good case. SOXS is a leveraged fund but a bearish one, and its price series falls over time, so the template's trend assumption holds only for the short spikes when semiconductors sell off.
The design works as follows. The entry looks for a 20-day return above +10%. On SOXS that happens during sharp semiconductor selloffs, such as April 2022, September 2022, April 2025 and July 2026, and those are the months where the rule made money: 30.49%, 41.5%, 49.51% and 48.17%. The trailing stop then protects the gain until the fund reverses.
Outside those episodes the entry fires on noise. A 10% gain over 20 sessions is small for this fund, and the stop is also 10%. After a false start the stop is hit within a day or two, and the account loses about 5.78% on average. This is the 129-trade pattern in the table.
Other templates on the same fund show how unforgiving it is. The trend plus trailing stop ranked first at -4.93% a year with a 64.55% drawdown. The 200-day regime filter returned -19.74%, the golden cross -24.44% and the RSI(2) snapback -29.89%. At the bottom, the monthly cycle returned -77.46% a year with a drawdown of 99.98%. Templates that stay invested or buy dips lose most of the fund, and templates that stay mostly in cash lose less.
Within the inverse category, SOXS sits 8th of 11 peers on this rule at -13.6%, with the category median at -8.12%. The unlevered funds do far better. SPDN returned -2.21% and SH -2.23%, each with a drawdown near 18%, but both made only 4 round trips because they rarely produced a 10% burst. SQQQ returned -15.97% and TECS -18.33%. The median CAGR of this strategy across all 59 funds was 0%.
The limits are plain. This is one 5.74 year window in which semiconductors rose strongly, which is the worst case for a bear fund. The rule uses daily decisions, so intraday stop breaches show up only at the next fill. The headline run has no costs, and the cost runs use fixed slippage. The result does not say how the rule would behave in a long semiconductor decline.
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 momentum breakout beat buy-and-hold on SOXS?
Over 2021-01-04 to 2026-10-02, momentum breakout on SOXS returned −13.6% annualized vs −48.3% for buy-and-hold: it beat buy-and-hold by 34.7% per year, with a maximum drawdown 20.4 points shallower than holding (77.5% vs 97.8%).
How many trades did it make?
129 completed round trips over 5.7 years (258 fills), with 31% of round trips closing profitably.
How does the trailing stop work in the backtest?
The stop sits 10% below the highest price since entry and only ratchets up. When a bar trades through it, the position sells at the stop, or at the open if the price gaps below it. Trailing-stop exits can be backtested now; deploying them live is not available yet.
Did the momentum breakout rule beat buy-and-hold on SOXS?
Yes, by a wide margin, though both lost money. The rule returned -13.6% a year and ended at $4,320. Buy-and-hold returned -48.27% a year and ended at $227. The rule beat holding in 2021, 2023, 2024, 2025 and 2026, and lost to it in 2022.
How many trades did it make and how many won?
It closed 129 round trips with 258 fills and won 40 of them, a win rate of 31%. The average hold was 3 days and the median trade returned -4.05%. The average winner gained 12.24% and the average loser lost 5.78%.
What was the maximum drawdown?
The maximum drawdown was 77.45%, from a peak on 2021-03-08 to a low on 2024-11-07. It has not recovered by the end of the data. Buy-and-hold on SOXS reached a 97.81% drawdown over the same window.
Does a tighter trailing stop help on SOXS?
In this window a 5% stop returned 2.01% a year with 235 round trips and ended at $11,209, while the 15% stop returned -12.66%. The published 10% stop returned -13.6%. One window and three variants cannot show that the tighter stop would work again.
Why does SOXS lose value even when semiconductors fall?
SOXS rebalances daily to -3x the underlying. In the data, SOXX rose 388.35% over the window while SOXS lost 99.99%. In 2022, when SOXX fell 35.07%, SOXS rose 15.42%, less than three times the move. See the [SOXS fund page](/learn/etf/soxs/) for the decay table.
What do trading costs do to this strategy?
With 5 basis points of slippage per fill, CAGR fell from -13.6% to -15.5% and the final value from $4,320 to $3,803. With 10 basis points the CAGR was -17.35% and the final value was $3,350. The rule makes many short trades, so costs weigh on it.
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.