Drawdown Dip Buyer + 8% Target on IEF
iShares 7-10 Year Treasury Bond ETF: intermediate Treasuries, a common 60/40 diversifier. 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 on IEF made no trades. It ended 2026-10-02 with $10,000, the same as it started, so the CAGR, the total return, the maximum drawdown and the Sharpe ratio all read 0. That result does not describe a rule that tested badly. It describes a rule whose entry condition never came true on this fund in 5.74 years: a drop of more than 10% from the 20-day high. IEF, the iShares 7-10 Year Treasury Bond ETF, had 0 such falls and 0 days spent in one.
Buy and hold on the same fund lost money. It returned a CAGR of -2.29%, ended at $8,755.84 and went through a drawdown of 21.77% that began on the first day and had not recovered by the last. The comparison favours the idle account: the dip buyer beat buy and hold by 2.29% a year, finished $1,244.16 ahead, and carried a maximum drawdown of 0% against 21.77%. Those gaps are the value of sitting in cash while IEF fell, and nothing more.
Everything the dip buyer is built to exploit is missing here. The rule waits for a sharp selloff that is quick enough to fit inside 20 sessions. IEF's losses came as a slow grind that lasted from January 2021 to October 2023. The cost and parameter runs are flat for the same reason, and the fund's own statistics show why the trigger stayed out of reach. The IEF page ranks all 12 templates on this fund, and the strategy hub shows the dip buyer on all 59 ETFs.
Year by year
| Year | dip buyer | buy & hold |
|---|---|---|
| 2021 | 0.0% | −3.3% |
| 2022 | 0.0% | −14.8% |
| 2023 | 0.0% | 3.5% |
| 2024 | 0.0% | −0.6% |
| 2025 | 0.0% | 7.8% |
| 2026 | 0.0% | −4.5% |
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% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
| 2023 | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.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% | 0.0% | 0.0% | 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% | – | – |
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) | 0.0% | −0.0% | $10,000 | 0.00 |
| 5 basis points | 0.0% | −0.0% | $10,000 | 0.00 |
| 10 basis points | 0.0% | −0.0% | $10,000 | 0.00 |
Changing the parameters
| Version | CAGR | Max drawdown | Round trips | Win rate | Final value |
|---|---|---|---|---|---|
| Published rules | 0.0% | −0.0% | 0 | – | $10,000 |
| -7% drawdown / 8% target | 0.0% | −0.0% | 0 | – | $10,000 |
| -15% drawdown / 8% target | 0.0% | −0.0% | 0 | – | $10,000 |
| -10% drawdown / 6% target | 0.0% | −0.0% | 0 | – | $10,000 |
| -10% drawdown / 10% target | 0.0% | −0.0% | 0 | – | $10,000 |
How IEF behaved
| Measure | IEF |
|---|---|
| Data in this test | 2021-01-04 to 2026-10-02 (1444 sessions) |
| Total return, buy and hold | −12.9% |
| Annualized volatility | 7.4% |
| Deepest drawdown | −22.2% (2021-01-04 to 2023-10-19) |
| Up days | 48.5% |
| Average daily range | 0.42% |
| Average overnight gap | 0.26% |
| Correlation to SPY | 0.09 |
| Correlation to QQQ | 0.10 |
| Correlation to TLT | 0.91 |
| Sessions above the 200-day average | 53.0% |
| Crossings of the 200-day average | 60 |
| Falls of 10% or more from a 20-day high | 0 |
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.
Every year at 0.0% against a falling fund
The dip buyer's yearly return was 0.0% in 2021, 2022, 2023, 2024, 2025 and 2026. Holding the fund lost money in four of the six years, from -3.3% in 2021 to -14.8% in 2022, and gained 3.5% in 2023 and 7.8% in 2025. The idle strategy came out ahead in four of the six years: 2021, 2022, 2024 and 2026. The yearly gaps in its favour were 3.3 points in 2021, 14.8 in 2022, 0.6 in 2024 and 4.5 in 2026.
The two years it lost to buy and hold were 2023 and 2025. In 2023 the fund returned 3.5%, so staying out cost 3.5 points. In 2025 it returned 7.8%, and staying out cost 7.8 points. These were rebounds in a fund that had spent the prior years falling. A dip buyer that never found a dip also never held the position while it rose. The gap in the two good years is the other side of the gap in the four bad ones.
The 2022 row is the largest. IEF lost 14.8% that year on a buy-and-hold basis, and the fund's own calendar return was -15.16%. The dip buyer was in cash through all of it. In that year a selloff was in progress at a pace that a dip rule might have been expected to notice, yet the 20-day window never saw a fall past 10%. The fund's worst single day was -1.77% on 2022-06-13. A fall of 10% inside 20 sessions needs several days like that in a row with little relief, and IEF's relief rallies were frequent enough to keep the trailing 20-day drawdown shallower than the entry level.
A month table with no entries
Every cell in the monthly table reads 0.0%, from January 2021 through September 2026, and the October 2026 cell has no data yet because the window ends on 2026-10-02. With no position open in any month, there is no best or worst month for the strategy. The best and worst months in the facts both show January 2021 at 0, which is a placeholder for a strategy that never moved.
Buy and hold has real months for comparison. Its best month was 4.47% in November 2023 and its worst was -4.56% in September 2022. The fund's average return by calendar month shows the same pattern. November averaged 2.24% across the 5 Novembers in the sample, and September averaged -1.79% over 6 Septembers. October averaged -1.31% and April -0.76%. These are small samples, five or six observations per month, so they describe this window and say nothing reliable about other years.
The point for a dip rule is that September 2022 was the worst month of the whole window, at -4.56%. The fund moves only 0.36% on an average up or down day. The month was bad by IEF's standards and still shallow by the standards of the trigger.
Zero fills, zero round trips
There are no trades to list. The count is 0 fills and 0 round trips, no position was open at the end, and no entry or exit date exists. Win rate, profit factor, average hold and trade extremes are all empty. The exposure was 0%, against 100% for buy and hold, which held the fund from the first open.
This is the situation the template's own caveat anticipates: the sleeve sits in cash between signals, and the template can wait months for an entry. On IEF it waited the whole window. The rule is built around a resting +8% limit order that attaches after an entry, and since no entry occurred, the limit never rested at the broker. The limit-order half of the strategy was never exercised, so this page says nothing about whether +8% is a reachable target for an intermediate Treasury fund.
The rule also has no stop. Its caveat says that if a dip keeps falling, the position rides it down until the target is reached. That risk is absent here only because there was no position. On a fund that spent 1,443 sessions in one drawdown, a position entered at any point during the slide could have waited a long time for +8%. The result of 0 trades says nothing about how such an entry would have fared.
A drawdown of 0% from doing nothing
The strategy's drawdown table is empty. Its maximum drawdown was 0%, against 21.77% for buy and hold, which went from the 2021-01-04 peak to a trough on 2023-10-19, 1,018 days later, and had no recovery date by 2026-10-02. The fund's own statistics list a slightly deeper figure of -22.23% for the same dates, which is measured on the fund's own series, while the buy-and-hold test puts 98% of the account in.
The longest drawdown on the fund lasted 1,443 sessions, almost the entire window of 1,444. IEF never recovered the level of its first day. That makes it a poor fit for a rule that depends on recovery. A dip buyer is built for assets that sell off hard and recover, as the template's description says. A fund that falls steadily and keeps falling gives the rule nothing to buy, because the 20-day drawdown stays shallow while the 5-year drawdown deepens.
This is a point about the rule's design. Its trigger measures the distance from a recent high, which is a short-memory statistic. The fund's damage came over a long period. A rule with a 20-session lookback cannot see a drawdown that takes 1,018 days to form, so the account stayed in cash through a 21.77% decline without any risk signal behind it. The entry never fired.
Cost runs on a strategy with no fills
All three rows of the cost table match the headline: the final value is $10,000 whether slippage is zero, 5 basis points or 10, and every ratio reads 0. Slippage is charged on every fill, and there were 0 fills, so there was nothing to charge.
For a trading rule that does make fills, the cost runs show how much of the headline return survives friction. Here they show only that the strategy was idle. The template's median across all 59 ETFs is 2 round trips, so costs matter little for this rule on any fund. The headline CAGR of IEF is 0%, so the slippage assumption adds no information to this page.
Four variants that also stay in cash
The parameter table runs four alternatives to the published rules. Each one is a flat line at $10,000 with no trades and no wins.
- Entry at -7%, target 8%.
- Entry at -15%, target 8%.
- Entry at -10%, target 6%.
- Entry at -10%, target 10%.
The looser entry is the informative variant. Loosening the entry from 10% to 7% still produces no trade. The fund's fall inside any 20-session window never reached 7%. That tells us the largest 20-day drawdown on IEF in this window lies between 0% and 7%, and in the same breath it says the 10% default was not close to firing. The -15% variant is stricter and so trivially cannot trade either. The two target variants, 6% and 10%, change only the exit, and the exit never mattered since no entry happened.
None of the four can be ranked, because they are identical. Anyone looking at this table to choose parameters would learn nothing, and a longer window or a more volatile fund would be needed. The strategy hub lists funds where the same four variants do produce trades.
How IEF behaved over the window
Over 1,444 sessions IEF lost 12.95% in total, a CAGR of -2.39%, with annualized volatility of 7.39%. Fewer sessions closed up than down, with 48.51% up. Its typical daily move was about 0.36% either way, the intraday range averaged 0.42% and the overnight gap averaged 0.26%. Compared with the other funds in the library, those figures are small, and a 10% drop inside 20 sessions is a very large move relative to them.
The best single day was 2.26% on 2022-09-28 and the worst was -1.77% on 2022-06-13. The largest moves in both directions cluster in 2022 and 2023, and none of them reaches 2.5% in either direction.
Behaviour near the lows is also not what a dip buyer wants to find. When the 14-day RSI was below 30, which happened on 64 sessions, the median forward 5-day return was -0.09% and the median 20-day return was -1%. The baseline medians over all sessions were -0.04% and -0.02%. Buying oversold readings on IEF did not pay in this window, and a dip entry would have bought into more weakness. The shorter 2-day RSI was below 10 on 186 sessions, and the median 20-day return after those was -0.21%.
The fund spent 53.01% of sessions above its 200-day average and crossed it 60 times. Day-to-day returns had a lag-one autocorrelation of -0.01, which is close to none. IEF's correlation to TLT was 0.91, and it was 0.09 to SPY and 0.10 to QQQ. BND at 0.98 and AGG at 0.97 were its closest relatives in the library, and TBF at -0.91 was the sharpest opposite. Average daily dollar volume was about $675,908,601 and the median minute volume was 7,536 shares.
How a 10% in 20 days trigger meets a bond fund
The entry asks for a drawdown worse than 10% from the 20-day high, evaluated when the market opens and only while not invested. It then buys with 98% of the sleeve and rests a limit at the entry price times 1.08. The two numbers, 10% and 8%, were chosen for funds that move more than IEF. On a volatile equity fund they are reachable. On a bond fund with a 0.42% range, the entry demands a fall that took no day in this window and no run of days either.
The comparison with other bond funds makes the point. The category peers AGG, BND, IEI, IGIB and SGOV all show a CAGR of 0%, a maximum drawdown of 0% and 0 round trips, the same as IEF. TLT is the exception in the bond group, with a CAGR of -4.32%, a maximum drawdown of 27.81% and 0 round trips. TLT's 0 round trips together with a loss is consistent with a position that was entered and still open at the end, riding a long decline without reaching the target. The TLT version shows that outcome, and the AGG, BND, IEI, IGIB and SGOV pages repeat the idle result. The category median CAGR for this strategy is 0%, against a median of 1.33% across all 59 funds.
Other templates did trade on IEF. The RSI(2) snapback had the best CAGR on this fund at 1.84% with a maximum drawdown of 12.86%. The SMA 10/50 trend returned 1.33% with a 5.67% drawdown. The golden cross returned -0.29%, the EMA 12/26 trend -0.39% and the RSI mean reversion -0.84%. At the bottom were the trend with a trailing stop at -2.13% and the monthly cycle at -2.69%. The dip buyer ranks 3 of 12 on this fund, tied with the momentum breakout at 0%, and 35 of 59 funds for this strategy. Staying flat ranked third because most active rules lost money.
Where the test stops
The window is 5.74 years of one fund in one rate environment. The result of 0 trades says the trigger did not occur here. It says nothing about a longer history or a different rate cycle, in which a fast fall in Treasury prices could occur. The test has no fees in the headline run, daily-decision rules, orders that fill on minute bars and no margin. Backtests are hypothetical and nothing here is a forecast or advice.
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 IEF?
Over 2021-01-04 to 2026-10-02, dip buyer on IEF returned 0.0% annualized vs −2.3% for buy-and-hold: it beat buy-and-hold by 2.3% per year, with a maximum drawdown 21.8 points shallower than holding (0.0% vs 21.8%).
How many trades did it make?
0 completed round trips over 5.7 years (0 fills).
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.
Why did the dip buyer make no trades on IEF?
The entry needs a drop of more than 10% from the 20-day high, and IEF had 0 such falls in 5.74 years. Its average daily range was 0.42% and its worst day was -1.77%. The slide from 2021-01-04 to 2023-10-19 was too gradual to trip a 20-session trigger.
Did the dip buyer beat buy and hold on IEF?
Yes, by 2.29% a year, because buy and hold lost money and the strategy stayed in cash. Buy and hold ended at $8,755.84 with a drawdown of 21.77%, and the strategy ended at $10,000. The strategy lost to buy and hold in 2023 and 2025.
Would a looser dip threshold have produced trades?
The -7% variant also made 0 trades, and so did the -15% variant and both target variants. The largest 20-day fall on IEF in this window was therefore smaller than 7%. A different fund or a longer window would be needed to test the rule.
Does the 0% result mean the strategy is safe on bond funds?
It means the entry never fired on IEF. On TLT the same rule did enter, finished with a CAGR of -4.32% and a maximum drawdown of 27.81%, and made 0 completed round trips. The rule has no stop, so an entry on a falling bond fund can stay open.
Which strategy did best on IEF?
The RSI(2) snapback had the best CAGR at 1.84% with a 12.86% maximum drawdown, followed by the SMA 10/50 trend at 1.33% with a 5.67% drawdown. The dip buyer ranks 3 of 12 at 0%.
Do trading costs change this result?
No. The runs at 5 and 10 basis points of slippage both end at $10,000, since slippage is charged on fills and there were 0 fills.
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.