20-Day Momentum + Trailing Stop on TBF
ProShares Short 20+ Year Treasury: -1x daily long-term Treasuries, a rising-rates position. 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 enters a fund once its 20-session return tops 10%, then holds it behind a stop that trails 10% beneath the highest close. On TBF, ProShares Short 20+ Year Treasury, which aims for -1x the daily move in long-term Treasuries, that rule made four trades between 2021-02-26 and 2023-11-29 and lost on three of them. The CAGR was -2.3%, and $10,000 became $8,748.40.
Buy-and-hold on TBF made 12.21% a year over the same window, 2021-01-04 to 2026-10-02, and ended at $19,377.23. The rule trailed it in every one of the six calendar years. Its maximum drawdown was 16.4%, a little shallower than the 17.58% for buy-and-hold, so the rule gave up most of the return and bought very little protection in exchange. Its Sharpe ratio was -0.29 against 0.85.
Out of 12 strategies on TBF this one ranks 12th by CAGR. Monthly cycle leads at 11.93%, followed by trend plus trailing stop at 11.25% and the RSI(2) snapback at 9.67%. Across the 59 funds, TBF ranks 45th for this rule. The rule's median CAGR over all 59 funds is 0%, and over the inverse funds it is -8.12%, which puts TBF's -2.3% above the inverse-fund median and well below the leaders.
The rule was invested 16.6% of sessions and held cash the rest of the time. Almost all of the story is in two stretches, 2021 and 2022, plus one trade in October and November 2023. The rest of the window shows no trades at all, and the account stayed at its November 2023 level for the rest of the data. Test limits: one 5.74 year window, daily decisions, no margin, and no fees in the headline run.
Year by year
| Year | momentum breakout | buy & hold |
|---|---|---|
| 2021 | −5.1% | 1.7% |
| 2022 | −1.5% | 41.2% |
| 2023 | −6.4% | 2.3% |
| 2024 | 0.0% | 15.2% |
| 2025 | 0.0% | 2.1% |
| 2026 | 0.0% | 12.8% |
How each year went: three losses, then three empty years
Buy-and-hold on TBF returned 1.7% in 2021, 41.2% in 2022, 2.3% in 2023, 15.2% in 2024, 2.1% in 2025 and 12.8% in 2026 to date. The rule returned -5.1%, -1.5%, -6.4%, 0%, 0% and 0%. The gap in the rule's favor was never positive. The yearly gaps were -6.8 points in 2021, -42.7 in 2022, -8.7 in 2023, -15.2 in 2024, -2.1 in 2025 and -12.8 in 2026.
2021 held the first trade. The rule bought on 2021-02-26 at an adjusted price of $15.18 and sold on 2021-07-06 at $14.391, a loss of 5.2% over 130 days. That date is also one of the fund's five worst days in the data, with a fall of 3.31% on 2021-02-26. The rule held for months and exited in July. The year ended at -5.1% for the rule against 1.7% for the fund.
2022 is where the gap is largest. The fund rose 42.06% over the calendar year, and the best month for buy-and-hold was April 2022 at 10.14%. The rule made two trades that year. It bought on 2022-04-19 at $16.92 and sold on 2022-08-01 at $16.596 for a 1.91% loss after 104 days. It bought again on 2022-09-28 at $19.18 and sold on 2022-11-23 at $19.26 for a 0.42% gain. That second trade was the only winner of the test. It caught part of October 2022, which returned 6.39% for the rule, and then lost 6.1% in November. The rule ended 2022 down 1.5% while the fund finished far above where it started.
2023 held the fourth trade. The rule bought on 2023-10-04 at $23.21 and sold on 2023-11-29 at $21.68, a 6.59% loss and the worst of the four. November 2023 was the worst month for both the rule at -9.13% and the fund at -8.68%. The year finished at -6.4% for the rule and 2.3% for buy-and-hold.
In 2024, 2025 and 2026 the rule stayed in cash. The entry signal did not fire in those years, so the account stayed in cash. Buy-and-hold made 15.2% in 2024, 2.1% in 2025 and 12.8% in 2026, and the rule's flat zeros left it behind in each.
The pattern is clear from the numbers. The rule bought strength after a burst and lost on each of the three entries that followed a burst that faded. In three calendar years it made no trade, and the fund rose in each of them.
Month by month
| Year | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2021 | 0.0% | −1.9% | 5.3% | −2.4% | 0.0% | −4.5% | −1.3% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
| 2022 | 0.0% | 0.0% | 0.0% | −0.3% | 1.6% | 1.1% | −2.5% | −1.8% | 0.5% | 6.4% | −6.1% | 0.0% |
| 2023 | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 3.0% | −9.1% | 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% | – | – |
The months that did the damage
Most cells in the monthly table read 0.0%, because the rule held no position. The account was invested in 2021 from February to July, in 2022 from April to November, and in 2023 in October and November. Every other month in the window shows a zero.
The rule's best month was October 2022 at 6.39%, and its worst was November 2023 at -9.13%. Buy-and-hold's best month was April 2022 at 10.14%. The rule entered on 2022-04-19 and booked a loss of 0.29% for April. It needs a 20-day burst before it buys, so it was not in the fund for the early part of the move.
The 2021 trade shows the path of a losing hold. March 2021 made 5.26% for the rule, which was the best month of that trade. April then lost 2.44%, June lost 4.54% and July lost 1.33%. The position gave back its early gain, and the stop did not trigger until July because a 10% trail follows the high-water mark and only exits when the price falls 10% from it.
The 2022 trade held through May at 1.62% and June at 1.14%, then lost 2.48% in July and 1.82% in August. The exit came on 2022-08-01, so the July loss belongs to the stop. September made 0.51% on the second entry, October 6.39%, and November lost 6.1% before the exit on 2022-11-23. Two good months and a bad one in a single trade gave a net 0.42%.
The one remaining trade ran through October 2023 at 2.95% and November at -9.13%. The trade as a whole lost 6.59% from entry to exit. The monthly figure for November is larger than that, because October's gain of 2.95% was already in the account when the month began. TBF's worst day in the whole window was -3.84% on 2022-11-10, so moves of that size are part of this fund's record.
The monthly record has one use for the reader. It shows that all of the rule's profit and loss came from a few months in 2021, 2022 and 2023, and that every month after November 2023 contributed nothing.
Every trade
momentum breakout on TBF made 4 closed round trips, an average hold of 87 days, an average winner of 0.42%, an average loser of −4.57%, a profit factor of 0.03, a longest losing streak of 2. It held a position at the close on 16.6% of trading days.
| Entry | Entry price | Exit | Exit price | Return | Days held |
|---|---|---|---|---|---|
| 2021-02-26 | $15.18 | 2021-07-06 | $14.39 | −5.2% | 130 |
| 2022-04-19 | $16.92 | 2022-08-01 | $16.60 | −1.9% | 104 |
| 2022-09-28 | $19.18 | 2022-11-23 | $19.26 | 0.4% | 56 |
| 2023-10-04 | $23.21 | 2023-11-29 | $21.68 | −6.6% | 56 |
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 four trades in detail
There were four round trips and eight fills. One won, a win rate of 25%. The average winner made 0.42% and the average loser lost 4.57%, and the profit factor was 0.03. The median trade returned -1.91%, the average hold lasted 86.5 days, the longest 130 days and the shortest 56 days. The longest losing streak was two trades. The longest winning streak was one.
Trade one ran from 2021-02-26 at $15.18 to 2021-07-06 at $14.391 and lost 5.2% over 130 days. Trade two ran from 2022-04-19 at $16.92 to 2022-08-01 at $16.596 and lost 1.91% over 104 days. Trade three ran from 2022-09-28 at $19.18 to 2022-11-23 at $19.26 and gained 0.42% over 56 days. Trade four ran from 2023-10-04 at $23.21 to 2023-11-29 at $21.68 and lost 6.59% over 56 days. All prices quoted in this section are adjusted ones, which sit below the quotes printed on the day.
The loss sizes carry the information. With a 10% trailing stop, a trade can lose roughly the width of the trail when a burst reverses at once. The worst trade lost 6.59% and the second worst 5.2%, which fits a rule that gives a position room and accepts a loss near that width. A profit factor of 0.03 means gross profit was a small fraction of gross loss, and the single winner made less than half a percent.
Two entries landed on bad days. TBF fell 3.31% on 2021-02-26, the date of the first entry, and 3.37% on 2022-09-28, the date of the third. Both are in the fund's list of five worst days. The rule's signal is based on the prior 20-day return, so a fund that has just risen 10% can also be one that has become very volatile. The data does not show whether the entry fill was before or after the move on those days, and the entry prices in the trade list are the fills.
Four trades is a small sample. A single reversal moves the win rate by 25 points, and the profit factor of 0.03 is the ratio of one 0.42% gain to the sum of three losses. The numbers describe what happened on this fund in this window, and four trades cannot say how often the rule would work on a similar fund in another window.
Largest drawdowns
| Peak | Low point | Depth | Days to low | Recovered | Days to recover |
|---|---|---|---|---|---|
| 2021-03-18 | 2023-11-29 | −16.4% | 986 | not yet | – |
| 2021-02-25 | 2021-02-26 | −1.9% | 1 | 2021-03-03 | 5 |
| 2021-03-08 | 2021-03-10 | −1.5% | 2 | 2021-03-12 | 2 |
Buy-and-hold's deepest drawdown ran from 2023-10-19 to 2023-12-27 and reached −17.6%.
Drawdowns of the rule and of the fund
The rule's deepest drawdown was 16.4%. It started at a peak on 2021-03-18, reached its low on 2023-11-29 after 986 days, and had not recovered by the end of the data. The account never made a new high after March 2021. That single drawdown spans all four trades and the long flat stretch after the last one. The other two listed drawdowns were small, 1.87% from 2021-02-25 to 2021-02-26 and 1.52% from 2021-03-08 to 2021-03-10, and both recovered within days.
Buy-and-hold had three drawdowns of similar depth, each of them followed by a recovery. The deepest, 17.58%, ran from 2023-10-19 to 2023-12-27 and recovered on 2025-05-21, 511 days after the low. The second, 15.78%, ran from 2022-10-24 to 2022-12-07 and recovered on 2023-08-21. The third, 15.69%, ran from 2021-03-18 to 2021-12-03 and recovered on 2022-04-07. The fund's own price series shows a maximum drawdown of 17.79% and a longest drawdown of 396 sessions.
The comparison is unusual. Both the rule and the fund fell about 16% to 18% at their worst. The fund then recovered and finished the window with a total return of 96.88%. The rule's drawdown never closed. A stop-loss rule that exits and does not re-enter can end with a drawdown as deep as the fund's, and without the recovery that holding would have given. The rule's drawdown was not a protection here. It was a loss taken once, with the account idle afterward.
The dates line up. The rule's drawdown peak, 2021-03-18, matches the peak of the fund's own third-deepest drawdown, which also began on 2021-03-18. The two curves diverged after that: the fund fell 15.69% to December 2021 and recovered by April 2022, while the rule kept losing and then sold in July.
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) | −2.3% | −16.4% | $8,748 | -0.29 |
| 5 basis points | −2.4% | −16.7% | $8,713 | -0.30 |
| 10 basis points | −2.4% | −17.0% | $8,678 | -0.31 |
What slippage adds to a loss
The headline run charges no costs. At 5 basis points per fill the CAGR falls from -2.3% to -2.37%, the maximum drawdown rises from 16.4% to 16.7%, and the final value is $8,713.18 with a Sharpe ratio of -0.298. At 10 basis points the CAGR is -2.44%, the drawdown 16.99%, the final value $8,678.41 and the Sharpe ratio -0.307.
Eight fills make costs a minor part of the result. The rule's problem is the entries, and costs do not change that. Even at 10 basis points the rule ends well below buy-and-hold's $19,377.23, and its drawdown stays close to the fund's.
TBF trades a median of 810 shares a minute and an average of $14,836,750 a day. That is thin enough that a larger order might see wider spreads than the flat charges in the cost runs. The cost runs apply a flat charge to each fill. Market impact from a large order is outside what they measure.
Changing the parameters
| Version | CAGR | Max drawdown | Round trips | Win rate | Final value |
|---|---|---|---|---|---|
| Published rules | −2.3% | −16.4% | 4 | 25% | $8,748 |
| 5% trailing stop | 0.9% | −7.0% | 4 | 75% | $10,531 |
| 15% trailing stop | −2.7% | −24.3% | 3 | 33% | $8,531 |
| 20% return entry | 0.0% | −0.0% | 0 | – | $10,000 |
Changing the trail and the entry
Three variants were run against the published setting of a +10% entry and a 10% trail. A 5% trailing stop made 0.91% a year with a 7% drawdown and a final value of $10,530.99, and its Sharpe ratio was 0.212. It made four trades and won three. A 15% trailing stop made -2.73% with a 24.27% drawdown and a final value of $8,530.71, making three trades and winning one. A 20% return entry never fired, so it made no trades, ended at $10,000 and showed 0% CAGR and 0% drawdown.
The tighter stop turned the loss into a small gain. The looser stop had the deepest drawdown of the four runs, 24.27%. The published 10% setting sits between them, with -2.3% and a 16.4% drawdown.
This is a clear case of the stop width deciding the sign of the result, and one fund and four trades are too few to say that 5% is a better setting in general. A 5% trail on a fund with an average daily range of 0.93% and a worst day near -3.84% stops out on normal movement. In this window it won three of its four trades. The 20% entry shows how rare a very large burst is on TBF: in 1,444 sessions it never appeared.
The comparison does not show a parameter that rescues the rule. It shows that the exit is the part that matters, and that the entry condition fires seldom.
How TBF behaved
| Measure | TBF |
|---|---|
| Data in this test | 2021-01-04 to 2026-10-02 (1444 sessions) |
| Total return, buy and hold | 96.9% |
| Annualized volatility | 15.3% |
| Deepest drawdown | −17.8% (2023-10-19 to 2023-12-27) |
| Up days | 50.2% |
| Average daily range | 0.93% |
| Average overnight gap | 0.55% |
| Correlation to SPY | -0.07 |
| Correlation to QQQ | -0.09 |
| Correlation to TLT | -1.00 |
| Sessions above the 200-day average | 78.8% |
| Crossings of the 200-day average | 55 |
| Falls of 10% or more from a 20-day high | 2 |
How TBF behaved
TBF returned 96.88% over the window, 12.52% a year, with annualized volatility of 15.32% and a maximum drawdown of 17.79% from 2023-10-19 to 2023-12-27, recovered on 2025-05-21. Year by year the fund went 1.76% (2021), 42.06% (2022), 2.34% (2023), 15.38% (2024), 2.15% (2025) and 12.91% (2026, partial). TBF closed higher on 50.17% of sessions, averaging 0.8% on up days and -0.74% on down days. The average daily range was 0.93%. Best days were 3.62% on 2022-03-02, 3.3% on 2025-04-07 and 3.13% on 2022-06-13, and the worst were -3.84% on 2022-11-10, -3.43% on 2023-03-10 and -3.37% on 2022-09-28.
The fund is a short position in long Treasuries. Its correlation to TLT was -1 and its beta to TLT was -1, with an R-squared of 0.99. TLT lost 40.49% over the window, and a simple -1x of that would be 40.49%. TBF returned 96.88%. The facts file puts the gap at 56.39 percentage points and the daily-rebalanced ideal at 46.87%, so the fund beat both figures. In 2022 it returned 42.06% when TLT fell 31.21%. In 2023, when TLT rose 2.79%, the fund still gained 2.34%.
A rule that waits for a +10% burst before entering depends on the fund trending in a way that a breakout can ride. TBF did rise over the full window, and the rule found only four entries in 1,444 sessions. The fund's 20-day drawdown of 10% happened in 2 events across 7 days, so large sudden moves were uncommon.
TBF spent 78.8% of sessions above its 200-day average and crossed that average 55 times. Fifty-five crossings in 5.74 years means the fund repeatedly dipped through its long average and recovered, which is the pattern that traps a breakout buyer who enters after a burst. Lag-1 autocorrelation of -0.04 means one day's move told almost nothing about the next. The overnight part of the return was 80.91% in log terms and the intraday part was -13.83%, so the gain came between the close and the next open. The rule buys at the open, and the entry prices in the trade list sit after the overnight move has happened.
RSI(14) fell below 30 on 14 sessions, with a median forward 5-day return of 0.85% and a 20-day return of 3.26%, against baselines of 0.21% and 0.88%. After RSI(2) fell below 10, which happened on 138 sessions, the medians were 0.59% and 0.87%. In both cases the median forward returns were above the baselines, so oversold readings on this fund tended to be followed by gains. Average daily dollar volume was $14,836,750 and median minute volume 810 shares. By month, September averaged 3.74% and November -3.94%, from 5 or 6 observations each.
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.
Why a breakout rule struggled on a rates-short fund
The rule buys when the 20-day return is above +10% and holds until a 10% trailing stop is hit, with no profit target. The strategy's caveat applies here: a burst that reverses straight away leaves the trail exiting near 10% under the entry. All three of the rule's entry losses fit that description, with the exits well below the entries after the price had made little progress.
The pattern on TBF's peers is similar. Among the 11 inverse funds, the rule's median CAGR was -8.12%. SH made -2.23% with 4 round trips and SPDN -2.21% with 4. TBF's -2.3% sits beside them. QID made -3.08% with 33 round trips, PSQ -5.74% with 8, and REW -8.12% with 44. The deepest losers were SOXS at -13.6% with 129 round trips, SQQQ at -15.97% with 72 and TECS at -18.33% with 83. More trades did not help on the leveraged inverse funds, and fewer did not hurt on the unleveraged ones.
Other strategies handled TBF better. The monthly cycle made 11.93% with a 17.64% drawdown, trend plus trailing stop 11.25% with 16.61%, and the RSI(2) snapback 9.67% with 7.67%. Mid-table sit the weekly 7% target at 9.36%, the golden cross at 8.47% and the EMA 12/26 trend at 7.6%. Below those come the SMA 10/50 trend with 6.68% and a 13.88% drawdown, the 200-day regime filter 4.27%, the dip buyer 2.69% with 8.18%, the 3-month momentum 1.17% and RSI mean reversion 0.92%.
The trend rules on this list held the fund for long stretches and captured 2022. The breakout rule held it for 16.6% of the window. It was in the market for 16.6% of sessions on a fund that returned 96.88% in total, and its entries came after sharp, short runs.
The test stops at one fund, one window and four trades. The result is hypothetical, with no fees in the headline run, and says nothing about how the rule would handle a different rate cycle. All 12 strategies on TBF are ranked on its fund 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 momentum breakout beat buy-and-hold on TBF?
Over 2021-01-04 to 2026-10-02, momentum breakout on TBF returned −2.3% annualized vs 12.2% for buy-and-hold: it trailed buy-and-hold by 14.5% per year, with a maximum drawdown 1.2 points shallower than holding (16.4% vs 17.6%).
How many trades did it make?
4 completed round trips over 5.7 years (8 fills), with 25% 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.
How did the momentum breakout rule do on TBF?
It made -2.3% a year from 2021-01-04 to 2026-10-02 and turned $10,000 into $8,748.40. Buy-and-hold on TBF made 12.21% a year. The rule's maximum drawdown was 16.4%.
How many trades did the rule make on TBF?
Four round trips and eight fills, between 2021-02-26 and 2023-11-29. One trade won, for 0.42%. The three losses were -5.2%, -1.91% and -6.59%.
Why did the rule stop trading after 2023?
The entry needs a 20-day return above 10%, and TBF did not meet that condition after October 2023 in this data. The account held cash in 2024, 2025 and 2026 while buy-and-hold made 15.2%, 2.1% and 12.8%.
Does a tighter stop help on TBF?
A 5% trailing stop made 0.91% a year with a 7% drawdown and won three of four trades. A 15% stop made -2.73% with a 24.27% drawdown. With four trades, one fund and one window, the result says little about other settings.
What does slippage do to the result?
At 5 basis points the CAGR is -2.37% and at 10 basis points -2.44%, against -2.3% with no costs. The rule makes only eight fills, so costs change the result little.
Which strategy did best on TBF?
The monthly cycle ranked first at 11.93% with a 17.64% drawdown, ahead of trend plus trailing stop at 11.25% and the RSI(2) snapback at 9.67%. The momentum breakout ranked 12th of 12.
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.