Learn › Strategies › Weekly Entry + 7% Target › XLK

Weekly Entry + 7% Target on XLK

Technology Select Sector SPDR Fund: S&P 500 technology stocks, the sector behind most recent bull runs. Backtest 2021-01-04 to 2026-10-02, $10,000 starting capital, computed by the same engine that runs live DeployQuant strategies.

Result: weekly 7% target on XLK turned $10,000 into $29,024 (190.2% total, 20.4% CAGR): it trailed buy-and-hold by 1.7% per year, with a maximum drawdown 12.3 points shallower than holding (20.7% vs 33.0%).

Each week the weekly 7% target buys at the first open, parks a +7% limit order at the broker, and dumps the position at 2:00pm on the second-to-last session of the week when it is under water. It was run on XLK, the Technology Select Sector SPDR Fund, a basket of S&P 500 technology stocks. From 2021-01-04 to 2026-10-02 a $10,000 start reached $29,024.37. That is a CAGR of 20.39%, a total return of 190.24%, a maximum drawdown of 20.67% and a Sharpe ratio of 0.98.

Holding XLK ended higher, at $31,425.04 and 22.07% a year, but it sat through a 32.96% drawdown and earned a Sharpe ratio of 0.95. The rule surrendered 1.68 points of CAGR and $2,400.67 of ending equity, and in exchange its worst fall was 12.29 points shallower with a slightly higher Sharpe ratio. Three of the six years went the rule's way: 2022, 2024 and 2025.

The record is large for a template page. It closed 125 round trips from 251 fills and left one open. Forty-three won, a win rate of 34%, with an average win of 7.14% and an average loss of 2.28%, which produced a profit factor of 1.61. The average hold was 12.3 days and the rule was invested 79.8% of the time. The median trade lost 0.57%, so the profit sits in a minority of trades that reached the target.

Only the monthly cycle at 20.86% beat it among the 12 templates on XLK, and XLK stands 10th of 59 funds for this strategy. SOXX is the one sector fund that did better, at 30.54%. Median CAGR for the strategy is 6.61% over all 59 funds and 10.19% over the sector group. The window covers 5.74 years of daily decisions with no margin, and the headline run charges no fees or slippage. The XLK fund page sets out every template for this fund.

20.4%CAGR
22.1%buy & hold CAGR
−20.7%max drawdown
0.98Sharpe ratio
125round trips
34%win rate
■ weekly 7% target   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

Yearweekly 7% targetbuy & hold
202124.3%36.1%
2022−11.6%−27.2%
202340.7%54.6%
202426.8%21.3%
202528.0%24.3%
202617.9%38.9%

Year by year against holding

Calendar returns for the rule were 24.3% in 2021, -11.6% in 2022, 40.7% in 2023, 26.8% in 2024, 28% in 2025 and 17.9% so far in 2026. For holding they were 36.1%, -27.2%, 54.6%, 21.3%, 24.3% and 38.9%. The rule led in the one down year and in two up years, and fell behind in the three years XLK rose fastest.

2021 gave the rule 24.3% against 36.1%, from 17 round trips and 6 wins. The opening trade started on 2021-01-04 at an adjusted $62.51 and was sold on 2021-01-07 at $62.12 for -0.62%, the first of many small losses. January returned 1.51% and February 1.11%, March lost 2.71% and May lost 4.06%. June returned 5.28%, and October and November returned 6.85% and 6.71%. The strongest months were in the autumn, and the weaker ones came in spring.

In 2022 the rule did its job. It lost 11.6% while XLK lost 27.2%, a lead of 15.6 points that was the largest in the record, over 27 round trips of which only 7 won. The rule absorbed losses in April at -6.65%, September at -8.29% and December at -7.69%, and caught July at 11.62% and October at 6.36%. Its two worst trades came that year: -7.01% from 2022-10-31 to 2022-11-03 and -6.76% from 2022-05-09 to 2022-05-12, both over 3 days. The Thursday exit cut those short, and the rule did not hold through the whole of the XLK drawdown from the 2021-12-27 peak to the 2022-10-12 low.

2023 returned 40.7% against 54.6%. 17 trips and 7 wins. March returned 11.73%, May 8.4% and November 9.39%. September lost 6.03%. The rule participated in the rebound but sold winners at the +7% target and sat out the rest of those weeks, which left it well behind the fund in the strongest year.

2024 returned 26.8% against 21.3%. 21 trips and 8 wins. August returned 9.79% and June 6.31%, with April at -4.25%. This is one of the three years the rule won. July 2024 lost 3.28% and the next month more than recovered it.

2025 returned 28% against 24.3%. 25 trips and 9 wins. March lost 8.71%, the worst month of the record, then May returned 9.94% and June 10.05%. The best 2025 trade was 8.95% from 2025-04-28 to 2025-05-12. The worst, -5.76%, was from 2025-04-14 to 2025-04-16, a 2-day hold during the April swings.

2026 so far is 17.9% against 38.9%, the largest shortfall in the record. 18 trips and 6 wins. April returned 19.77%, the best month, and May 11.15%. The best trade of the run was 9.21% from 2026-03-30 to 2026-04-08. Then June lost 6.37% and July lost 8.02%. The open position from 2026-09-28 at $195.4 shows 2.28% on the last day.

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20211.5%1.1%−2.7%1.6%−4.1%5.3%3.8%3.4%−5.2%6.8%6.7%4.5%
2022−0.9%−4.0%4.3%−6.7%−2.6%−3.5%11.6%−1.7%−8.3%6.4%2.9%−7.7%
20235.1%0.4%11.7%−0.1%8.4%2.7%2.6%−0.4%−6.0%−0.7%9.4%2.8%
20240.8%3.1%0.8%−4.3%5.2%6.3%−3.3%9.8%5.5%−1.4%4.1%−1.7%
20254.3%−0.9%−8.7%3.6%9.9%10.1%4.7%0.0%3.6%6.4%−6.6%0.4%
2026−2.6%−4.9%−2.5%19.8%11.2%−6.4%−8.0%7.4%3.9%2.1%––

Best and worst months

Top months were April 2026 at 19.77%, March 2023 at 11.73%, July 2022 at 11.62%, May 2026 at 11.15% and June 2025 at 10.05%. The five worst were March 2025 at -8.71%, July 2026 at -8.02%, September 2022 at -8.29%, December 2022 at -7.69% and November 2025 at -6.64%. Holding's extremes were April 2026 at 19.71% and September 2022 at -11.65%.

Monthly outcomes were wide. A 7% target and a Thursday exit limit each trade, but the rule was invested most of the time, so the monthly column moves with the fund. The rule's drawdown of 20.67% is better than holding's 32.96%, and its worst month is shallower than holding's worst, yet both columns are volatile.

The fund's month-of-year averages show a strong May at 7.38%, October at 4.19% and November at 4.79%, with September at -1.48% and February at -0.7%. Each has only 5 or 6 observations behind it, so it describes this window alone. The rule's own record is consistent with them: May 2023, May 2025 and May 2026 were strong, and September 2022 and September 2023 were weak.

Several runs of consecutive losing months stand out. January to March 2026 lost 2.65%, 4.87% and 2.5%, and then April 2026 returned 19.77%. In 2022 the rule lost in April, May and June in a row, then returned 11.62% in July. A rule with a 34% win rate has losing weeks inside almost every month, and the monthly return depends on whether one or two target hits land in the right weeks.

Every trade

weekly 7% target on XLK made 125 closed round trips and one position still open at the end of the test, an average hold of 12 days, an average winner of 7.14%, an average loser of −2.28%, a profit factor of 1.61, a longest losing streak of 9. It held a position at the close on 79.8% of trading days.

Best 10 round trips

EntryEntry priceExitExit priceReturnDays held
2026-03-30$130.752026-04-08$142.799.2%9
2025-04-28$103.272025-05-12$112.518.9%14
2026-04-13$142.082026-04-17$153.708.2%4
2026-05-11$175.972026-05-29$189.167.5%18
2023-10-30$79.372023-11-07$85.067.2%8
2021-03-08$61.672021-04-05$65.997.0%28
2021-05-17$64.792021-06-22$69.337.0%36
2021-11-01$77.792021-11-22$83.247.0%21
2022-07-25$66.502022-08-03$71.167.0%9
2023-01-09$61.512023-01-23$65.827.0%14

Worst 10 round trips

EntryEntry priceExitExit priceReturnDays held
2022-10-31$62.472022-11-03$58.09−7.0%3
2022-05-09$67.002022-05-12$62.47−6.8%3
2026-01-26$144.402026-02-05$135.72−6.0%10
2021-03-01$63.702021-03-04$59.89−6.0%3
2025-04-14$101.382025-04-16$95.54−5.8%2
2026-06-01$191.382026-06-11$180.82−5.5%10
2024-08-19$109.012024-09-05$103.62−4.9%17
2022-02-28$73.942022-03-10$70.41−4.8%10
2025-03-03$112.192025-03-06$106.86−4.8%3
2025-11-03$151.192025-11-06$144.27−4.6%3

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 125 trades looked like

Most trades were small losses. Returns had a median of -0.57%, and holds had a median of 8 days, a maximum of 73 days and a minimum of 0 days. Of the 125 closed trips, 43 won. The longest losing streak was 9 trades against a longest winning streak of 5.

The best trades were 9.21% from 2026-03-30 to 2026-04-08 over 9 days, 8.95% from 2025-04-28 to 2025-05-12 over 14 days, 8.18% from 2026-04-13 to 2026-04-17 over 4 days, 7.5% from 2026-05-11 to 2026-05-29 over 18 days and 7.17% from 2023-10-30 to 2023-11-07 over 8 days. Each exceeded the 7% target by a little, since a limit order that fills on a gap or a fast move executes at a better price than the target level, and the average win was 7.14%.

The worst trades were -7.01% from 2022-10-31 to 2022-11-03, -6.76% from 2022-05-09 to 2022-05-12, -6.01% from 2026-01-26 to 2026-02-05, -5.98% from 2021-03-01 to 2021-03-04 and -5.76% from 2025-04-14 to 2025-04-16. Four of those five ran only 2 or 3 days. The time exit at Thursday 2:00pm ended them before the loss grew, and the largest loss of any trade was 7.01%.

Per exit year the record was 17 round trips and 6 wins in 2021, 27 and 7 in 2022, 17 and 7 in 2023, 21 and 8 in 2024, 25 and 9 in 2025, and 18 and 6 in 2026. No year had more than 9 wins and every year had at least 6, so the result came from a repeated pattern and not from one lucky period.

An average win of 7.14% set against an average loss of 2.28% lets the rule profit even with a 34% win rate, and the profit factor of 1.61 says gross profit exceeded gross loss by a modest margin. The strategy page says the template needs the +7% winners to cover the many small losses and leaves the per-ETF results to test that. On XLK the winners paid for the losers with room to spare.

Listed prices are adjusted for splits and dividends, so the 2021 entry at $62.51 and the open 2026 position at $195.4 are on the same adjusted scale.

Largest drawdowns

PeakLow pointDepthDays to lowRecoveredDays to recover
2026-06-022026-07-29−20.7%57not yet–
2025-10-312026-03-30−18.7%1502026-04-2223
2025-02-182025-04-21−17.9%622025-06-0343

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

Drawdowns and the open one

The rule's deepest drawdown, 20.67%, began at a peak on 2026-06-02 and bottomed on 2026-07-29, 57 days on, and remained open when the data ended. It sits in the latest part of the record: June 2026 lost 6.37% and July lost 8.02%, then August and September returned 7.42% and 3.88%. The drawdown remains open on the last day, even with two positive months since the low.

The second was 18.71%, from 2025-10-31 to 2026-03-30, 150 days to the low and recovered on 2026-04-22 after 23 days. That one included November 2025 at -6.64% and the three losing months from January to March 2026. The third was 17.95%, from 2025-02-18 to 2025-04-21, 62 days to the low with recovery on 2025-06-03.

For holding, the largest drawdown was 32.96%, running 2021-12-27 to 2022-10-12 (289 days down) and recovering on 2023-06-15 after 246 more. A 25.29% drawdown followed from 2025-02-18 to 2025-04-08, recovering on 2025-06-12, and a 16.74% one from 2024-07-10 to 2024-08-07, recovering on 2024-11-07. The rule's maximum drawdown was 12.29 points shallower than holding's. Most of that comes from 2022, where the rule's weekly resets kept it from riding the whole decline.

The fund's own maximum drawdown was -33.58% across the same dates, with a longest drawdown of 368 sessions. It spent 76.47% of sessions over its 200-day average and crossed that line 22 times, which marks a market with strong trends and a few sharp breaks. The rule's drawdowns in 2025 and 2026 started from the same peaks as holding's, in February 2025, but ended up shallower. In both cases the fall came in fast legs, April 2025 and June to July 2026, and a weekly rule has less time to be wrong than a buy-and-hold position.

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)20.4%−20.7%$29,0240.98
5 basis points18.8%−21.0%$26,8660.92
10 basis points16.5%−21.3%$24,0180.83

Costs matter on 251 fills

Costs show up most clearly on this page. Charging 5 basis points per fill cut the CAGR from 20.39% to 18.78%, the maximum drawdown was 21%, the ending equity was $26,865.71 and the Sharpe ratio was 0.92. Charging 10 basis points left 16.49%, a 21.31% drawdown, $24,018.15 and a Sharpe ratio of 0.829.

Each step took a visible slice of CAGR, since every round trip pays the charge twice. With 10 basis points the rule's 16.49% sits well under the 22.07% for holding. The drawdown lead remains, and the return gap against holding widens.

The runs apply one flat charge to every fill and are not measured spreads, and a +7% limit order that rests at the broker may fill without any slippage at all. Still, the Thursday exit is a market order on a position that is already losing, and the entry is at the open. The fund is highly liquid: average daily dollar volume was $1,324,049,811 and the median minute volume was 20,984 shares, so a $10,000 order has almost no market impact, and the real cost is closer to the quoted spread than to size. The runs show how quickly a rule with this many fills loses ground when the spread assumption changes.

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules20.4%−20.7%12534%$29,024
5% target17.9%−20.6%16439%$25,678
10% target20.4%−23.7%9527%$29,089
15% target26.0%−28.8%7424%$37,738

What different targets did

Three variants moved the profit target and left the weekly entry and Thursday exit alone.

The 5% target made 164 trades with 64 wins, a CAGR of 17.85%, a maximum drawdown of 20.65%, an ending equity of $25,678.31 and a Sharpe ratio of 0.908. A nearer target hit more often and took more trades, and it gave up return against the 7% default.

The 10% target made 95 trades with 26 wins, a CAGR of 20.44%, a drawdown of 23.74%, an ending equity of $29,088.94 and a Sharpe ratio of 0.962. This is level with the default on return and slightly worse on drawdown and Sharpe.

The 15% target made 74 trades with 18 wins, a CAGR of 26.03%, a drawdown of 28.76%, an ending equity of $37,737.8 and a Sharpe ratio of 1.126. It has the best CAGR and the best Sharpe ratio of the four, and its CAGR is above holding's 22.07%. It also has the deepest drawdown of the group, 28.76%, still shallower than holding's 32.96%.

The pattern is that return rises with the target while the number of trades falls and the drawdown deepens. A far target lets winners run in a fund that kept rising, which is exactly what XLK did in this window. The 15% variant suits a bull run in one sector, and picking it for having the highest number would be selecting on this window. The table reads better as a range: CAGR across the four targets ran from 17.85% to 26.03%, and every setting kept its drawdown under 30%.

How XLK behaved

MeasureXLK
Data in this test2021-01-04 to 2026-10-02 (1444 sessions)
Total return, buy and hold226.1%
Annualized volatility25.1%
Deepest drawdown−33.6% (2021-12-27 to 2022-10-12)
Up days55.2%
Average daily range1.77%
Average overnight gap0.69%
Correlation to SPY0.91
Correlation to QQQ0.97
Correlation to TLT0.07
Sessions above the 200-day average76.5%
Crossings of the 200-day average22
Falls of 10% or more from a 20-day high30

Why XLK suited a weekly swing rule

Across the window XLK gained 226.13%, a CAGR of 22.86% on annualized volatility of 25.13%, and closed higher on 55.23% of sessions. Up days averaged 1.15% and down days -1.21%, with a 1.77% intraday range and a 0.69% overnight gap. Yearly returns were 36.99% for 2021, -27.73% for 2022, 56.01% for 2023, 21.64% for 2024, 24.61% for 2025 and 39.31% for 2026 so far.

The strategy page recommends the template for volatile assets that swing 7% within a week, such as leveraged ETFs. XLK is not leveraged. With annualized volatility of 25.13% and an average intraday range of 1.77%, it moves enough for the 7% target to be reached in some weeks, and the 43 winning trades show that it was. Reaching +7% in a week is a far larger move than the average day, and 43 trips won.

XLK carries a clear market beta of 1.39 to SPY and 1.08 to QQQ, with correlations of 0.91 and 0.97. The closest matches were TECL at 1, ROM at 0.99 and TQQQ, QQQ and QLD at 0.97, and TECS, REW, QID, SQQQ and PSQ the most negative. A rule that rests 98% of the sleeve in XLK each week is an exposure to the Nasdaq-heavy US tech trade.

Single sessions could be large. Its best days were 13.37% on 2025-04-09, 8.23% on 2022-11-10 and 5.52% on 2026-07-30, and its worst were -6.76% on 2025-04-03, -6.67% on 2026-06-05 and -6.57% on 2025-04-04. The fund fell 10% within 20 days in 30 episodes totalling 96 days. The 13.37% day on 2025-04-09 fell in the same month as the rule's 2-day loss of 5.76% from 2025-04-14 to 2025-04-16.

RSI readings show where weekly entries sat. RSI(14) read under 30 on 15 sessions and over 70 on 153, so XLK spent far longer overbought than oversold. Medians after the oversold readings were 4.01% over 5 days and 4.4% over 20, with baselines of 0.5% and 1.9%. RSI(2) read under 10 on 137 sessions, followed by medians of 0.6% and 2.59%. The oversold sample is small.

Lag-1 autocorrelation was -0.03. Log return split into 55.3% overnight and 44.7% in the session, and the rule enters at the open, so each entry pays the opening gap rather than collecting it. Averages by weekday ran Monday 0.21%, Tuesday 0.02%, Wednesday 0.16%, Thursday 0.05% and Friday 0.04%, which gives no sign that Monday entries or Thursday exits cut across a pattern.

The rules

Buy at the first open of each week, rest a +7% profit target, and exit Thursday afternoon if the trade is losing.

  1. WHEN the first session of the week opens · IF not invested · THEN buy with 98% of the sleeve (once per week)
  2. WHILE invested · a managed limit order rests at entry price × 1.07
  3. WHEN it's 2:00pm on the week's second-to-last session · IF the position is losing · THEN sell everything

A weekly swing template: enter Monday, aim for +7%, and do not carry a loser into the weekend. The profit target rests at the broker as a real limit order the whole time (DeployQuant maintains it as a managed order). The Thursday-afternoon exit gives losing trades a time deadline instead of a price stop.

Good for: volatile assets that regularly swing 7% within a week, such as leveraged ETFs.
Watch out: the time-based exit realizes many small losses by design. The template needs the +7% winners to outnumber them, which the per-ETF results test directly.

How the weekly target compares on XLK and across sector funds

Second place on XLK went to the weekly 7% target at 20.39% with a 20.67% drawdown. The monthly cycle took first at 20.86% with a 32.05% drawdown, so the weekly rule gave up very little return for a much shallower fall. The 200-day regime filter followed at 16.81% (drawdown 19.72%), then the golden cross at 15.33% (19.6%) and the trend plus trailing stop at 12.49% (32.53%). The RSI(2) snapback earned 12.11% with an 18.15% drawdown, the smallest of any template, and the momentum breakout 11.62%. Lower down were the EMA 12/26 trend at 9.84%, the SMA 10/50 trend at 9.47%, the RSI mean reversion rule at 8.74%, the dip buyer at 7.85% and the 3-month momentum rule at 6.06%.

The weekly rule was invested 79.8% of the time, which is part of why it kept pace with a fund that mostly rose.

Within the sector funds, SOXX made 30.54% with a 22.76% drawdown over 176 round trips, and XLK came next at 20.39%. XLY made 10.19%, VOX 8.12% with a 36.79% drawdown, XLF 7.13% and XLP 2.37%. The two technology and semiconductor funds led, and the defensive sector, consumer staples, was last. That ordering matches the template's description: it pays on assets that swing hard enough to reach 7%.

The test has one window and one fund. XLK rose through most of these 5.74 years, with a single down year. The headline run includes no costs, and the cost runs show how much the result depends on them. The figures cover 2021 to 2026 and make no forecast. The strategy overview lists the rule on every fund.

Run weekly 7% target on XLK 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 weekly 7% target beat buy-and-hold on XLK?

Over 2021-01-04 to 2026-10-02, weekly 7% target on XLK returned 20.4% annualized vs 22.1% for buy-and-hold: it trailed buy-and-hold by 1.7% per year, with a maximum drawdown 12.3 points shallower than holding (20.7% vs 33.0%).

How many trades did it make?

125 completed round trips over 5.7 years (251 fills), with 34% of round trips closing profitably.

Why exit on Thursday?

It is a time deadline. The template does not hold a losing trade over the weekend gap. On holiday-shortened weeks the exit moves to the week's second-to-last session automatically.

Does the 7% target rest at the broker?

Yes. Deployed live, the target is a real GTC limit order that DeployQuant places and maintains.

What did the weekly 7% target earn on XLK?

Over 2021-01-04 to 2026-10-02 the rule took $10,000 to $29,024.37, at 20.39% a year with a 20.67% maximum drawdown and a Sharpe ratio of 0.98. Holding XLK reached $31,425.04 at 22.07% a year with a 32.96% drawdown. The headline run includes no fees or slippage.

Did the weekly target beat buy-and-hold on XLK?

Not on return, where it trailed by 1.68 points of CAGR while leading in 2022, 2024 and 2025. It lowered the maximum drawdown from 32.96% to 20.67%, and the Sharpe ratio was 0.98 against 0.95.

What share of XLK trades won?

43 of 125 closed trips won, a win rate of 34%. The average win was 7.14% and the average loss was 2.28%, so the profit factor was 1.61. The median trade lost 0.57%.

How much do trading costs matter on XLK?

More than on most pages. Across 251 fills, a 5 basis point charge took the CAGR to 18.78%, a 10 basis point charge took it to 16.49%, and no charge left 20.39%.

Would a larger profit target have worked better on XLK?

In this window, yes. A 15% target gave a CAGR of 26.03% and a Sharpe ratio of 1.126, with a 28.76% drawdown. The 10% target gave 20.44% and the 5% target gave 17.85%. The 15% result reflects XLK's strong uptrend in this window.

When was the rule weakest on XLK?

Its deepest drawdown was 20.67% between 2026-06-02 and 2026-07-29, still open at the end of the data. The worst month was March 2025 at -8.71%, and the worst trade was -7.01% from 2022-10-31 to 2022-11-03.

Related

Weekly Entry + 7% Target on all 59 ETFsfull results table All strategies on XLK12 templates compared RSI(14) Mean Reversion on XLKsame ETF, different rulesRSI(2) Dip Snapback on XLKsame 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.