20-Day Momentum + Trailing Stop on TLT
iShares 20+ Year Treasury Bond ETF: long-duration Treasuries, one of the most rate-sensitive bond ETFs. Backtest 2021-01-04 to 2026-10-02, $10,000 starting capital, computed by the same engine that runs live DeployQuant strategies.
The 20-day momentum breakout with a trailing stop buys a fund after it gains more than 10% over 20 sessions and sells when price falls 10% below the highest close since entry. Here it is run on TLT, the iShares 20+ Year Treasury Bond ETF, from 2021-01-04 to 2026-10-02, starting with $10,000, without margin and without fees in the headline run.
The rule traded twice in almost six years. Both trades lost money: the first returned -5.98% and the second returned -0.98%. The account finished at $9,328 after a CAGR of -1.2%, with a maximum drawdown of 10.32% and a Sharpe ratio of -0.14. The position was held 17.7% of the time, and the rest of the window was spent in cash.
Buy and hold on TLT did far worse. It compounded at -8.23% a year, ended at $6,106 and went through a drawdown of 42.77%. The rule's edge over buy and hold is large, but it did not come from finding profitable trades. It came from sitting in cash through almost all of a long and painful bond decline. Two trades are too few to say anything about the quality of the entry signal, so the useful content on this page is how the rule behaved around the bond market's moves and what the data says about why it traded so seldom.
Year by year
| Year | momentum breakout | buy & hold |
|---|---|---|
| 2021 | 0.0% | −4.4% |
| 2022 | −5.0% | −30.2% |
| 2023 | 7.1% | 2.7% |
| 2024 | −8.3% | −7.7% |
| 2025 | 0.0% | 4.0% |
| 2026 | 0.0% | −7.7% |
Years spent in cash and the years that counted
The yearly figures are 0% in 2021, -5% in 2022, 7.1% in 2023, -8.3% in 2024, 0% in 2025 and 0% in 2026. Three of the six periods are flat because the account held nothing.
Buy and hold on TLT lost 4.4% in 2021, 30.2% in 2022, made 2.7% in 2023, lost 7.7% in 2024, made 4% in 2025 and lost 7.7% in 2026 so far. The rule beat the fund in 2021, 2022, 2023 and 2026. The gaps in the rule's favour were 4.4 points in 2021, 25.2 points in 2022, 4.4 points in 2023 and 7.7 points in 2026. The fund won in 2024 by 0.6 points and in 2025 by 4 points.
2022 is the year that drives the whole comparison. TLT lost 31.21% that year by its own calendar return, and the strategy lost 5%. The 20-day return never crossed +10% until late in the year, so the rule bought nothing while the fund fell. The first entry came on 2022-12-02 at an adjusted price of 90.18, after a jump in the fund that included a 3.24% gain on 2022-12-01. Up to that date the account was entirely in cash. In that sense the rule dodged most of the damage by being slow to act, and the slowness was a feature of the entry condition. A bond fund rarely gains 10% in four weeks, and a fund that is in a long decline rarely does so before the decline has largely run its course.
The entry on 2022-12-02 is also the reason the 2022 figure is not zero. The position lost money in December 2022, and the monthly table shows -5.04% for that month, the worst month of the run.
2023 was the one good calendar year for the rule, at 7.1%. January 2023 returned 7.52% and March returned 4.61%. The trade was still open through most of 2023 and it closed on 2023-08-02 at 84.789, which put the full trade at a loss. The year therefore shows a gain on the calendar while the round trip, measured from entry to exit, lost 5.98%.
2024 lost 8.3% because the second trade ran from 2023-11-30 to 2024-04-11 and the losses of January, February and April 2024 all fell inside the year. After that exit on 2024-04-11 the rule had no further entries, and 2025 and 2026 show 0% each.
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% | −5.0% |
| 2023 | 7.5% | −4.8% | 4.6% | 0.4% | −2.9% | 0.2% | −2.5% | −2.8% | 0.0% | 0.0% | −0.4% | 8.4% |
| 2024 | −2.2% | −2.2% | 0.8% | −4.8% | 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% | – | – |
Month by month, 2022 to 2024
All the action sits in the stretch between December 2022 and April 2024. Every month before and after that stretch shows 0%.
The best month was December 2023 at +8.45%. The fund rallied hard at the end of 2023, and the rule had entered on 2023-11-30, so it caught the whole of that move. Buy and hold had its best month a month earlier, in November 2023, at +9.49%. The strategy's November 2023 return was -0.41%, because it entered on the last day of the month.
The worst month was December 2022 at -5.04%. This is the month right after entry, and it shows the cost of buying a burst. The rule buys after the fund has already gained more than 10%, so the position starts life near a local high. A modest pullback in the first weeks eats into the account before the trailing stop can lock anything in. The same thing happened again in the next round trip, where January 2024 lost 2.21% and February lost 2.2% within weeks of the entry.
Buy and hold on TLT had a worst month in April 2022 at -9.19%. The rule was in cash for it, as it was for every month of 2022 up to November.
The pattern across the months is a stretch of small swings, some up and some down, around a position that went nowhere. Between December 2022 and August 2023 the monthly returns alternate between gains of 7.52%, 4.61%, 0.4% and 0.22% and losses of 4.81%, 2.9%, 2.46% and 2.8%. A trailing stop set 10% below the high does not fire during swings of that size, so the rule held on through all of them. It finally exited on 2023-08-02, 243 days after entry, which is the longest hold in the run.
Every trade
momentum breakout on TLT made 2 closed round trips, an average hold of 188 days, an average loser of −3.48%, a longest losing streak of 2. It held a position at the close on 17.7% of trading days.
| Entry | Entry price | Exit | Exit price | Return | Days held |
|---|---|---|---|---|---|
| 2022-12-02 | $90.18 | 2023-08-02 | $84.79 | −6.0% | 243 |
| 2023-11-30 | $81.23 | 2024-04-11 | $80.43 | −1.0% | 133 |
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.
Two trades in full
The first trade was bought on 2022-12-02 at an adjusted price of 90.18 and sold on 2023-08-02 at 84.789. It lasted 243 days and returned -5.98%. The exit came from the trailing stop, which sits 10% below the highest close since entry and only moves up. The exit price of 84.789 is below the entry price of 90.18. The fund never rose far enough above 90.18 for the stop to climb past the entry level, so when price slid through the stop the position closed at a loss.
The second trade was bought on 2023-11-30 at 81.23 and sold on 2024-04-11 at 80.433. It lasted 133 days and returned -0.98%. This one nearly broke even. It rode the December 2023 rally of 8.45% and then gave it all back in the first four months of 2024. The monthly figures show -2.21% in January, -2.2% in February, +0.78% in March and -4.85% in April. The trail ratcheted up with the December high and sat 10% under it, so the exit happened close to the entry price.
The average losing trade lost 3.48%, and the best trade lost 0.98%. The winning streak is 0 and the losing streak is 2. With only two observations the average hold of 188 days and the median hold of 243 days describe the data but do not say how the rule would hold on a longer list of trades. The profit factor is 0, because there were no winning trades to divide into the losses.
Both entries came after the fund had already moved. The 2022-12-02 entry followed the early December jump in the fund. The 2023-11-30 entry followed the sharp November 2023 rally. The rule buys strength, and TLT's strength in this window came as brief rebounds inside a longer decline. The fund's total return over the window was -40.49%, and a rebound of 10% in four weeks was on average the front part of a move that stalled.
Largest drawdowns
| Peak | Low point | Depth | Days to low | Recovered | Days to recover |
|---|---|---|---|---|---|
| 2023-04-06 | 2024-04-11 | −10.3% | 371 | not yet | – |
| 2022-12-07 | 2022-12-30 | −8.6% | 23 | 2023-04-06 | 97 |
| 2022-12-02 | 2022-12-05 | −1.3% | 3 | 2022-12-07 | 2 |
Buy-and-hold's deepest drawdown ran from 2021-01-04 to 2023-10-19 and reached −42.8%.
Drawdown while holding and while waiting
The deepest drawdown of the strategy was 10.32%, from a peak on 2023-04-06 to a trough on 2024-04-11, 371 days later. The account had not recovered by the end of the window. The second drawdown was 8.61%, from 2022-12-07 to 2022-12-30, and it recovered on 2023-04-06 after 97 days. A third, of 1.31%, lasted three days in early December 2022 and recovered in two.
The peak on 2023-04-06 was the account high of the run. The rule's equity reached that level in the first spring of the position, then slid through the summer and into the second trade. It never rose back above the April 2023 level before the end of the window, which is why the longest drawdown has no recovery date.
Buy and hold had one drawdown that began on the first day, 2021-01-04, and reached 42.77% by 2023-10-19, after 1,018 days. The fund itself fell 44.06% from the same day to the same low, and its longest drawdown covered 1,443 of 1,444 sessions. In plain terms, a holder of TLT was under water for essentially the entire window.
The rule's drawdown was 32.45 points shallower than buy and hold, and its ending equity was $3,221 higher. Those are the largest measured benefits, and they come from the large share of the window when the account held cash. The test does not credit interest on idle money, so the comparison would look different with a cash yield added.
Costs barely moved the result because the run made four fills. With 5 basis points a fill the CAGR is -1.24%, the drawdown 10.45% and the ending equity $9,309. With 10 it is -1.27%, 10.59% and $9,291. Sharpe slides from -0.14 to -0.145, then -0.15. TLT trades about $2,159,787,473 a day with a median of 35,636 shares a minute, so a $10,000 sleeve is a rounding error in that flow.
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) | −1.2% | −10.3% | $9,328 | -0.14 |
| 5 basis points | −1.2% | −10.4% | $9,309 | -0.14 |
| 10 basis points | −1.3% | −10.6% | $9,291 | -0.15 |
Changing the parameters
| Version | CAGR | Max drawdown | Round trips | Win rate | Final value |
|---|---|---|---|---|---|
| Published rules | −1.2% | −10.3% | 2 | 0% | $9,328 |
| 5% trailing stop | 0.5% | −5.6% | 2 | 50% | $10,282 |
| 15% trailing stop | −2.5% | −16.9% | 2 | 0% | $8,650 |
| 20% return entry | 0.0% | −0.0% | 0 | – | $10,000 |
What changing the stop and the entry showed
Three variants were run. A 5% trailing stop returned 0.49% a year with a drawdown of 5.59%, ended at $10,282 and had a Sharpe of 0.165. It made 2 trades and 1 was a winner. A 15% trailing stop returned -2.49% a year, with a drawdown of 16.91%, ended at $8,650 and had a Sharpe of -0.243. It also made 2 trades, with no wins. Raising the entry threshold from a 10% to a 20% return produced no trades at all, so the account stayed at $10,000 with a CAGR and drawdown of 0.
The stop distance moved the result in a clear order. Tighter was better and wider was worse. A 5% trail got out of the first position earlier, after a smaller giveback, and turned one of the two trades into a winner. A 15% trail waited longer and let a bigger slice of the position's gain disappear before it fired. On a fund that rallies in bursts inside a longer decline, a tight stop is a way of taking the burst and leaving.
The result from the 20% entry is worth reading as data. TLT never gained more than 20% in 20 sessions in this window, so that version never invested. Its CAGR was zero, which sits above the default run and the 15% stop and below the 5% stop. The 10% threshold had only 2 entries over almost six years, and a threshold twice as high had none. The rule's trading frequency on a bond fund is set almost entirely by that one number.
Three variants and two trades each cannot support a conclusion about the best trailing stop. The 5% version made a small profit on a sample of two trades, and one more trade could reverse it. The variants show the direction of sensitivity and nothing more.
How TLT behaved
| Measure | TLT |
|---|---|
| Data in this test | 2021-01-04 to 2026-10-02 (1444 sessions) |
| Total return, buy and hold | −40.5% |
| Annualized volatility | 15.3% |
| Deepest drawdown | −44.1% (2021-01-04 to 2023-10-19) |
| Up days | 49.0% |
| Average daily range | 0.94% |
| Average overnight gap | 0.54% |
| Correlation to SPY | 0.08 |
| Correlation to QQQ | 0.09 |
| Sessions above the 200-day average | 35.2% |
| Crossings of the 200-day average | 95 |
| Falls of 10% or more from a 20-day high | 3 |
Why TLT rarely triggers a breakout
A 10% gain in 20 sessions is a big ask of a Treasury fund. TLT's volatility ran 15.33% a year over 1,444 sessions, up days averaged 0.74%, down days averaged -0.77%, and the fund closed higher on 49% of days. Its biggest single-day gain was 3.9% on 2022-11-10 and its worst fall was 3.47% on 2022-03-02. Only 3 times did the fund drop 10% within 20 days, across 5 days in total.
Calendar returns were -4.53% (2021), -31.21% (2022), 2.79% (2023), -8.07% (2024), 4.23% (2025) and -8.01% (2026, partial). The two positive years were rebounds inside a falling price. TLT closed above its 200-day average on 35.18% of sessions and crossed it 95 times, a lot of crossings for a bond fund in under six years.
Splitting the day shows something odd. In log terms the fund lost 70.11% overnight and gained 18.78% during sessions, so the overnight leg is 136.58% of the total return and the intraday leg is -36.58%. The fund bled between the close and the next open and recovered part of it in the session. Because the rule buys at the open, each entry takes that overnight gap first.
Lag-1 autocorrelation of -0.05 means no day-to-day momentum, and a momentum entry assumes bursts continue. RSI(14) dipped under 30 on 61 sessions and went over 70 on 21. Five sessions after a sub-30 reading the median return was 0.02% (baseline -0.14%), and after twenty sessions it was -1.63% (baseline -0.6%). RSI(2) under 10 happened on 203 sessions, with medians of 0.03% after 5 sessions and -0.65% after 20. The bounces were small and the larger moves were slow declines.
TLT moved apart from stocks, with a correlation of 0.08 and a beta of 0.07 to SPY. Its closest peers were other Treasury funds: IEF at 0.91, BND and AGG at 0.92 each, and TMF at 1. See the TLT fund page for the full tables.
The rules
Buy after a +10% four-week burst and let a 10% trailing stop manage the exit.
- WHEN the market opens · IF not invested AND the 20-day return > +10% · THEN buy with 98% of the sleeve
- WHILE invested · a managed trailing stop follows 10% below the position's high-water mark
Momentum entry, trailing-stop exit. A +10% gain over 20 sessions marks a burst of momentum. The template buys the strength and exits on a 10% trailing stop that ratchets up beneath the highest close and never moves down. There is no profit target, so winners run until the trail is hit.
Good for: high-momentum assets where trends extend, such as semiconductor and leveraged tech ETFs.
Watch out: buying strength means buying high; when a burst immediately reverses, the trail exits about 10% below the entry.
Where this rule ranks on TLT and in the bond category
Fourth of 12 on TLT by CAGR is the rule's placing, at -1.2% with the shallowest drawdown of the top four (10.32%). Only the RSI(2) snapback finished positive, at 0.96% a year and a 22.81% drawdown. Next were the EMA 12/26 trend at -0.67% (15.92% drawdown) and the SMA 10/50 trend at -0.85% (14.24%).
At the bottom, the monthly cycle lost 8.08% a year with a 46.24% drawdown, the 200-day regime filter lost 7.58% with 40.21%, and the trend with trailing stop lost 7.11% with 38.76%. These rules stayed invested much longer, and TLT fell while they held it. Low exposure was the best defence in a falling bond market.
Across the bond category this breakout rule never traded on AGG, BND, IEF, IEI, IGIB or SGOV, so each shows a CAGR of 0, because none of them gained 10% in 20 sessions. TLT was the lone bond fund where it traded. The category median and the median over all 59 ETFs are both 0, and TLT placed 40th of 59, a rank that means little when so many funds tie at zero.
The IEF result shows the design limit. The rule needs a large, fast move to start, and low-volatility bond funds rarely supply one. The strategy page names leveraged tech funds as the intended fit.
The window is 5.74 years with daily decisions and a long-only position, and the sample is two trades with no interest on cash. These are hypothetical figures, and they are too thin to say how the rule would act on TLT in another rate environment.
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 momentum breakout beat buy-and-hold on TLT?
Over 2021-01-04 to 2026-10-02, momentum breakout on TLT returned −1.2% annualized vs −8.2% for buy-and-hold: it beat buy-and-hold by 7.0% per year, with a maximum drawdown 32.5 points shallower than holding (10.3% vs 42.8%).
How many trades did it make?
2 completed round trips over 5.7 years (4 fills), with 0% of round trips closing profitably.
How does the trailing stop work in the backtest?
The stop sits 10% below the highest price since entry and only ratchets up. When a bar trades through it, the position sells at the stop, or at the open if the price gaps below it. Trailing-stop exits can be backtested now; deploying them live is not available yet.
Does the momentum breakout with a trailing stop work on TLT?
It lost a little: a CAGR of -1.2% from 2021-01-04 to 2026-10-02 and $9,328 left from $10,000. Both of its 2 trades lost money. Buy and hold did worse at -8.23% a year, because the rule sat in cash for most of the window.
How many trades did the rule make on TLT?
Two round trips, four fills. The first ran from 2022-12-02 to 2023-08-02 for -5.98%. The second ran from 2023-11-30 to 2024-04-11 for -0.98%. The account was invested 17.7% of the time.
How deep was the drawdown on TLT with this rule?
10.32% at the worst, from 2023-04-06 to 2024-04-11, and still open at the end of the window. Buy and hold on TLT dropped 42.77% between the first day and 2023-10-19.
What happens if the trailing stop is 5% or 15% instead of 10%?
A 5% stop made 0.49% a year with a 5.59% drawdown and ended at $10,282. A 15% stop made -2.49% with a 16.91% drawdown and ended at $8,650. Both variants made 2 trades, which is too few to pick a best setting.
Why did a 20% entry threshold make no trades?
TLT never gained 20% within 20 sessions in this window, so the entry condition never held and the account stayed at $10,000. The fund's best day was +3.9% on 2022-11-10, and its volatility was 15.33%.
Where does the rule rank among the 12 strategies on TLT?
Fourth by CAGR. RSI(2) snapback was the only strategy with a gain, at 0.96% a year. The breakout's 10.32% drawdown was the shallowest of the top four.
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.