Learn › Strategies › 3-Month Momentum Switch › SOXX

3-Month Momentum Switch on SOXX

iShares Semiconductor ETF: the semiconductor industry, a high-momentum sector. Backtest 2021-01-04 to 2026-10-02, $10,000 starting capital, computed by the same engine that runs live DeployQuant strategies.

Result: 3-month momentum on SOXX turned $10,000 into $21,542 (115.4% total, 14.3% CAGR): it trailed buy-and-hold by 16.8% per year, with a maximum drawdown 9.6 points shallower than holding (35.4% vs 45.1%).

The 3-month momentum switch made money on the iShares Semiconductor ETF (SOXX) and still left a large gap to simply holding the fund. From 2021-01-04 to 2026-10-02 it turned $10,000 into $21,542, a CAGR of 14.3% with a 35.43% maximum drawdown and a Sharpe ratio of 0.64. Buy-and-hold SOXX ended at $47,348, a CAGR of 31.11% with a 45.06% drawdown and a Sharpe of 0.92. The rule gave up 16.81 points of CAGR in exchange for a drawdown that was 9.63 points shallower.

The switch looks at the trailing 63-day return. With no position, it buys 98% of the sleeve at the open when that return is above 5%. While invested, it sells everything at the open once the return falls below 0%. The rule was invested 58.4% of the time and completed 16 round trips, of which 7 won, a win rate of 44%. The average win was 26.39% and the average loss was -5.67%, a profit factor of 3.27.

One trade dominates the record. It was bought on 2025-06-04 at an adjusted 213.96 and sold on 2026-08-24 at 507.89, a gain of 137.38% over 446 days. The other 15 trades are small by comparison. The next best returned 17.94%. The result is a trend-following profile: many small losses and a handful of long holds. The SOXX hub has the fund's own profile.

SOXX is a high-momentum sector fund, and this rule ranked 2nd of 59 funds for the template by CAGR. Among the 12 templates on SOXX, though, it ranked 10th. The fund rewarded nearly any rule that stayed long. The rule is described on the 3-month momentum strategy page.

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

14.3%CAGR
31.1%buy & hold CAGR
−35.4%max drawdown
0.64Sharpe ratio
16round trips
44%win rate
■ 3-month momentum   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

Year3-month momentumbuy & hold
202112.8%43.6%
2022−26.3%−34.5%
202334.4%65.3%
2024−7.2%12.8%
202523.7%40.1%
202667.8%95.0%

Each year against holding SOXX

The rule beat buy-and-hold in 2022 and trailed it in every other year. Its yearly returns were 12.8% in 2021, -26.3% in 2022, 34.4% in 2023, -7.2% in 2024, 23.7% in 2025 and 67.8% in 2026 to date. Buy-and-hold returned 43.6%, -34.5%, 65.3%, 12.8%, 40.1% and 95.0% over the same years.

2021 gave 12.8% against 43.6%. The monthly table is zero from January to March because the rule needs 63 sessions of history and a gain above 5% before its first entry. It bought on 2021-04-07 at 141.57 and sold on 2021-05-05 at 132.99 for -6.06%. Then came a 43-day winner of 2.84% from 2021-05-27, a 59-day loser of -2.29% from 2021-08-02, and a 103-day winner of 5.2% from 2021-10-15 that closed on 2022-01-26. November 2021 added 11.12%. The fund was up 44.66% for the calendar year, and a rule that spent the spring on the sidelines missed a good part of it.

2022 gave -26.3% against -34.5%, the one year the rule was ahead, by 8.2 points. January lost 11.97% because the position bought in October was held until 2022-01-26. After that exit the rule sat in cash from February through July. A short trade in August lost 0.7%, and December lost 15.66% in a pair of quick trades: -4.01% from 2022-12-01 to 2022-12-12 and -11.54% from 2022-12-13 to 2023-01-06. The rule re-entered at 129.6 the day after selling at 121.21, a higher price, which is the cost of a three-month lookback near a turning point.

2023 gave 34.4% against 65.3%. This was the year with the most trades: 4 closed, 2 won. A 109-day winner returned 10.42% from 2023-01-09, a 117-day winner returned 10.58% from 2023-05-19, and a 159-day winner returned 17.94% from 2023-11-15 to 2024-04-22. Between them was a 2-day loser of -2.88%. April 2023 lost 8.17% and August and September lost 4.41% and 3.84%.

2024 gave -7.2% while the fund made 12.8%. The 17.94% winner closed on 2024-04-22 and the rule bought again on 2024-04-29 at 213.87, then sold on 2024-08-05 at 190.72 for -10.82%. April 2024 lost 12.28% and August 2024 lost 17.41%. Two small trades in November and December added 0.38% and -1.03%.

2025 gave 23.7% against 40.1%. Only one trade closed in the year, the 8-day loser from 2025-02-20 at 230.25 to 2025-02-28 at 203.37 for -11.67%, the worst trade of the window. The 446-day trade opened on 2025-06-04 and did not close until 2026. June 2025 made 10.71%, September 10.63% and October 12.79%.

2026 gave 67.8% against 95.0%. The year includes the exit of the big trade on 2026-08-24, so the 137.38% gain is spread across 2025 and 2026 in the yearly figures. April 2026 made 39.88%, the best month of the run, and May added 23.02%. July lost 21.06%, the worst month, and August made 0.8% before the exit. The rule has been in cash since 2026-08-24.

Weekday averages and the open fill

The rule only trades at the open. SOXX's weekday averages were Monday 0.32%, Tuesday 0.03%, Wednesday 0.23%, Thursday 0.13% and Friday 0%. Daily signals can fire on any weekday, so the fill day follows the 63-day return and not the calendar. The overnight share of the fund's return was 86.53%, which means a fill at the open sits right after most of each day's move.

The yearly table shows another quirk of the open fill. The entry on 2024-04-29 at 213.87 and the entry on 2025-06-04 at 213.96 were within a dime of each other. The first one ended at 190.72 on 2024-08-05 for -10.82%. The second ended at 507.89 for 137.38%. The rule used the same test both times, a 63-day return above 5%.

The 2026 months show how concentrated the return was. January made 14.74%, April 39.88%, May 23.02% and June 12.39%, then July gave back 21.06%. All of them fall inside the 446-day trade, and the rule's 2026 return was 67.8% against 95% for holding.

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%0.0%0.0%−4.6%0.2%5.0%−3.7%1.1%−3.3%4.6%11.1%2.7%
2022−12.0%0.0%0.0%0.0%0.0%0.0%0.0%−0.7%0.0%0.0%0.0%−15.7%
202310.1%1.4%8.7%−8.2%4.1%6.4%5.2%−4.4%−3.8%0.0%0.5%12.1%
20241.7%11.0%4.0%−12.3%9.2%5.3%−4.5%−17.4%0.0%0.0%0.4%−1.0%
20250.0%−11.4%0.0%0.0%0.0%10.7%0.5%2.1%10.6%12.8%−3.1%1.6%
202614.7%1.7%−6.5%39.9%23.0%12.4%−21.1%0.8%0.0%0.0%––

Monthly pattern

The two best months were April 2026 at 39.88% and May 2026 at 23.02%, and the worst were July 2026 at -21.06% and August 2024 at -17.41%. Buy-and-hold had a best month of 40.13% in April 2026 and a worst of -21.13% in July 2026, so in those two months the rule moved almost one for one with the fund because it was fully invested.

The long runs of zeros are the trend filter doing its job. From February to July 2022 the rule was out, and the fund was falling. The same happens from September to October 2024 and again from March to May 2025. Zeros protect the account, but they also mean the rule was out for the V-shaped rebound after each decline. The fund's best single day in the window, 18.84% on 2025-04-09, came while the rule was in cash after the February 2025 exit, and the rule did not buy again until June.

The fund's own month-of-year averages are strongest in May at 11.44% and November at 8.44%, with weakest readings in August at -1.61% and March at -0.26%. These rest on 5 or 6 observations per month, so they describe this window rather than a calendar rule.

Every trade

3-month momentum on SOXX made 16 closed round trips, an average hold of 77 days, an average winner of 26.39%, an average loser of −5.67%, a profit factor of 3.27, a longest losing streak of 3. It held a position at the close on 58.4% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-04-07$141.572021-05-05$132.99−6.1%28
2021-05-27$136.152021-07-09$140.022.8%43
2021-08-02$148.182021-09-30$144.79−2.3%59
2021-10-15$145.452022-01-26$153.015.2%103
2022-08-12$133.152022-08-18$132.22−0.7%6
2022-12-01$126.272022-12-12$121.21−4.0%11
2022-12-13$129.602023-01-06$114.64−11.5%24
2023-01-09$120.432023-04-28$132.9810.4%109
2023-05-02$135.912023-05-04$132.00−2.9%2
2023-05-19$144.802023-09-13$160.1210.6%117
2023-11-15$167.502024-04-22$197.5517.9%159
2024-04-29$213.872024-08-05$190.72−10.8%98
2024-11-01$217.752024-11-14$218.580.4%13
2024-12-06$216.022024-12-11$213.79−1.0%5
2025-02-20$230.252025-02-28$203.37−11.7%8
2025-06-04$213.962026-08-24$507.89137.4%446

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 the 16 trades looked like

The median trade lost 0.7% and the median hold was 43 days. The average hold was 76.9 days, pulled up by the 446-day trade, and the holds ran from 2 days to 446. Winners per exit year were 1 in 2021, 1 in 2022, 2 in 2023, 2 in 2024, 0 in 2025 and 1 in 2026.

Seven winners made an average of 26.39%, and nine losers lost an average of -5.67%. Take away the 137.38% trade and the winners look ordinary: 17.94%, 10.58%, 10.42%, 5.2%, 2.84% and 0.38%. That makes the profit factor of 3.27 depend heavily on one position, which is the usual shape for momentum rules. The sample is small enough that a single trade like this changes the verdict on the rule.

Losses were bounded. The worst was -11.67%, then -11.54%, -10.82% and -6.06%. Several came from a re-entry soon after an exit at a worse price. On 2022-12-12 the rule sold at 121.21 and on 2022-12-13 bought at 129.6. The trade from 2022-12-13 lost 11.54%, the second worst. The switch uses an entry level of +5% and an exit level of 0%, so there is a band between them, but a sharp one-day bounce can clear the entry level at once.

Two short trades in late 2024 and several in 2023 and 2022 lasted under two weeks. Those were mostly small. The five-day trade from 2024-12-06 lost 1.03% and the 13-day trade from 2024-11-01 made 0.38%.

Prices in the trade list are adjusted for splits and dividends. SOXX entries run from 141.57 in April 2021 to 507.89 at the final exit in August 2026.

Extreme days and where the switch stood

SOXX had five days of 7% or more in the window and five days of -7.79% or worse, and the rule was in cash for some of each. The best day was 2025-04-09 at 18.84%. The rule had sold on 2025-02-28 and did not buy until 2025-06-04, so it missed that day, the 7.25% day on 2025-05-12 and the 10.49% day on 2022-11-10, a month in which the monthly table reads zero. The three worst days of the group also sat in cash: -10.11% on 2025-04-03, -8.34% on 2025-04-10 and -7.79% on 2025-01-27.

Four other extreme days hit a live position, all inside the one 446-day trade. The fund fell 10.45% on 2026-06-05 and 7.87% on 2026-06-23, and gained 8.3% on 2026-06-11 and 8.78% on 2026-07-30. With exposure at 58.4%, the switch missed some of both tails, and the largest single-day gain of the window, 18.84%, sat in the missed group.

The exit of that long trade arrived on 2026-08-24 at 507.89, after the fund had already bounced from its 2026-07-29 low. The drawdown inside the position began on 2026-06-22. A 63-day return needs weeks of weakness to cross below zero, so the sell order came after the damage and after part of the repair.

Largest drawdowns

PeakLow pointDepthDays to lowRecoveredDays to recover
2024-07-102025-02-27−35.4%2322026-01-15322
2021-12-272022-12-28−30.1%3662024-01-19387
2026-06-222026-07-29−28.9%37not yet–

Buy-and-hold's deepest drawdown ran from 2021-12-27 to 2022-10-14 and reached −45.1%.

Three drawdowns and what caused them

The deepest drawdown was 35.43%, from a peak on 2024-07-10 to a trough on 2025-02-27, 232 days later, and recovered on 2026-01-15, 322 days after the trough. The loss came from three things in sequence: the 10.82% loss from 2024-04-29 to 2024-08-05, the small trades in November and December, and the 11.67% loss in February 2025.

The second was 30.08%, from 2021-12-27 to 2022-12-28, which took 366 days to reach the trough and 387 more to recover on 2024-01-19. The fund was dropping through 2022 while the rule was mostly in cash, yet the rule's equity still fell, because the 11.97% loss in January and the 15.66% loss in December came at the two ends of the year. Cash in the middle months did not make up for them.

The third was 28.89%, from 2026-06-22 to 2026-07-29, over 37 days, and it has not recovered. It sits inside the gains of the 446-day trade. July 2026 lost 21.06% before the exit on 2026-08-24. The trade as a whole made 137.38%, so the drawdown is a give-back from the high inside a winning position.

Buy-and-hold SOXX had a 45.06% drawdown over the window, and the fund's profile shows 45.81% from 2021-12-27 to 2022-10-14, recovered on 2023-12-13. The rule's maximum drawdown was shallower by 9.63 points, which is the main thing it bought with the 16.81 points of CAGR it gave up.

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)14.3%−35.4%$21,5420.64
5 basis points13.9%−35.4%$21,1020.63
10 basis points13.5%−35.9%$20,6610.61

Effect of 5 and 10 basis points

At 5 basis points per trade the CAGR was 13.89%, the drawdown 35.43%, end equity $21,102 and the Sharpe 0.626. At 10 basis points the CAGR was 13.47%, the drawdown 35.9%, end equity $20,661 and the Sharpe 0.612. Each step cut about four tenths of a point from the CAGR. With 32 fills over the window, cost is a small effect for this rule.

SOXX trades about $1,048,392,630 a day on average, with a median minute volume of 5,853 shares, so a $10,000 order meets very deep liquidity. The cost runs are flat percentages and the headline run has none. In this fund the flat charge is a fair stand-in for real costs.

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules14.3%−35.4%1644%$21,542
Enter above 0%11.4%−42.1%3944%$18,630
Enter above 10%14.4%−31.2%1050%$21,688
Enter above 15%8.5%−36.0%944%$15,995

Changing the entry threshold

Three variants moved the entry level while leaving the 0% exit alone. Entering above 0% made 39 trades with 17 wins, a CAGR of 11.45%, a drawdown of 42.09% and end equity of $18,630. Entering above 10% made 10 trades with 5 wins, a CAGR of 14.44%, a drawdown of 31.16% and end equity of $21,688. Entering above 15% made 9 trades with 4 wins, a CAGR of 8.52%, a drawdown of 36% and end equity of $15,995.

The base setting of 5% gave 14.3% and 35.43% with 16 trades. The 10% entry was slightly better on both counts, with a Sharpe of 0.66 against 0.64. The 0% entry traded far more often and had the worst drawdown, because with no band between entry and exit the rule was whipsawed around zero. The 15% entry waited so long that it missed more of the advance, and its CAGR fell.

The result is not a smooth curve. Going from 10% to 15% cut the CAGR sharply, while going from 5% to 10% nudged it up. With 9 to 16 trades per setting, a change in one trade can explain the difference between neighbouring variants. The test shows that the 0% entry was clearly worse here and says little about which of 5% or 10% is better.

How SOXX behaved

MeasureSOXX
Data in this test2021-01-04 to 2026-10-02 (1444 sessions)
Total return, buy and hold388.4%
Annualized volatility38.1%
Deepest drawdown−45.8% (2021-12-27 to 2022-10-14)
Up days53.9%
Average daily range2.58%
Average overnight gap1.07%
Correlation to SPY0.79
Correlation to QQQ0.87
Correlation to TLT0.05
Sessions above the 200-day average70.7%
Crossings of the 200-day average38
Falls of 10% or more from a 20-day high43

Why SOXX suited this rule and still beat it

SOXX returned 388.35% over the window, a CAGR of 31.81%, with annualised volatility of 38.08%. It rose on 53.92% of days. Average up days and down days were both 1.78%. By year it returned 44.66%, -35.07%, 66.96%, 13.0%, 40.68% and 95.9% to date. It closed above its 200-day average on 70.68% of sessions and crossed it 38 times.

Overnight moves carried most of the return: the overnight log return was 136.36% against 21.22% intraday, an 86.53% share. A rule that buys at the open captures each overnight gap, which suits a trend rule on a fund like this. The fund's beta to SPY was 1.84 and to QQQ 1.49, with correlations of 0.79 and 0.87. It is closely tied to the other semiconductor funds. The nearest were SOXL at 1.0 and XLK at 0.9.

Lag-1 autocorrelation of daily returns was -0.09, close to zero. Momentum over three months can work even when daily returns do not trend, because it samples a longer horizon. SOXX's rises were long enough on this horizon for the rule to catch the 446-day move. They were also sharp enough that every exit and re-entry cost some of the rebound.

RSI(14) fell below 30 on only 7 sessions, and the median 20-day return after those was 11.58%, against 2.11% on all days. It rose above 70 on 121 sessions. RSI(2) fell below 10 on 133 sessions with a 20-day median of 3.58%. The fund bounced after dips, which is the opposite of what a rule that sells weakness wants. The 3-month momentum switch sells when the return turns negative and so sells into many of those dips. There were 43 drawdown events of 10% inside 20 days, covering 197 days.

The rules

Hold while the trailing 3-month return is positive (above +5% to enter, below 0% to exit).

  1. WHEN the market opens · IF not invested AND the 63-day return > +5% · THEN buy with 98% of the sleeve
  2. WHEN the market opens · IF invested AND the 63-day return < 0% · THEN sell the whole position

Time-series momentum on a quarterly lookback, the horizon much of the academic momentum literature uses. The template enters after a +5% three-month run and exits when the same measure turns negative. The gap between entry (+5%) and exit (0%) is a buffer against flip-flopping around a single threshold.

Good for: assets with long, persistent cycles, such as index, sector and managed-futures ETFs.
Watch out: a three-month lookback is slow; V-shaped crashes and recoveries can see it exit near the bottom and re-enter well off the low.

Where the lookback cost the most

A 63-day lookback needs three months to turn. After a sharp fall the return stays negative for weeks, and after a sharp recovery it stays positive for weeks after the low. The rule exits late on the way down and enters late on the way up. On SOXX, a fund that fell 35.07% in 2022 and then returned 66.96% in 2023, the late entry cost more than the late exit saved.

Within the SOXX peer group, which includes other sector funds, the rule made 14.3%. VOX made 8.92% with a 12.96% drawdown over 11 round trips, XLK made 6.06% with 30.88%, XLF made 2.74%, XLP made -1.67% and XLY made -3.94%. The category median was 6.06% and the median across all 59 funds was 0%. SOXX led its group.

On the same fund, the other 11 templates scored differently. The weekly 7% target made 30.54% with a 22.76% drawdown, the monthly cycle 29.17%, the golden cross 28.24% and the dip buyer 27.48%. Mid-table were the trend plus trailing stop at 19.81%, the 200-day regime filter at 19.21%, the EMA 12/26 trend at 17.96%, the RSI(2) snapback at 17.01% and the momentum breakout at 16.73%. Only the RSI mean reversion at 12.78% and the SMA 10/50 trend at 7.65% were lower than the 3-month momentum switch.

Four rules out-earned the 3-month switch by a wide margin, and the fund's habit of bouncing after dips fits with how little a slow exit signal helped.

Limits of this test

This is one fund over a window that includes a very strong 2025 and 2026 for semiconductors. The result depends on the single 446-day trade, and the sample of 16 trades is small. The figures are hypothetical. Fills come from minute bars with no fees or slippage in the headline run, and no margin was used.

Run 3-month momentum on SOXX 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 3-month momentum beat buy-and-hold on SOXX?

Over 2021-01-04 to 2026-10-02, 3-month momentum on SOXX returned 14.3% annualized vs 31.1% for buy-and-hold: it trailed buy-and-hold by 16.8% per year, with a maximum drawdown 9.6 points shallower than holding (35.4% vs 45.1%).

How many trades did it make?

16 completed round trips over 5.7 years (32 fills), with 44% of round trips closing profitably.

Why 63 days?

63 trading days is about one quarter, a common momentum lookback. You can sweep it in DeployQuant to see how the horizon changes results.

How did the 3-month momentum rule do on SOXX?

It turned $10,000 into $21,542 between 2021-01-04 and 2026-10-02, a CAGR of 14.3% with a 35.43% maximum drawdown. Buy-and-hold SOXX ended at $47,348 with a CAGR of 31.11% and a 45.06% drawdown.

Did the rule beat buy-and-hold SOXX in any year?

Only in 2022, when it returned -26.3% against -34.5% for the fund. In 2021, 2023, 2024, 2025 and 2026 to date it trailed.

What was the biggest trade?

A 446-day trade bought on 2025-06-04 at an adjusted 213.96 and sold on 2026-08-24 at 507.89, a gain of 137.38%. The next best trade returned 17.94%.

How often did the rule win?

It won 7 of 16 round trips, a win rate of 44%. The average win was 26.39% and the average loss was -5.67%, a profit factor of 3.27.

Does a different entry threshold change the result?

Yes. Entering above 10% gave a CAGR of 14.44% and a 31.16% drawdown. Entering above 0% gave 11.45% and 42.09%, and entering above 15% gave 8.52% and 36%. The base 5% entry gave 14.3% and 35.43%.

What do fees do to the result?

At 5 basis points per trade the CAGR was 13.89% and end equity $21,102. At 10 basis points it was 13.47% and $20,661. The headline run has none.

Where does SOXX rank for this rule?

SOXX ranked 2nd of 59 funds for the 3-month momentum switch by CAGR. On SOXX itself the rule ranked 10th of the 12 templates.

Related

3-Month Momentum Switch on all 59 ETFsfull results table All strategies on SOXX12 templates compared RSI(14) Mean Reversion on SOXXsame ETF, different rulesRSI(2) Dip Snapback on SOXXsame 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.