Drawdown Dip Buyer + 8% Target on XLF
Financial Select Sector SPDR Fund: S&P 500 banks, insurers and asset managers. 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 the price to fall 10% from its 20-day high, buys, and sells at a resting limit 8% above the entry. On XLF, the Financial Select Sector SPDR Fund, that took five round trips in the 5.74 years from 2021-01-04 to 2026-10-02. All five closed at a gain of about 8%, which gives a win rate of 100%. The account finished at $14,571.85 from $10,000, a total return of 45.72% and a CAGR of 6.78%. It held a position at the close on 30.3% of trading days and sat in cash for the rest.
Buy-and-hold on XLF did better in the headline numbers. It returned 97.42% in total, a CAGR of 12.58%, and ended at $19,741.85. The dip buyer finished $5,170 behind. Its maximum drawdown was 15.99%, against 25.47% for holding, so it took less risk and earned less. The Sharpe ratio was 0.61 for the rule and 0.76 for buy-and-hold.
Five trades is a small sample, and the sample is lopsided. One of them lasted 595 days and the other four together lasted a few weeks. The text below goes through the years, the trades by date, the drawdowns, the cost runs and the parameter variants, and ties each to how XLF behaved. The run has no fees or slippage in the headline figure and covers one window, so the numbers describe this stretch and nothing more.
Year by year
| Year | dip buyer | buy & hold |
|---|---|---|
| 2021 | 0.0% | 35.8% |
| 2022 | 6.3% | −10.4% |
| 2023 | 9.4% | 11.9% |
| 2024 | 0.0% | 29.9% |
| 2025 | 25.3% | 14.7% |
| 2026 | 0.0% | −1.1% |
How each year compared with holding XLF
The year-by-year table splits into three kinds of year. In 2021, 2024 and 2026 the rule returned 0.0% because it never held a position. XLF itself rose 35.8% in 2021 and 29.9% in 2024, so those two idle years account for most of the CAGR gap. In 2026, a partial year, the fund fell 1.1% and the rule's flat line counts as a win.
In 2022 the rule returned 6.3% while buy-and-hold lost 10.4%. That is a lead of 16.7 points in a year when the fund fell. The result comes from two entries. The first was on 2022-03-08 at an adjusted price of $33.34, and it exited on 2022-03-18 at $36.01 for the 8% target. The second came on 2022-04-27 at $32.68 and was still open when the year ended, so the year-end figure includes a marked position that had not reached its target.
In 2023 the rule returned 9.4% against 11.9% for the fund, behind by 2.5 points. The second trade stayed open until 2023-12-13, when the resting limit at $35.29 finally filled. For most of 2023 the account held a position that had been entered in April 2022, so the whole year was spent in that one trade. The rule had no capital free to take any new dip that year.
In 2025 the rule returned 25.3% against 14.7%, ahead by 10.6 points. Three round trips closed in April and May 2025, which is the only cluster of activity in the whole test. Of the six years, the rule led in 2022, 2025 and 2026 and trailed in 2021, 2023 and 2024. The three years it trailed included the fund's two strongest calendar years.
This pattern follows from the rule. A dip buyer only acts after a fall, so it takes part in recoveries that start from a decline and misses years that rise without one. XLF's calendar-year returns in the profile were 36.61% in 2021, -10.55% in 2022, 12.11% in 2023, 30.43% in 2024, 14.86% in 2025 and -1.15% in 2026.
Month by month
| Year | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2021 | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
| 2022 | 0.0% | 0.0% | 7.8% | −2.1% | 2.7% | −10.6% | 7.0% | −2.0% | −7.5% | 11.6% | 6.8% | −5.1% |
| 2023 | 6.7% | −2.3% | −9.3% | 3.1% | −4.2% | 6.5% | 4.7% | −2.6% | −3.0% | −2.5% | 10.6% | 3.0% |
| 2024 | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
| 2025 | 0.0% | 0.0% | 0.0% | 21.6% | 3.1% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
| 2026 | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | – | – |
What the month table shows
Most of the month grid is zeros. Across the full grid, only a handful of months show any return, and they fall into three groups: March 2022 to December 2022, the whole of 2023, and April and May 2025.
The first group shows the cost of holding through a decline with no stop. March 2022 returned 7.8% as the first trade hit its target. The next months show the second position being marked: -2.1% in April, 2.7% in May, then -10.6% in June 2022. June 2022 was the worst month of the run, and it matched buy-and-hold almost exactly, since buy-and-hold's worst month was also June 2022 at -10.64%. For that month the dip buyer held a position and behaved like the fund. Later in 2022 the position was marked at -2.0% in August, -7.5% in September, 11.6% in October, 6.8% in November and -5.1% in December.
In 2023 the position kept moving with XLF: 6.7% in January, -2.3% in February, -9.3% in March, 3.1% in April, -4.2% in May, 6.5% in June, 4.7% in July, -2.6% in August, -3.0% in September, -2.5% in October, 10.6% in November and 3.0% in December. The -9.3% in March 2023 sits next to two of XLF's five worst days in the profile, -4.07% on 2023-03-09 and -3.94% on 2023-03-13. The rule's maximum drawdown starts in February 2023 and bottoms in March 2023, so this is where the 15.99% figure came from.
The best month was April 2025 at 21.55%. It contains the three round trips that began on 2025-04-07, 2025-04-09 and 2025-04-10. XLF's best single day in the window was 2025-04-09 at 7.59%, and the second of those trades was bought and sold on that same day. Buy-and-hold's best month was October 2022 at 11.62%, a month when the dip buyer made 11.6% as well because it held the position. The rule's best month came from entering on a sharp low and selling within weeks.
Every trade
dip buyer on XLF made 5 closed round trips, an average hold of 127 days, an average winner of 8.00%. It held a position at the close on 30.3% of trading days.
| Entry | Entry price | Exit | Exit price | Return | Days held |
|---|---|---|---|---|---|
| 2022-03-08 | $33.34 | 2022-03-18 | $36.01 | 8.0% | 10 |
| 2022-04-27 | $32.68 | 2023-12-13 | $35.29 | 8.0% | 595 |
| 2025-04-07 | $41.82 | 2025-04-08 | $45.17 | 8.0% | 1 |
| 2025-04-09 | $42.39 | 2025-04-09 | $45.78 | 8.0% | 0 |
| 2025-04-10 | $45.53 | 2025-05-08 | $49.17 | 8.0% | 28 |
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 five trades by date
The list of trades is short enough to go through one at a time. The average winner was 8.00%, the best trade was 8.01% and the worst was 7.99%. The spread is a few hundredths of a point because every exit is a resting limit at 1.08 times the entry price, so the return is set by the rule and not by the market. Prices below are adjusted for splits and dividends, so they sit below the quotes printed at the time.
- 2022-03-08 at $33.34, exit 2022-03-18 at $36.01, 10 days. A quick bounce.
- 2022-04-27 at $32.68, exit 2023-12-13 at $35.29, 595 days. The long one.
- 2025-04-07 at $41.82, exit 2025-04-08 at $45.17, 1 day.
- 2025-04-09 at $42.39, exit 2025-04-09 at $45.78, 0 days, a same-day round trip.
- 2025-04-10 at $45.53, exit 2025-05-08 at $49.17, 28 days.
The median hold was 10 days and the average was 127 days, which tells the story of the sample: the mean is pulled up by the 595-day trade. Without that position the other four trades together held for a few weeks. The 595-day trade also locked the account out of any new entry during 2022 after April, and through all of 2023 until December. XLF had 10 separate falls of 10% or more from a 20-day high in the window, covering 45 sessions in total. The rule made five trades against those ten events, and the second trade was already open during several of the others.
The April 2025 cluster is the most interesting part. XLF fell sharply in early April 2025. Its worst days in the profile include -7.36% on 2025-04-04 and -4.97% on 2025-04-03, and its best was +7.59% on 2025-04-09. The rule bought on 2025-04-07, sold the next day, bought again on 2025-04-09 and sold within the same session, then bought on 2025-04-10 at $45.53 and held 28 days. Each time, an 8% bounce came within hours or days. A window with violent swings in both directions suits a limit order set 8% above the entry.
All five trades won, and the profit factor is undefined because there was no losing trade. The result should be read with the caveat in the template description: with no stop-loss, a dip that keeps falling is ridden down until the target is reached. In this window the target was always reached, though the 2022 trade needed 595 days to get there.
Largest drawdowns
| Peak | Low point | Depth | Days to low | Recovered | Days to recover |
|---|---|---|---|---|---|
| 2023-02-07 | 2023-03-17 | −16.0% | 38 | 2023-12-12 | 270 |
| 2022-05-04 | 2022-10-12 | −14.8% | 161 | 2022-11-11 | 30 |
| 2022-11-30 | 2022-12-19 | −7.3% | 19 | 2023-01-13 | 25 |
Buy-and-hold's deepest drawdown ran from 2022-01-12 to 2022-10-12 and reached −25.5%.
Drawdowns: shallower than holding, but a long recovery
The rule's largest drawdown was 15.99%, from a peak on 2023-02-07 to a low on 2023-03-17, 38 days later. It recovered on 2023-12-12, 270 days after the low. The next day, 2023-12-13, the long trade finally exited at its target. The drawdown ended one session before the position closed, which means the account was recovering because the position itself was recovering.
The second drawdown ran from 2022-05-04 to 2022-10-12, a depth of 14.83% over 161 days to the low, and it recovered by 2022-11-11, 30 days later. This happened inside the same 595-day trade. Buy-and-hold's 2022 drawdown bottomed on the same day, 2022-10-12, though its peak came earlier, on 2022-01-12. The third, at 7.3%, ran from 2022-11-30 to 2022-12-19 and recovered by 2023-01-13.
Buy-and-hold's deepest drawdown was 25.47%, with a recovery on 2024-02-22, 498 days after the low. Its other two were 15.33% in 2025 and 14.65% in 2026. The dip buyer avoided those later ones because it was in cash or had just exited. The 2025 drawdown for holders began on 2025-02-18 and bottomed on 2025-04-08, and the dip buyer's trades in April 2025 began in that same fall and exited into the rebound.
The shallower drawdown has two sources. One is time in cash: exposure was 30.3%, so the account was exposed to the fund for less than a third of the window. The other is entry timing: the rule buys after a decline of 10% from a 20-day high, so a portion of each fall has already happened before it enters. The cost is that the one position it held through 2022 took the full remaining decline, and the 15.99% drawdown is what that cost looked like in the account.
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) | 6.8% | −16.0% | $14,572 | 0.61 |
| 5 basis points | 6.8% | −16.0% | $14,576 | 0.61 |
| 10 basis points | 5.4% | −16.0% | $13,518 | 0.52 |
What slippage did to the result
The cost table charges slippage on each fill. At 5 basis points per fill the CAGR was 6.78%, the maximum drawdown was 15.99% and the final value was $14,575.51. That is a slightly higher final value than the headline run's $14,571.85. The facts do not say why, and a difference of about $4 on a $10,000 account is within what a small shift in fill timing can produce.
At 10 basis points the CAGR fell to 5.39%, the maximum drawdown was 16% and the final value was $13,517.79. The Sharpe ratio moved from 0.61 to 0.613 at 5 basis points and 0.516 at 10 basis points. The step from 5 to 10 basis points is large for a rule that made only 10 fills, and it is larger than the step from none to 5. One reading is that the exit is a fixed 8% cap, so slippage on the entry comes straight out of a gain that cannot grow.
The practical reading is limited. These are modeled costs on 10 fills, and they show the rule's return is sensitive to execution at the second level of slippage. They do not say what a live account would have paid. Liquidity in XLF is deep, with average daily dollar volume of $1,682,204,673 and a median minute volume of 62,901 shares, so slippage at these sizes would be small for most accounts. The test does not include commissions.
Changing the parameters
| Version | CAGR | Max drawdown | Round trips | Win rate | Final value |
|---|---|---|---|---|---|
| Published rules | 6.8% | −16.0% | 5 | 100% | $14,572 |
| -7% drawdown / 8% target | 10.9% | −24.7% | 8 | 100% | $18,076 |
| -15% drawdown / 8% target | 0.0% | −0.0% | 0 | – | $10,000 |
| -10% drawdown / 6% target | 5.1% | −22.2% | 5 | 100% | $13,302 |
| -10% drawdown / 10% target | 6.7% | −16.0% | 4 | 100% | $14,522 |
What the four variants show
Four variants change the entry depth or the exit target, and each shows a different feature of the rule.
The shallower entry, a 7% drawdown with the 8% target, was the most active and the most profitable of the set. It made 8 trades, all winners, with a CAGR of 10.86%, a maximum drawdown of 24.66% and a final value of $18,076. That is the best result of the five rows, though it still trails buy-and-hold's 12.58% CAGR. The drawdown is also much deeper than the published rule's 15.99%, close to the 25.47% of simply holding. A lower entry bar buys more of the dips, and the account spends more time in positions during declines.
The deeper entry, a 15% drawdown, made 0 trades. XLF never fell 15% from a 20-day high in the window, so the account stayed at $10,000. The profile counts 10 falls of 10% or more and the 15% variant shows how fast the count drops beyond that depth.
The 6% target kept the 10% entry and sold earlier. It also made 5 trades, with a CAGR of 5.1%, a maximum drawdown of 22.17% and a final value of $13,302.13. The drawdown is deeper than the published rule's even though the entry is the same, because an earlier exit changes which later dips are available to buy and when. The 10% target made 4 trades with a CAGR of 6.71%, a drawdown of 16% and a final value of $14,522.48, close to the published result. Raising the target by two points cost one round trip, and a larger target takes longer to fill, which likely stopped the April 2025 same-day trade from completing as a separate round trip.
The pattern across the table is that the rule's result depends more on the entry depth than on the target. Moving the entry from 10% to 7% changed the CAGR and the trade count far more than moving the target between 6% and 10%. With so few trades, any of these rows could have a different ranking in another window, and none of them is an optimized choice.
How XLF behaved
| Measure | XLF |
|---|---|
| Data in this test | 2021-01-04 to 2026-10-02 (1444 sessions) |
| Total return, buy and hold | 102.9% |
| Annualized volatility | 18.4% |
| Deepest drawdown | −25.9% (2022-01-12 to 2022-10-12) |
| Up days | 52.9% |
| Average daily range | 1.40% |
| Average overnight gap | 0.49% |
| Correlation to SPY | 0.77 |
| Correlation to QQQ | 0.59 |
| Correlation to TLT | -0.05 |
| Sessions above the 200-day average | 71.2% |
| Crossings of the 200-day average | 38 |
| Falls of 10% or more from a 20-day high | 10 |
Why XLF suited a dip rule
XLF holds large US banks, insurers and asset managers. Over this window it returned 102.88% with a CAGR of 13.11% and annualized volatility of 18.43%. Its deepest drawdown was 25.87%, from 2022-01-12 to 2022-10-12, and the fund took until 2024-02-22 to recover. The longest drawdown lasted 528 sessions. Up days were 52.88% of sessions, the average up day was 0.86% and the average down day was -0.86%. The average daily range was 1.4% and the average overnight gap was 0.49%.
The fund is tied to the broad market. Its correlation to SPY was 0.77 and its beta was 0.87. Correlation to QQQ was 0.59, and to TLT -0.05. The most similar funds in the library were FAS at 1, VTV at 0.89 and VOOV at 0.89, and the most opposite were SH at -0.78 and SDS at -0.77. The dip rule on XLF was therefore mostly a bet on the same market moves that drive broad funds.
Two behaviors matter for this rule. First, falls of 10% inside 20 sessions were uncommon, at 10 episodes over 45 sessions in 1444. A dip rule needs the fall to happen, and this fund offered few. Second, when the fund did fall that far, the rebound was fast enough to reach the target. RSI(14) fell below 30 on 30 sessions, and the median 20-day return afterwards was 3.18% against a baseline of 1.5%. The median 5-day return was 0.75% against 0.42%. These are small samples and they support the idea that sharp drops were followed by modest rebounds.
The fund spent 71.16% of sessions above its 200-day average and crossed it 38 times, which is many crossings for a fund with a positive CAGR. The month-of-year averages in the profile show weak months in March at -1.11% and September at -3.37%, and strong ones in November at 4.85%, July at 4.03% and October at 3.3%. Each month has 5 or 6 observations, so none of these is a stable pattern.
Within the Sector ETFs category, the dip buyer's results ranged widely. SOXX returned a CAGR of 27.48% with 19 round trips and a drawdown of 39.25%. XLK returned 7.85% with 5 round trips, XLF 6.78%, VOX 4.06%, XLY 4.01% and XLP 1.32% with a single trade. XLF's 15.99% drawdown was the second shallowest of the six after XLP's 8.03%. The category median CAGR was 6.78%, the same as XLF, and the median across all 59 funds was 1.33%.
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.
How the rules interact with XLF
The entry is checked when the market opens and requires that the account is not invested and that the 20-day drawdown is worse than -10%. It then buys with 98% of the sleeve. The exit is a managed limit order resting at the entry price times 1.08. There is no stop and no time limit.
Three consequences follow in this data. Because the entry needs a flat account, the 595-day trade blocked further entries for most of two years. Because the exit is a fixed target, every winner is capped near 8%, and the best trade was only 8.01%. Since the account holds cash between signals, most days had no position (exposure was 30.3%), which explains both the shallow drawdown and the lag behind a fund that rose in most years.
Among the 12 templates on XLF, the dip buyer ranked 6th by CAGR at 6.78%. RSI mean reversion led at 11.82%, the monthly cycle was second at 11.63% and the RSI(2) snapback third at 9.72%. The weekly 7% target made 7.13% and the momentum breakout 6.99%. Below the dip buyer were the EMA 12/26 trend at 5.63%, SMA 10/50 at 4.02%, golden cross at 3.6%, 3-month momentum at 2.74%, trend plus trailing stop at 2.62% and the 200-day filter at 2.06%. Buy-and-hold's 12.58% would sit above all of them. The dip buyer's drawdown of 15.99% was the second shallowest on XLF behind only the RSI(2) snapback at 14.57%, with the momentum breakout next at 17.64%. For the closest rule in spirit, see RSI mean reversion on XLF and the RSI(2) snapback.
XLF ranked 13th of 59 funds for this rule. The test stops at one window with five trades, so the rank is a snapshot and not a finding about financials as a sector. Results are hypothetical, and the headline run has no fees or slippage.
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 XLF?
Over 2021-01-04 to 2026-10-02, dip buyer on XLF returned 6.8% annualized vs 12.6% for buy-and-hold: it trailed buy-and-hold by 5.8% per year, with a maximum drawdown 9.5 points shallower than holding (16.0% vs 25.5%).
How many trades did it make?
5 completed round trips over 5.7 years (10 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.
Did the dip buyer beat buy-and-hold on XLF?
No. Over 2021-01-04 to 2026-10-02 the rule had a CAGR of 6.78% against 12.58% for holding, and ended at $14,571.85 against $19,741.85. It beat holding in 2022, 2025 and 2026 and trailed in the other three years. Its maximum drawdown was 15.99% against 25.47%.
How many trades did the dip buyer make on XLF?
It made 5 round trips and 10 fills, and all 5 closed at the 8% target. The median hold was 10 days, and one trade lasted 595 days from 2022-04-27 to 2023-12-13. Three of the five closed in April and May 2025.
Why was the dip buyer flat in 2021 and 2024?
The entry needs a 10% fall from the 20-day high, and XLF did not provide one in those years. XLF rose 35.8% in 2021 and 29.9% in 2024, and the rule held cash and returned 0.0% in both. The [XLF page](/learn/etf/xlf/) lists how often the fund fell that far.
What happens to the dip buyer if the dip keeps falling?
There is no stop-loss. The position stays open until the +8% limit fills, as the 2022 trade did. It was entered on 2022-04-27 at $32.68 and exited on 2023-12-13 at $35.29, 595 days later, and the account's worst drawdown of 15.99% came while it was open.
How sensitive is the result to the drawdown and target settings?
The entry depth mattered more. A 7% entry made 8 trades with a CAGR of 10.86% and a drawdown of 24.66%, and a 15% entry made no trades. Targets of 6% and 10% gave CAGRs of 5.1% and 6.71%. See the [dip buyer on all 59 funds](/learn/strategies/dip-buyer-8pct-target/) for the full table.
Do trading costs change the result on XLF?
At 5 basis points of slippage the final value was $14,575.51, about the same as the headline run. At 10 basis points the CAGR fell to 5.39% and the final value to $13,517.79. The headline run has no fees or slippage.
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.