Drawdown Dip Buyer + 8% Target 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.
The dip buyer waits for a drop of more than 10% from the 20-day high, buys with 98% of the account, and leaves a limit order 8% above the entry price. On SOXX, the semiconductor fund, it turned $10,000 into $40,303 between 2021-01-04 and 2026-10-02. That is a total return of 303.03% and a CAGR of 27.48%, with a maximum drawdown of 39.25% and a Sharpe ratio of 0.93.
Holding SOXX over the same dates finished at $47,348. That held position compounded at 31.11% a year, fell 45.06% at its worst and had a Sharpe of 0.92. The rule trailed by 3.63 points of CAGR and finished $7,044.88 behind in dollars. Its drawdown was 5.81 points shallower. Sharpe was about level, so the two paths carried similar risk for each unit of return.
All 19 closed round trips were winners, which gives the 100% win rate. The 20th trade is still open. It bought on 2026-06-15 at an adjusted 623.44 and was marked at -5.54% on the last day. The win rate therefore describes closed trades only, and the template has no stop to cut a loser. The rule held a position on 64.4% of sessions and sat in cash on the rest.
SOXX is the best fund for this rule among the 59 tested. Among the twelve templates on SOXX the dip buyer ranks 4th by CAGR. The median result for the rule across all 59 funds was 1.33%, and across the six sector funds 6.78%, so SOXX at 27.48% is far from typical. The sector peers made 7.85% on XLK, 6.78% on XLF, 4.06% on VOX, 4.01% on XLY and 1.32% on XLP. The result depends on a volatile fund that fell 10% often and recovered every time within the window.
Year by year
| Year | dip buyer | buy & hold |
|---|---|---|
| 2021 | 35.6% | 43.6% |
| 2022 | −28.8% | −34.5% |
| 2023 | 89.6% | 65.3% |
| 2024 | 4.8% | 12.8% |
| 2025 | 30.2% | 40.1% |
| 2026 | 61.5% | 95.0% |
Six years against the fund
The rule returned 35.6%, -28.8%, 89.6%, 4.8%, 30.2% and 61.5% from 2021 to the partial 2026. The fund returned 43.6%, -34.5%, 65.3%, 12.8%, 40.1% and 95% in the same years. The rule was ahead in 2022 by 5.7 points and in 2023 by 24.3. It was behind by 8 points in 2021 and 2024, by 9.9 in 2025 and by 33.5 in 2026.
In 2021 the rule made four trades, all in the first half. It bought on 2021-03-05 at 125.35 and sold on 2021-03-17 at 135.38. It bought again on 2021-03-18 and sold on 2021-04-05, then bought on 2021-05-13 and sold on 2021-05-25. The fourth, from 2021-05-25 at 136.35 to 2021-08-02 at 147.67, ran 69 days. From September to December the fund kept rising without a 10% dip, and the account held cash in every one of those months.
2022 was one trade. The rule bought on 2022-01-20 at 160.93 and the 8% target at about 173.80 was not touched until 2023-07-17. The position sat through the whole 2022 decline for 543 days, which is why the year ended at -28.8%, near the fund's -34.5%. The only gap in the loss came from buying after the fund had already fallen, and the rule had no stop to leave early.
2023 was the best year relative to the fund. The old position recovered from its losses early in the year, with January at 15.33%, March at 8.63% and May at 15.1%. It sold on 2023-07-17, and three quick trades followed: 2023-08-18 to 2023-08-31, 2023-10-27 to 2023-11-09 and 2023-11-09 to 2023-11-20. The year finished at 89.6% against 65.3% for the fund.
2024 returned 4.8% against 12.8%. Two trades in April and May, 2024-04-22 to 2024-04-26 and 2024-04-29 to 2024-05-20, made the gains. The next entry, on 2024-07-22 at 237.71, then ran 421 days until 2025-09-16, which explains why 2024 and most of 2025 look muted. Five of the six months from July to December 2024 were negative, and that position carried through the 2025 low in April.
2025 returned 30.2% against 40.1%. The rule made 10.92% in May and 16.35% in June as the held position recovered, then sold in September and traded twice more in the autumn. 2026 returned 61.5% against 95%. The shortfall of 33.5 points is the largest in any year. The fund's April 2026 gain was 40.13% and the rule's was 37.33%, but a dip buyer that holds a position only 64.4% of the time cannot keep up with a fund that moves almost straight up.
Month by month
| Year | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2021 | 0.0% | 0.0% | 10.4% | 5.2% | 9.5% | 5.0% | 0.6% | 0.9% | 0.0% | 0.0% | 0.0% | 0.0% |
| 2022 | −4.0% | −1.2% | −0.2% | −14.8% | 6.2% | −17.0% | 15.7% | −9.0% | −12.9% | 2.5% | 18.2% | −9.7% |
| 2023 | 15.3% | 1.4% | 8.6% | −7.1% | 15.1% | 6.5% | 4.8% | 7.8% | 0.0% | −0.7% | 17.0% | 0.0% |
| 2024 | 0.0% | 0.0% | 0.0% | 6.3% | 9.3% | 0.0% | −2.2% | −1.7% | −0.0% | −5.2% | −1.2% | 0.2% |
| 2025 | 1.2% | −4.3% | −9.4% | −2.2% | 10.9% | 16.4% | 0.5% | 2.1% | 5.4% | 0.0% | 6.6% | 1.9% |
| 2026 | 7.1% | 0.0% | 4.0% | 37.3% | 2.0% | 12.2% | −20.5% | 1.3% | 10.8% | 3.5% | – | – |
Months in cash and months at risk
Zeros fill the month table wherever the rule held cash. The longest cash stretches were September to December 2021, January to March 2024, June 2024, October 2025 and February 2026. Each lines up with a period of steady gains, since the entry needs a fall of more than 10% inside 20 sessions.
The best month was 2026-04 at 37.33%, against 40.13% for the fund. The worst was 2026-07 at -20.53%, against -21.13% for the fund. The July loss came from the trade bought on 2026-06-15, which was open when the fund fell from its 2026-06-22 peak to the 2026-07-29 low.
2022 holds most of the red months: -14.81% in April, -17.02% in June, -9.04% in August, -12.88% in September and -9.72% in December. The positive months were 15.71% in July and 18.18% in November. The pattern is the held position moving with the fund, since the rule was invested in the same trade from January 2022 to July 2023.
SOXX itself averaged 11.44% in May and 8.44% in November, with August the weakest at -1.61%. Each calendar month has only 5 or 6 observations behind it. Six observations are too few to treat as a pattern. They do show how lumpy SOXX is: a single strong month changes a year.
Every trade
dip buyer on SOXX made 19 closed round trips and one position still open at the end of the test, an average hold of 66 days, an average winner of 8.13%. It held a position at the close on 64.4% of trading days.
| Entry | Entry price | Exit | Exit price | Return | Days held |
|---|---|---|---|---|---|
| 2021-03-05 | $125.35 | 2021-03-17 | $135.38 | 8.0% | 12 |
| 2021-03-18 | $132.41 | 2021-04-05 | $143.00 | 8.0% | 18 |
| 2021-05-13 | $126.47 | 2021-05-25 | $136.72 | 8.1% | 12 |
| 2021-05-25 | $136.35 | 2021-08-02 | $147.67 | 8.3% | 69 |
| 2022-01-20 | $160.93 | 2023-07-17 | $173.80 | 8.0% | 543 |
| 2023-08-18 | $154.17 | 2023-08-31 | $166.50 | 8.0% | 13 |
| 2023-10-27 | $145.98 | 2023-11-09 | $157.66 | 8.0% | 13 |
| 2023-11-09 | $157.62 | 2023-11-20 | $170.23 | 8.0% | 11 |
| 2024-04-22 | $197.55 | 2024-04-26 | $213.35 | 8.0% | 4 |
| 2024-04-29 | $213.87 | 2024-05-20 | $230.98 | 8.0% | 21 |
| 2024-07-22 | $237.71 | 2025-09-16 | $257.46 | 8.3% | 421 |
| 2025-11-19 | $277.11 | 2025-12-02 | $299.48 | 8.1% | 13 |
| 2025-12-02 | $298.58 | 2026-01-06 | $322.47 | 8.0% | 35 |
| 2026-03-09 | $318.53 | 2026-03-10 | $344.01 | 8.0% | 1 |
| 2026-03-11 | $340.86 | 2026-04-08 | $368.13 | 8.0% | 28 |
| 2026-04-08 | $368.07 | 2026-04-14 | $397.52 | 8.0% | 6 |
| 2026-04-14 | $396.95 | 2026-04-22 | $428.71 | 8.0% | 8 |
| 2026-04-23 | $435.48 | 2026-05-05 | $470.61 | 8.1% | 12 |
| 2026-06-08 | $567.50 | 2026-06-15 | $622.20 | 9.6% | 7 |
| 2026-06-15 | $623.44 | open | – | −5.5% | – |
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
Nineteen trades closed and one was open at the end. Eighteen of the closed trades returned between 8% and 8.31%, which is the limit order doing its job. The best trade returned 9.64%, from 2026-06-08 at 567.5 to 2026-06-15 at 622.2 in 7 days. That one beat the target because the fund opened above the limit price and the order filled at the better level. The next best were 8.31% (2024-07-22 to 2025-09-16, 421 days), 8.3% (2021-05-25 to 2021-08-02, 69 days), 8.1% and 8.07%.
The median trade returned 8% and the median hold was 13 days. Trades ran from 1 day, on 2026-03-09 to 2026-03-10, to 543 days. The average hold was 65.6 days. Two trades account for most of the time in the market: the 543 days from 2022-01-20 and the 421 days from 2024-07-22. Most of the other trades took between 1 and 35 days, with 69 days the longest of the rest.
Wins by exit year were 4 of 4 in 2021, 4 of 4 in 2023, 2 of 2 in 2024, 2 of 2 in 2025 and 7 of 7 in 2026. No trade exited in 2022. Seven of the 19 closed trades came in 2026, six of them in the stretch from 2026-03-09 to 2026-06-15, as the fund moved from a low near 318.53 to 623.44. In March and April 2026 five trades closed within a few weeks of each other, each with a 6 to 28 day hold.
The profit factor and average loss are empty because no closed trade lost money. This is the weakness of the dip buyer's trade statistics. Capped winners come from a fixed target, and uncapped losers come from the missing stop. A 100% win rate reflects 19 trades in a fund that rose over the window, and the open 2026-06-15 position, at -5.54%, shows the other side. The template notes say the same: single trades dominate results when counts are low.
Prices in the trade list are adjusted for splits and dividends and sit below the quotes of the day.
Largest drawdowns
| Peak | Low point | Depth | Days to low | Recovered | Days to recover |
|---|---|---|---|---|---|
| 2022-02-09 | 2022-10-14 | −39.3% | 247 | 2023-06-12 | 241 |
| 2024-07-22 | 2025-04-08 | −35.8% | 260 | 2025-07-10 | 93 |
| 2026-06-22 | 2026-07-29 | −28.2% | 37 | not yet | – |
Buy-and-hold's deepest drawdown ran from 2021-12-27 to 2022-10-14 and reached −45.1%.
Three drawdowns, one of them still open
The deepest drawdown was 39.25%, from a peak on 2022-02-09 to a low on 2022-10-14, 247 days. The account recovered on 2023-06-12, 241 days after the low. The fund's own worst was 45.06% for buy-and-hold, from 2021-12-27 to the same low, with recovery on 2023-12-13 after 425 days. The rule's drawdown was shallower and ended about six months earlier, because the 8% target took the rule out in July 2023 and then it bought again after the next fall.
The second drawdown was 35.82%, from 2024-07-22 to 2025-04-08, 260 days, and it recovered on 2025-07-10 after 93 days. The peak date is the day the rule bought at 237.71, so the whole decline came after the entry. Buy-and-hold lost 40.93% in the same episode and recovered on 2025-09-18.
The third, 28.18%, ran 37 days from 2026-06-22 to 2026-07-29 and had not recovered by the end of the data. Buy-and-hold lost 28.99% in the same stretch. Both were hit by a fund that fell fast after a very strong run.
The drawdowns share a feature. Each began with a position bought after a 10% dip that kept falling. The rule buys on weakness and has no exit other than the target, so it holds through the further fall. On SOXX it kept getting back to the target, and the 100% win rate shows that. A fund that fell for years without bouncing 8% would have left the rule holding one position indefinitely.
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) | 27.5% | −39.3% | $40,303 | 0.93 |
| 5 basis points | 27.4% | −39.3% | $40,227 | 0.93 |
| 10 basis points | 27.4% | −39.4% | $40,169 | 0.92 |
Effect of slippage
Charging 5 basis points on each fill lowered the CAGR to 27.44%, with a 39.31% drawdown, $40,226.56 of end equity and a Sharpe of 0.925. At 10 basis points the CAGR was 27.4%, the drawdown 39.36%, end equity $40,169.03 and the Sharpe 0.923. The effect is small because the rule made 39 fills in 5.74 years.
SOXX is liquid. It averaged $1,048,392,630 of daily dollar volume, with a median of 5,853 shares a minute. The cost runs are flat charges per fill and do not model the size of an order against that volume.
Changing the parameters
| Version | CAGR | Max drawdown | Round trips | Win rate | Final value |
|---|---|---|---|---|---|
| Published rules | 27.5% | −39.3% | 19 | 100% | $40,303 |
| -7% drawdown / 8% target | 23.0% | −40.8% | 16 | 100% | $32,801 |
| -15% drawdown / 8% target | 4.6% | −39.5% | 3 | 100% | $12,917 |
| -10% drawdown / 6% target | 21.6% | −39.2% | 20 | 100% | $30,712 |
| -10% drawdown / 10% target | 22.0% | −39.2% | 12 | 100% | $31,312 |
What the parameter variants change
Four variants were tested, and each made less than the published rules at 27.48%.
A -7% entry made 22.99% with a 40.81% drawdown and 16 trades, ending at $32,800.89. A -15% entry made 4.56% with 3 trades and a 39.54% drawdown, ending at $12,917.42, and its Sharpe fell to 0.299. A 6% target made 21.58% with 20 trades and a 39.17% drawdown. A 10% target made 22% with 12 trades and a 39.23% drawdown.
The -15% variant shows how much depends on the entry level. It waited for a deeper fall and found only 3 entries in the window, so most of the time it held cash while the fund rose. The -7% variant entered earlier, but its trade count fell to 16 because earlier entries stayed open longer before they reached the target. Its drawdown was the deepest of the five runs.
The two target variants kept the entry and changed only the exit. A 6% target left less on each trade, and a 10% target waited longer, and both gave about the same CAGR, 21.58% and 22%, each below the published 8%. Drawdown barely moved, 39.17% to 39.23%, since it was set by the 2022 position either way.
The published 10% and 8% pair was chosen as a template default and not tuned on SOXX, yet it comes out best of the five on this fund. Four alternatives from one window do not show that the pair is optimal. The ordering is probably a feature of the data, and a different window could rank the variants differently. All five variants had a win rate of 100% on closed trades.
How SOXX behaved
| Measure | SOXX |
|---|---|
| Data in this test | 2021-01-04 to 2026-10-02 (1444 sessions) |
| Total return, buy and hold | 388.4% |
| Annualized volatility | 38.1% |
| Deepest drawdown | −45.8% (2021-12-27 to 2022-10-14) |
| Up days | 53.9% |
| Average daily range | 2.58% |
| Average overnight gap | 1.07% |
| Correlation to SPY | 0.79 |
| Correlation to QQQ | 0.87 |
| Correlation to TLT | 0.05 |
| Sessions above the 200-day average | 70.7% |
| Crossings of the 200-day average | 38 |
| Falls of 10% or more from a 20-day high | 43 |
Why SOXX suits a dip buyer
SOXX returned 388.35% over the window, a CAGR of 31.81% on a price basis, with annualized volatility of 38.08%. Its deepest drawdown was 45.81%, from 2021-12-27 to 2022-10-14, and it did not recover until 2023-12-13. The longest drawdown lasted 493 sessions. Year by year the fund gained 44.66% in 2021, lost 35.07% in 2022, then gained 66.96% in 2023, 13% in 2024, 40.68% in 2025 and 95.9% so far in 2026.
The fund fell 10% or more from a 20-day high 43 times, across 197 sessions. That is how often the rule's entry condition was available. The rule took only some of them, since it cannot buy while already invested. RSI(14) dropped under 30 on just 7 sessions. After those, the median 5-day return was 6.1% against a baseline of 0.63%, and the median over 20 days was 11.58% against 2.11%. Seven observations are a small base. RSI(2) below 10 on 133 sessions gave 0.89% and 3.58%.
The average up day was 1.78% and the average down day was -1.78%, with 53.92% of days up. A typical session spanned 2.58% from low to high, and the typical gap between one close and the next open was 1.07%. Overnight moves made up 86.53% of the log return, 136.36 of a combined figure against 21.22 intraday. The rule enters at the open and exits on a resting limit order, so it sees the overnight gaps that carried most of the fund's return.
The fund moved with the growth end of the US market. Against SPY the fund had a beta of 1.84 and a correlation of 0.79, and against QQQ a beta of 1.49 and a correlation of 0.87. TLT showed 0.11 and 0.05. The closest co-movers were SOXL at 1, then XLK, TECL and ROM at 0.9 each, with QQQM at 0.87. SOXS sat at -1.
The price closed over the 200-day average on 70.68% of sessions, with 38 crossings of that line. Lag-1 autocorrelation of daily returns was -0.09, a slight tendency for a rise to be followed by a fall. That is the shape a dip buyer wants: sharp selloffs followed by recoveries. The best day was 2025-04-09 at 18.84% and the worst was 2026-06-05 at -10.45%. A resting 8% limit order captures a bounce of that size within days, which the 1-day trade on 2026-03-09 shows. Full fund detail is on the SOXX page.
The rules
Wait for a 10% drawdown from the 20-day high, buy it, and take profit at +8%.
- WHEN the market opens · IF not invested AND the 20-day drawdown is worse than −10% · THEN buy with 98% of the sleeve
- WHILE invested · a managed limit order rests at entry price × 1.08
A rule-based buy-the-dip. The entry is a measured 10% drawdown inside the trailing 20 sessions, and the exit is a resting +8% limit order. Between signals the sleeve sits in cash, so the template can wait months for an entry.
Good for: assets that sell off hard and recover; it trades volatility without chasing strength.
Watch out: no stop-loss: if the dip keeps falling, the position rides it down until the +8% target is reached or the strategy is stopped. Trade counts are low, so single trades dominate results.
The dip buyer next to the other templates on SOXX
The weekly 7% target led on SOXX at 30.54% with a 22.76% drawdown. The monthly cycle made 29.17% with 44.51%, the golden cross 28.24% with 28.82%, and the dip buyer 27.48% with 39.25%.
The middle of the table held the trend plus trailing stop at 19.81%, the 200-day regime filter at 19.21%, the EMA 12/26 trend at 17.96%, and the RSI(2) snapback, which made 17.01% with a 23.81% drawdown. At the bottom were the momentum breakout at 16.73%, 3-month momentum at 14.3%, RSI mean reversion at 12.78%, and last the SMA 10/50 trend, which earned 7.65% while drawing down 40.32%.
The dip buyer and the golden cross are close on return, but the golden cross had a drawdown of 28.82% against 39.25%. The rule that waits for a fall carried the 2022 position through the whole decline, and the trend rule stepped aside. RSI(2) is the nearest relative among the dip rules. It buys sharper, shorter drops and had the shallower drawdown at 23.81%, though it earned less.
Everything here comes from SOXX alone over 5.74 years, and the headline run charged no fees or slippage. The rule made 19 closed trades and each was a winner. A fund that fell for longer than SOXX did in 2022 would have left the position open for far longer than 543 days. The wider rule set is on the dip buyer 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 dip buyer beat buy-and-hold on SOXX?
Over 2021-01-04 to 2026-10-02, dip buyer on SOXX returned 27.5% annualized vs 31.1% for buy-and-hold: it trailed buy-and-hold by 3.6% per year, with a maximum drawdown 5.8 points shallower than holding (39.3% vs 45.1%).
How many trades did it make?
19 completed round trips over 5.7 years (39 fills), with 100% of round trips closing profitably.
What counts as a 10% dip?
The engine computes the worst peak-to-trough move within the last 20 sessions. When it is deeper than −10%, the entry condition is met. Both the window and the threshold are editable parameters.
How did the dip buyer do on SOXX?
It turned $10,000 into $40,303, a CAGR of 27.48% with a 39.25% maximum drawdown and a Sharpe of 0.93. It made 19 closed round trips, all winners, and one position was still open at the end. It ranks 4th of 12 templates on SOXX.
Did the dip buyer beat buy-and-hold on SOXX?
No. Buy-and-hold made 31.11% a year and ended at $47,348. The rule trailed by 3.63 points of CAGR, with a drawdown of 39.25% against 45.06%. It was ahead only in 2022 and 2023.
Why is the win rate 100% when the template has no stop?
The 19 closed trades each reached the 8% target, because SOXX recovered after every dip in the window. The open trade from 2026-06-15 stood at -5.54%. With no stop, a fund that kept falling would leave a losing position open.
What was the longest trade?
The position bought on 2022-01-20 at 160.93 was held for 543 days and sold on 2023-07-17 at 173.8. The next longest ran 421 days, from 2024-07-22 to 2025-09-16. Together they account for most of the time invested.
What happens with a different dip size or target?
A -7% entry made 22.99%, a -15% entry made 4.56% with 3 trades, a 6% target made 21.58% and a 10% target made 22%. All were below the published 27.48%. These come from one window, so they show sensitivity and do not name a best setting.
How much did costs change the result?
At 5 basis points the CAGR was 27.44% and at 10 basis points 27.4%. The rule made only 39 fills in 5.74 years, so costs barely register.
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.