Learn › Strategies › SMA 10/50 Trend › SOXX

SMA 10/50 Trend 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: SMA 10/50 trend on SOXX turned $10,000 into $15,268 (52.7% total, 7.7% CAGR): it trailed buy-and-hold by 23.5% per year, with a maximum drawdown 4.7 points shallower than holding (40.3% vs 45.1%).

The SMA 10/50 trend template buys when the 10-day average climbs over the 50-day and sells everything once the 10-day slips under it. It reacts in weeks, where the golden cross reacts in months. SOXX, the iShares Semiconductor ETF, is a high-momentum sector fund with annualized volatility of 38.08%. A fast signal on a fund that swings that hard produces many entries and exits, and the data shows what that did.

From 2021-01-04 to 2026-10-02 the rule made 7.65% a year on SOXX. A $10,000 account became $15,267.54, a total return of 52.68%, with a maximum drawdown of 40.32% and a Sharpe ratio of 0.42. It closed 17 round trips, won 9, and had an 18th position open at the end of the data.

Holding SOXX did far better. Buy-and-hold made 31.11% a year, ended at $47,348 and had a Sharpe ratio of 0.92. The rule trailed by 23.46 points of CAGR and finished $32,080.46 behind. It did not beat holding in any calendar year. The drawdown was a little shallower at 40.32% against 45.06%, which is the only measure where the rule came out ahead.

On SOXX this rule ranks 12th of 12 strategies, and SOXX ranks 18th of 59 funds for it. The template's median CAGR across all 59 funds is 2.12%, and across the six sector funds it is 6.06%. The rule's result on SOXX is above both medians and still the lowest of the twelve strategies on this fund. SOXX is a fund where nearly everything worked, and a rule that sold on every pullback was the weakest of them.

7.7%CAGR
31.1%buy & hold CAGR
−40.3%max drawdown
0.42Sharpe ratio
17round trips
53%win rate
■ SMA 10/50 trend   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

YearSMA 10/50 trendbuy & hold
20218.6%43.6%
2022−37.1%−34.5%
202332.5%65.3%
20240.9%12.8%
202511.8%40.1%
202649.5%95.0%

Year by year

The rule returned 8.6% in 2021, -37.1% in 2022, 32.5% in 2023, 0.9% in 2024, 11.8% in 2025 and 49.5% so far in 2026. Buy-and-hold returned 43.6%, -34.5%, 65.3%, 12.8%, 40.1% and 95%. The rule trailed holding in all six years, and by a wide margin in five of them.

2022 was the one close year. The fund lost 34.5% and the rule lost 37.1%, a shortfall of 2.6 points. The rule exited into weakness and came back in before the lows were in, so it took the decline and gave up part of the rebound. Five trades closed that year and only one won. The record shows entries on 2022-03-29, 2022-06-10, 2022-07-28 and 2022-11-14, and each ended in a loss of between 6.59% and 15.13% as the rally failed. Four buy signals in a falling market cost the rule roughly what holding cost.

2021 shows the other pattern. The fund gained 43.6% and the rule 8.6%, a gap of 35 points. The first entry did not come until 2021-04-05, and it lost 11.3% by 2021-05-12. The rule then re-entered on 2021-06-03 and held through to 2021-10-04 for 3.86%.

2023 and 2025 are the years where the fund ran. The fund made 65.3% in 2023 and the rule 32.5%. In 2025 the fund made 40.1% and the rule 11.8%. The 2025 shortfall is large because the rule was in and out through January to March, losing 5.75% and 9.08% on two short trades, and only bought again on 2025-05-12. 2024 was a sideways year: the fund made 12.8% and the rule 0.9%.

2026 was the best year for both, at 95% for the fund and 49.5% for the rule. Even then the rule captured about half of it. The fund's best month was April 2026 at 40.13%, and the rule made 18.71% that month because the entry came on 2026-04-13, after the early part of the move.

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%0.0%0.0%−5.1%−6.2%5.9%0.5%2.4%−4.4%2.5%11.2%2.7%
2022−4.7%0.0%−4.9%−10.4%0.0%−6.4%1.8%−9.1%−2.5%0.0%3.0%−11.0%
20234.6%1.4%8.7%−8.6%8.1%6.5%5.3%−7.9%0.0%0.0%0.5%12.1%
20241.7%11.0%4.0%−9.2%1.5%5.3%−5.9%0.0%−2.4%−5.1%1.6%0.0%
2025−5.7%−9.8%1.2%0.0%−1.5%16.4%0.5%2.1%10.6%12.7%−9.0%−2.8%
202614.6%1.7%−4.9%18.7%22.4%12.1%−19.6%0.0%−0.4%3.5%––

Month by month

The rule's best month was May 2026 at 22.37% and the worst was July 2026 at -19.64%. The fund's best was April 2026 at 40.13% and its worst July 2026 at -21.13%. Both landed in the same stretch, a sharp climb and a sharp reversal within three months. The rule exited on 2026-07-17 at $510.35.

The monthly grid shows how the rule behaves in a downtrend. From January to December 2022 the rule's months were -4.71%, 0%, -4.88%, -10.37%, 0%, -6.42%, 1.77%, -9.07%, -2.46%, 0%, 2.99% and -11%. Nine of those twelve months had a position, and seven of the nine lost money. The positive months, July and November, both sat inside trades that ended as losses. Whipsaw is the cost the template's caveat warns about, and 2022 is where it appears in this record.

Strong months came in clusters when the trend was clean: November 2021 at 11.19%, March 2023 at 8.68%, May 2023 at 8.14%, December 2023 at 12.07%, February 2024 at 11.02%, June 2025 at 16.38%, September and October 2025 at 10.57% and 12.73%, January 2026 at 14.55% and April to June 2026 at 18.71%, 22.37% and 12.11%. After a month like that the 10-day average is well above the 50-day, so the rule holds through the pullback that follows. November 2025 gave back 8.97% and December 2025 another 2.76%.

Every trade

SMA 10/50 trend on SOXX made 17 closed round trips and one position still open at the end of the test, an average hold of 73 days, an average winner of 14.39%, an average loser of −9.08%, a profit factor of 1.75, a longest losing streak of 4. It held a position at the close on 59.5% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-04-05$142.442021-05-12$126.34−11.3%37
2021-06-03$137.222021-10-04$142.513.9%123
2021-10-27$147.832022-01-19$166.0512.3%84
2022-03-29$160.062022-04-11$135.85−15.1%13
2022-06-10$128.242022-06-14$119.79−6.6%4
2022-07-28$129.102022-09-06$116.14−10.0%40
2022-11-14$122.172022-12-30$111.63−8.6%46
2023-01-17$125.342023-04-26$132.275.5%99
2023-05-22$143.442023-08-16$160.5211.9%86
2023-11-15$167.502024-04-19$201.8220.5%156
2024-05-16$227.412024-07-29$228.750.6%74
2024-09-27$233.902024-11-13$219.60−6.1%47
2025-01-07$229.502025-02-06$216.30−5.8%30
2025-02-20$230.252025-03-03$209.35−9.1%11
2025-05-12$206.372025-11-25$277.6034.5%197
2025-12-05$309.392026-03-13$334.078.0%98
2026-04-13$385.572026-07-17$510.3532.4%95
2026-09-23$570.60open–3.2%–

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 trade list

The rule closed 17 round trips and held an 18th. Median return was 0.59% and median hold 74 days, with an average hold of 72.9 days. The shortest hold was 4 days, from 2022-06-10 to 2022-06-14 for a loss of 6.59%, and the longest was 197 days.

Nine trades won and eight lost, a win rate of 53%. Average win was 14.39% and average loss was -9.08%, giving a profit factor of 1.75. The winners were larger than the losers, which is what a trend rule is built to produce, and it is why the account ended above $10,000 with a win rate near half. The longest win streak and longest loss streak were both 4.

The five best trades were 34.52% (2025-05-12 at an adjusted $206.37 to 2025-11-25 at $277.60 over 197 days), 32.36% (2026-04-13 at $385.57 to 2026-07-17 at $510.35), 20.49% (2023-11-15 at $167.50 to 2024-04-19 at $201.82), 12.32% (2021-10-27 to 2022-01-19) and 11.91% (2023-05-22 to 2023-08-16). The two biggest wins gave most of the rule's gain. Without the 2025 and 2026 trades the record would be close to flat.

The five worst were -15.13% (2022-03-29 to 2022-04-11, 13 days), -11.3% (2021-04-05 to 2021-05-12), -10.04% (2022-07-28 to 2022-09-06), -9.08% (2025-02-20 to 2025-03-03, 11 days) and -8.63% (2022-11-14 to 2022-12-30). Three are from 2022. The two shortest losers, held 13 and 11 days, show a weakness of the crossover: when the 10-day average pokes above the 50-day inside a larger decline, the exit follows within a couple of weeks.

The open position was bought on 2026-09-23 at $570.595 and was up 3.21% at the end of the data. The last closed trade on 2026-07-17 left the account in cash for the fund's late-July drop.

Sell and re-buy prices in the 2022, 2025 and 2026 whipsaws

Putting each exit next to the next entry shows what the crossover cost in price. In early 2025 the rule sold at $216.30 on 2025-02-06 and bought back at $230.25 on 2025-02-20, paying a higher price after only two weeks. That second position then sold on 2025-03-03 at $209.35 for -9.08%. The next entry came on 2025-05-12 at $206.37, below both earlier prices, and that trade ran 197 days to $277.60.

In 2022 the sequence went the other way at first. The rule sold on 2022-04-11 at $135.85 and bought again on 2022-06-10 at $128.24, a lower price, but sold four days later at $119.79 for -6.59%. The 2022-07-28 entry at $129.10 sold at $116.14, and the 2022-11-14 entry at $122.17 sold at $111.63 on 2022-12-30. The re-entry on 2023-01-17 at $125.34 was above that exit and returned 5.53% by 2023-04-26.

In 2026 the exit on 2026-03-13 came at $334.07 and the next entry on 2026-04-13 was at $385.57, so about a month of the rise happened while the account sat in cash. After the sale on 2026-07-17 at $510.35 the rule waited until 2026-09-23 and bought at $570.595, above the exit price. That open position was up 3.21% at the last close.

The 2024 trades were small: 0.59% from 2024-05-16 at $227.41 to 2024-07-29 at $228.75, then -6.11% from 2024-09-27 at $233.90 to 2024-11-13 at $219.60. Neither came near the 34.52% trade of 2025.

Largest drawdowns

PeakLow pointDepthDays to lowRecoveredDays to recover
2021-12-272023-01-19−40.3%3882024-03-07413
2024-03-072025-02-27−31.5%3572025-10-27242
2026-06-222026-09-28−22.7%98not yet–

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

Drawdowns

The deepest drawdown was 40.32%. Equity peaked on 2021-12-27, bottomed on 2023-01-19 after 388 days and recovered on 2024-03-07 after 413 more. The cause was the string of losing entries through 2022. The second, 31.54%, ran from 2024-03-07 to 2025-02-27 and recovered on 2025-10-27. The third, 22.74%, started on 2026-06-22 and reached its low on 2026-09-28 after 98 days with no recovery yet.

Buy-and-hold had three drawdowns of 45.06%, 40.93% and 28.99%. The first ran from 2021-12-27 to 2022-10-14 and recovered on 2023-12-13. The second ran from 2024-07-10 to 2025-04-08, and the third began on 2026-06-22. The fund's own deepest drawdown was 45.81%, and its longest lasted 493 sessions.

The rule's drawdowns are similar in size to holding's while it earned much less. Cutting exposure to 59.5% of sessions did not cut the losses in proportion, because the exits came after the fall had begun and the re-entries came after rallies had started. A trend rule shortens a drawdown only if its exit is early and its re-entry is not too late. Here the first drawdown peak is the same day as holding's, 2021-12-27, and the rule's low came 388 days later against 291 days for the fund.

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)7.7%−40.3%$15,2680.42
5 basis points7.3%−40.7%$14,9520.40
10 basis points7.0%−41.1%$14,7310.39

Cost runs

At 5 basis points per trade the rule made 7.26% a year with a 40.73% drawdown, ending at $14,951.74 with a Sharpe ratio of 0.402. At 10 basis points it made 6.98% with a 41.1% drawdown and $14,731.18, with a Sharpe ratio of 0.392. The headline run had a Sharpe ratio of 0.42.

There were 35 fills in 5.74 years. A charge per fill takes a larger share of a trade that makes 0.59% at the median than of one that makes 34%. The cost drag is modest here because the large winners dominate the result. Liquidity is ample: Average daily dollar volume on SOXX was $1,048,392,630, and the median minute bar traded 5,853 shares. The flat charge in the cost runs ignores the spread, which can widen on days when the fund drops 10%.

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules7.7%−40.3%1753%$15,268
SMA 5/5012.4%−33.6%2442%$19,573
SMA 20/507.5%−37.7%1450%$15,137
SMA 10/10019.5%−37.1%956%$27,819

Parameter variants

Three variants change one average. Two of them did better than the base rule, and one of those did much better.

SMA 5/50 made 12.41% a year with a 33.64% drawdown, 24 trades and 10 wins, ending at $19,572.57 with a Sharpe ratio of 0.589. SMA 20/50 made 7.49% with a 37.72% drawdown, 14 trades and 7 wins, ending at $15,136.94. SMA 10/100 made 19.51% with a 37.08% drawdown, 9 trades and 5 wins, ending at $27,818.52 with a Sharpe ratio of 0.794.

The 10/100 variant waited for a slower trend filter and traded 9 times. Its result is the best of the group and still well under holding's 31.11%. The 20/50 variant is nearly identical to the base rule. The 5/50 variant traded more often and did better, so a faster signal did not hurt on SOXX. The ranking of the four does not follow one direction, which suggests that most of the spread comes from a few trades near the 2025 and 2026 rallies. Each variant has between 9 and 24 trades, and a shift of the start date could reorder them.

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

How SOXX behaved

SOXX returned 388.35% in total, 31.81% a year, with annualized volatility of 38.08% and a maximum drawdown of 45.81%. By calendar year the fund went 44.66%, -35.07%, 66.96%, 13%, 40.68% and 95.9% from 2021 through the partial 2026. Beta to SPY was 1.84 and correlation 0.79. Correlation to QQQ was 0.87.

Up days were 53.92% of sessions, and both up and down days averaged 1.78% in size. The average intraday range was 2.58%. Lag-1 autocorrelation was -0.09, a slight tendency for a move to partly reverse the next day, and a mean-reverting feature that does not help a trend rule. The fund sat above its 200-day average for 70.68% of sessions and crossed it 38 times.

Most of the fund's return came overnight. Split by part of the session, overnight log return was 136.36% and intraday was 21.22%, which puts 86.53% of the gain in the close-to-open gaps. The rule buys at the open after its average crosses, so the overnight gaps that built the rally come before its entry.

The biggest up days were 2025-04-09 (18.84%), 2022-11-10 (10.49%), 2026-07-30 (8.78%), 2026-06-11 (8.3%) and 2025-05-12 (7.25%). The sharpest drops hit on 2026-06-05 (-10.45%), 2025-04-03 (-10.11%), 2025-04-10 (-8.34%), 2026-06-23 (-7.87%) and 2025-01-27 (-7.79%). The rule was in cash on 2025-04-09, the single best day, and bought on 2025-05-12, which is itself on the best-days list at 7.25%.

RSI(14) fell below 30 on only 7 sessions, with median forward returns of 6.1% over 5 days and 11.58% over 20 days, against baselines of 0.63% and 2.11%. A 10% drawdown inside 20 sessions occurred 43 times over 197 days. SOXX recovered quickly from sharp dips, which is the opposite of what a rule that waits for a crossover is built for. The same pattern explains why the dip buyer made 27.48% and the weekly 7% target made 30.54% on this fund.

SOXX by calendar month, weekday and sector peers

By calendar month, May averaged 11.44% for SOXX and November 8.44%. June averaged 4.84%, January 4.46%, February 2.52% and October 2%. August at -1.61% and July at -0.5% were the weakest, with September at -0.44% and March at -0.26% close to flat. Each month has five or six samples. The rule's own November 2021 gain of 11.19% and its December 2022 loss of 11% show how much one month in either direction matters on a fund this size.

Weekday averages were Monday 0.32%, Wednesday 0.23%, Thursday 0.13%, Tuesday 0.03% and Friday 0%.

SOXX correlated 1 with SOXL, 0.9 with XLK, TECL and ROM, and -1 with SOXS. Its beta to SPY was 1.84. Among the sector funds, the rule's drawdown on VOX was 19.61%, on XLP 15.63%, on XLF 27.24% and on XLY 27.48%, all shallower than SOXX at 40.32%. The rule's round trip counts across the six sector funds ran from 17 on SOXX to 22 on XLY,, so SOXX had the fewest signals of the six.

A faster average gave a different result on the same fund. The SMA 5/50 variant made 24 trades and 12.41% a year, and the SMA 10/100 variant made 9 trades and 19.51%. The published 10/50 pair sat at 7.65% with 17 round trips, below both of them.

The rules

A faster moving-average crossover: hold while the 10-day average is above the 50-day.

  1. WHEN the market opens · IF not invested AND SMA(10) > SMA(50) · THEN buy with 98% of the sleeve
  2. WHEN the market opens · IF invested AND SMA(10) < SMA(50) · THEN sell the whole position

A faster version of the golden cross. The 10- and 50-day averages catch intermediate trends measured in weeks rather than years. It enters recoveries earlier and exits breakdowns earlier, with more whipsaw trades in sideways markets. Useful for seeing how signal speed changes a strategy's results.

Good for: trending assets with multi-week swings, such as leveraged index ETFs.
Watch out: several false signals a year is normal; each whipsaw costs a small loss and they add up in flat markets.

The 10/50 trend against the other rules

The SMA 10/50 trend is last of 12 on SOXX. The weekly 7% target led at 30.54% with a 22.76% drawdown. Then came the monthly cycle at 29.17%, the golden cross at 28.24% with a 28.82% drawdown, and the dip buyer at 27.48%. In the middle sat the trend plus trailing stop at 19.81%, the 200-day regime filter at 19.21% and the EMA 12/26 trend at 17.96%. Below them were the RSI(2) snapback at 17.01%, the momentum breakout 16.73%, the 3-month momentum 14.3% and the RSI mean reversion 12.78%.

The order follows the speed of the exit. The golden cross, which needs a long-term cross, made 28.24% on SOXX, and the faster 10/50 cross made 7.65%. The template describes itself as a way to see how signal speed changes results, and on this fund the answer is that faster lost most of the trend.

Across the six sector funds the rule gave 9.47% on XLK, 7.65% on SOXX, 6.06% on VOX, 4.02% on XLF, 1.21% on XLP and 0.35% on XLY. SOXX ranked second of six in the category. The rule's drawdown on SOXX, 40.32%, was the deepest of the six, against 25.64% on XLK.

Where the test stops: one 5.74 year window, a single fund, 17 closed trades, and a headline run with no charges. Everything here is hypothetical.

Run SMA 10/50 trend 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 SMA 10/50 trend beat buy-and-hold on SOXX?

Over 2021-01-04 to 2026-10-02, SMA 10/50 trend on SOXX returned 7.7% annualized vs 31.1% for buy-and-hold: it trailed buy-and-hold by 23.5% per year, with a maximum drawdown 4.7 points shallower than holding (40.3% vs 45.1%).

How many trades did it make?

17 completed round trips over 5.7 years (35 fills), with 53% of round trips closing profitably.

Why 10 and 50 days?

A common intermediate-trend pairing. It reacts within weeks and ignores single bad days. Both windows are editable parameters in DeployQuant.

How did the SMA 10/50 trend perform on SOXX?

It made 7.65% a year from 2021-01-04 to 2026-10-02 and turned $10,000 into $15,267.54. The maximum drawdown was 40.32% and the Sharpe ratio was 0.42. It closed 17 round trips and won 9.

Did the SMA 10/50 trend beat buy-and-hold on SOXX?

No. Buy-and-hold made 31.11% a year and ended at $47,348. The rule trailed in every calendar year, and its drawdown of 40.32% was only slightly shallower than the 45.06% from holding.

Which year was worst for the rule?

2022, at -37.1%, against -34.5% for the fund. Five trades closed that year and only one won, with four entries ending in losses of 6.59% to 15.13%.

What was the best trade?

34.52%, from 2025-05-12 at an adjusted $206.37 to 2025-11-25 at $277.60 over 197 days. The second best was 32.36% in 2026. These two trades carried most of the gain.

Do different moving average settings change the result on SOXX?

Yes. SMA 10/100 made 19.51% a year over 9 trades and SMA 5/50 made 12.41% over 24 trades. SMA 20/50 made 7.49%. All three are small samples, and none reached holding's 31.11%.

How much do costs matter for this rule on SOXX?

Modestly. At 5 basis points the rule made 7.26% a year and at 10 basis points 6.98%. The record has 35 fills, and SOXX traded an average of $1,048,392,630 a day.

Why does the rule rank last on SOXX?

SOXX recovered quickly from dips and gained most of its return overnight. A 10/50 crossover exited after drops had begun and re-entered after rallies had started, so it gave up much of the trend that the other 11 rules kept.

Related

SMA 10/50 Trend 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.