SMA-200 Trend + 15% 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.
TBF is the ProShares Short 20+ Year Treasury fund. It aims for -1x the daily return of long-term Treasuries and gains when long bonds lose. The trend with trailing stop template enters after a close over the 200-day average and stays in until the price falls 15% below the position's high-water mark. Between 2021-01-04 and 2026-10-02 it grew $10,000 to $18,441, a CAGR of 11.25% and a total return of 84.41%. Holding TBF the whole time ended at $19,377, a CAGR of 12.21%.
The rule came in 0.96 points of CAGR and $936 of ending equity behind holding. Its worst drawdown was 16.61% against 17.58% for the fund, and the Sharpe ratios were 0.84 and 0.85. The two paths are close. The rule held a position on 81.8% of trading days and skipped 2021 entirely.
Two round trips closed, and a third was still open at the end, which makes 5 fills. Both closed trades won. The first made 24.47% over 323 days and the second made 13.8% over 371 days, an average winner of 19.14%. The open trade, entered on 2023-12-14 at an adjusted price of $20.36, was up 31.7% at the last close. A rule with two closed trades has no loss to measure, so the usual win-rate and profit-factor statistics say little here.
Sorted by CAGR on TBF, the stop rule placed second of twelve, trailing only the monthly cycle at 11.93%. In third came the RSI(2) snapback at 9.67% with a 7.67% drawdown. Every template finished below buy and hold. Over 59 funds TBF placed 13th for this rule, whose median CAGR across the set was 2.61% and across the 11 inverse funds -7.22%. TBF was the only inverse fund where this rule made money: the next best, EEV, returned -0.86%.
The test covers 5.74 years with daily decisions. The headline run uses no margin, fees or slippage. The result rests on a bond bear market in which long Treasuries fell, and it says nothing about a period when they rise.
Year by year
| Year | trend + trailing stop | buy & hold |
|---|---|---|
| 2021 | 0.0% | 1.7% |
| 2022 | 34.7% | 41.2% |
| 2023 | 3.4% | 2.3% |
| 2024 | 15.1% | 15.2% |
| 2025 | 2.1% | 2.1% |
| 2026 | 12.7% | 12.8% |
Year by year against holding
Buy and hold led in five of the six years, and the rule led only in 2023. Yearly gaps, in points, were -1.7 in 2021, -6.5 in 2022, +1.1 in 2023, -0.1 in 2024, 0.0 in 2025 and -0.1 in 2026.
2021 returned 0.0% against 1.7%. The monthly table reads 0.0% for all twelve months, so the rule held nothing. Part of that wait is the 200 sessions the average needs before it can be computed, and the rule then waited for TBF to close above it. The first entry came on 2022-01-18, so the whole year was spent in cash while the fund returned 1.76%.
In 2022 the rule made 34.7% against 41.2% for holding, 6.5 points behind, which is the widest shortfall of any year. The fund returned 42.06% as long Treasuries fell by 31.21%. The rule bought on 2022-01-18 at $14.55, after the first half-month of the year, and held. January lost 1.14%, February made 1.23%, March 4.91% and April 10.13%, the best month of the test. May made 1.63%, June 1.15%, then July lost 2.49%. August made 4.59%, September 8.77% and October 6.43%. November lost 6.62% as the fund gave back part of its gains, and the stop fired on 2022-12-07 at $18.11, closing the first trade for 24.47% over 323 days. The first weeks of the year were spent in cash, and the rule ended behind the fund.
The stop-out on 2022-12-07 was followed by a purchase on the same day, at $18.09. The entry rule asks only that yesterday's close be above the 200-day average, and TBF was still above it after a 15.66% drawdown, so the rule bought straight back. The second trade began there and ran for 371 days.
2023 returned 3.4% against 2.3%, ahead by 1.1 points, the only year the rule beat holding. January lost 6.78%, February made 5.66%, March lost 4.35% and April read 0.0%. May to October were positive: 3.49%, 0.31%, 3.16%, 3.75%, 8.99% and 6.07%. November lost 8.64% and December lost 6.47%. The second trade ended on 2023-12-13 at $20.587 for a gain of 13.8%, and the rule bought again on 2023-12-14 at $20.36.
The fund rose 2.34% in 2023 while its underlying, long Treasuries, also rose 2.79%. An inverse fund can gain in a year when its underlying gains, because the daily resetting makes the path matter. The profile data shows the same thing in 2025, when TBF returned 2.15% and the underlying returned 4.23%.
2024 returned 15.1% against 15.2%. The year was a full-year hold, with no trade closing, since the third position stayed open from 2023-12-14. The monthly table is mixed: April made 7.41%, October 6.2% and December 6.19%, with losses in May to September and in November, between 1.21% and 2.75%.
2025 returned 2.1% for both the rule and the fund. February lost 4.94%, and May made 3.93%. For 2026, which ends at 2026-10-02, the rule made 12.7% against 12.8%. February lost 3.99% and March made 4.5%, and July made 5.14% and September 5.72%.
From 2023-12-14 to the end of the data the rule held one position and the two lines are nearly identical. The 31.7% open gain was earned inside that stretch. The year-by-year differences from 2024 onward are all 0.1 points or less, because the rule and the fund held the same shares.
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 | −1.1% | 1.2% | 4.9% | 10.1% | 1.6% | 1.1% | −2.5% | 4.6% | 8.8% | 6.4% | −6.6% | 2.8% |
| 2023 | −6.8% | 5.7% | −4.3% | 0.0% | 3.5% | 0.3% | 3.2% | 3.8% | 9.0% | 6.1% | −8.6% | −6.5% |
| 2024 | 2.9% | 2.8% | −0.2% | 7.4% | −2.1% | −1.4% | −2.8% | −1.6% | −1.2% | 6.2% | −1.4% | 6.2% |
| 2025 | 0.8% | −4.9% | 1.7% | 1.5% | 3.9% | −2.1% | 1.5% | 0.7% | −3.0% | −0.8% | 0.3% | 3.1% |
| 2026 | 0.6% | −4.0% | 4.5% | 1.3% | −0.1% | −0.7% | 5.1% | −0.3% | 5.7% | 0.2% | – | – |
What the monthly table shows
The rule's top month was April 2022 at 10.13%, against 10.14% for holding. The worst was November 2023 at -8.64%, against -8.68% for buy and hold. These match to within a few hundredths, because the rule was fully invested in both months.
The table has two kinds of months. In the first, rising rates pushed the fund up quickly: March 2022 at 4.91%, April at 10.13%, September at 8.77%, October at 6.43%, and then September and October 2023 at 8.99% and 6.07%. In the second, the fund fell fast: November 2022 at -6.62%, January 2023 at -6.78%, and November and December 2023 at -8.64% and -6.47%. Average returns by calendar month show the same split. September averaged 3.74% and October 3.11%, while November averaged -3.94% and June -1.23%. Those averages rest on 5 or 6 observations per month, so they are small samples.
Two stretches of losses stand out. The November 2022 loss of 6.62% led into the stop on 2022-12-07, and the losses of November and December 2023 led into the stop on 2023-12-13. The stop is set 15% under the high-water mark, so only a fall of that size triggers it.
The monthly figures from 2024 are smaller than those of 2022 and 2023, with no month above 7.41% and none below -4.94%.
Every trade
trend + trailing stop on TBF made 2 closed round trips and one position still open at the end of the test, an average hold of 347 days, an average winner of 19.14%. It held a position at the close on 81.8% of trading days.
| Entry | Entry price | Exit | Exit price | Return | Days held |
|---|---|---|---|---|---|
| 2022-01-18 | $14.55 | 2022-12-07 | $18.11 | 24.5% | 323 |
| 2022-12-07 | $18.09 | 2023-12-13 | $20.59 | 13.8% | 371 |
| 2023-12-14 | $20.36 | open | – | 31.7% | – |
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 closed trades and one open one
Three lines make up the whole trade list.
- 2022-01-18 at $14.55 to 2022-12-07 at $18.11: +24.47% over 323 days.
- 2022-12-07 at $18.09 to 2023-12-13 at $20.587: +13.8% over 371 days.
- 2023-12-14 at $20.36, open at the end of the test, up 31.7%.
The median closed trade returned 24.47% and the median hold was 371 days. The average hold was 347 days. No trade lost, so the losing streak is 0 and the profit factor has no value, since there is no loss to divide by.
Both exits came from the stop and both followed a decline of about the stop's size. The 2022 exit followed a drawdown of 15.66% from the 2022-10-24 peak to the 2022-12-07 low. The 2023 exit came after the fund fell from its 2023-10-19 peak, and the drawdown to the 2023-12-27 low was 16.61%. In 2022 the stop fired on the day of the low. In 2023 it fired on 2023-12-13, two weeks before the low on 2023-12-27. Both times the rule bought back at almost the same price within a day.
That is the main thing to understand about this rule on this fund. The stop fires after a 15% fall, and the entry rule fires again as soon as the fund is above its 200-day average. TBF was above its average through both declines, which is why the stop-out and the re-entry sit at most one day apart: sold at $18.11 and bought at $18.09 in 2022, sold at $20.587 and bought at $20.36 in 2023. The stop acted as a reset of the high-water mark and not as a way out of the market. A reset lowers the level of the next stop, which tracks 15% below the new mark.
The result is a rule that held TBF almost continuously from 2022-01-18 to the end of the data, with two brief sales.
The prices shown are split and dividend adjusted and therefore sit below the quotes of the day.
Largest drawdowns
| Peak | Low point | Depth | Days to low | Recovered | Days to recover |
|---|---|---|---|---|---|
| 2023-10-19 | 2023-12-27 | −16.6% | 69 | 2025-01-10 | 380 |
| 2022-10-24 | 2022-12-07 | −15.7% | 44 | 2023-08-21 | 257 |
| 2022-06-14 | 2022-08-01 | −9.9% | 48 | 2022-09-06 | 36 |
Buy-and-hold's deepest drawdown ran from 2023-10-19 to 2023-12-27 and reached −17.6%.
The three largest drawdowns
The worst drawdown for the rule was 16.61%. It started at the 2023-10-19 peak and bottomed on 2023-12-27 after 69 days, then needed 380 more days to recover, which happened on 2025-01-10. Buy and hold had the same dates for its peak and low, with a depth of 17.58%, and recovered on 2025-05-21 after 511 days. The rule recovered earlier because it sold at $20.587 on 2023-12-13 and bought back at $20.36 the next day, a lower price than its sale.
The second was 15.66%, from 2022-10-24 to 2022-12-07, over 44 days, with recovery on 2023-08-21 after 257 days. Buy and hold had a depth of 15.78% from the same peak to the same low and the same recovery date. The rule's stop fired at the low of this drawdown, so the stop fired on the day of the low and the rule re-entered at once.
The third was 9.91%, from 2022-06-14 to 2022-08-01, over 48 days, with recovery on 2022-09-06 after 36 days. The held fund's third drawdown came from a different period, 15.69% from 2021-03-18 to 2021-12-03, with recovery on 2022-04-07. The rule was in cash for that whole stretch and avoided it.
That 2021 drawdown is the clearest benefit of the late first entry. The fund fell 15.69% over 260 days to its 2021-12-03 low, and the rule held nothing, while the fund still returned 1.76% for the year.
The maximum drawdown was 0.97 points shallower than the fund's. The two drawdown tables look alike because the rule held the fund for most of the window. The rule's largest drawdown, 16.61%, was deeper than the 15% stop level, so the stop did not cap the loss at 15%.
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) | 11.3% | −16.6% | $18,441 | 0.84 |
| 5 basis points | 11.2% | −16.7% | $18,402 | 0.84 |
| 10 basis points | 11.2% | −16.8% | $18,358 | 0.83 |
Five fills make costs irrelevant
Only 5 fills occurred, which gives a per-fill charge little to bite on. A 5-basis-point charge left the CAGR at 11.21% and the final value $18,402, against 11.25% and $18,441 in the headline run. A 10-basis-point charge gave 11.16% and $18,358. The maximum drawdown went from 16.61% to 16.69% and then 16.78%. The Sharpe ratio fell from 0.84 to 0.837 and 0.834.
The effect is a few hundredths of a point on CAGR. For a rule this passive, friction is not what separates it from buy and hold. The 0.96-point CAGR gap to holding comes from the late first entry and the two stop sales, and friction was small.
Volume on TBF is thin. The data shows an average of $14,836,750 traded per day and a median of 810 shares per minute. A $10,000 account is small next to that, and 5 fills across the window keep exposure low. The flat 5 and 10 basis point charges are only a proxy, and the real spread on a fund with that volume can differ. With only 5 fills the effect on this result would stay small.
Changing the parameters
| Version | CAGR | Max drawdown | Round trips | Win rate | Final value |
|---|---|---|---|---|---|
| Published rules | 11.3% | −16.6% | 2 | 100% | $18,441 |
| 10% trailing stop | 10.4% | −17.5% | 4 | 75% | $17,671 |
| 20% trailing stop | 11.1% | −17.6% | 0 | – | $18,254 |
| 25% trailing stop | 11.1% | −17.6% | 0 | – | $18,254 |
Changing the stop
Three variants of the trailing stop ran on TBF.
- 10% trailing stop: CAGR 10.42%, drawdown 17.52%, final value $17,671, Sharpe 0.795, 4 trades and 3 wins.
- 20% trailing stop: CAGR 11.05%, drawdown 17.57%, final value $18,254, Sharpe 0.824, 0 trades.
- 25% trailing stop: CAGR 11.05%, drawdown 17.57%, final value $18,254, Sharpe 0.824, 0 trades.
The published 15% stop had a CAGR of 11.25%, a drawdown of 16.61% and a Sharpe ratio of 0.84.
Identical numbers came from the 20% and 25% stops, and neither closed a trade. No stop of that width was hit during the window. The rule bought once and held to the end, so its figures are those of a single position, and they sit close to buy and hold's: a CAGR of 11.05% against 12.21%, with a drawdown of 17.57% against 17.58%. The late entry is the likely difference from holding.
The 10% stop made 4 trades and won 3. It was hit more often, and each stop-out came with a re-entry for the reason described above. Its CAGR of 10.42% was the lowest of the four and its drawdown of 17.52% was deeper than the published 16.61%. A tighter stop did not reduce drawdown on this fund, and it cost return.
Of the four settings, the published 15% stop gave the best CAGR, drawdown and Sharpe ratio. That does not show that 15% suits TBF. It was hit twice, at two points where the fund briefly dipped, and each time the rule bought back almost at once at a slightly lower price. The 10% stop had a worse outcome in the same window. The differences between 10.42%, 11.05% and 11.25% are small, and they come from a handful of fills.
Across the variants, this rule on this fund behaves like buy and hold with a delayed start. Stops of 15% or wider changed little, since the fund stayed over its average through its pullbacks.
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's buy-and-hold total return in the profile data was 96.88% over the window, a CAGR of 12.52%, with annualized volatility of 15.32%. Its deepest drawdown was 17.79%, from 2023-10-19 to 2023-12-27, and it recovered on 2025-05-21. The longest drawdown lasted 396 sessions. Up days were 50.17% of sessions, with an average gain of 0.8% and an average loss of 0.74%.
Intraday range averaged 0.93% and the overnight gap 0.55%. The fund's overnight log return was 80.91% and its intraday log return was -13.83%, so nearly all its return came overnight and it lost ground during trading sessions.
Beta to TLT was -1 and the correlation was -1. Its beta to SPY was -0.07. The fund is designed to track -1x daily long Treasuries. Over the window TLT lost 40.49%, and a fund that tracked its inverse exactly would have gained 40.49%. TBF gained 96.88%, more than twice that. The daily-rebalanced ideal in the data was 46.87%, and the decay gap to the nominal figure was 56.39 points in the fund's favor. Because the underlying fell in a persistent trend, compounding of the daily resets worked for the holder. In a range-bound or recovering Treasury market the same compounding works against a holder.
By year, TBF returned 42.06% in 2022 while TLT fell 31.21%, 15.38% in 2024 while TLT fell 8.07%, and 12.91% in 2026 while TLT fell 8.01%. TLT rose 2.79% in 2023 and 4.23% in 2025, and TBF still returned 2.34% and 2.15% in those years.
Positive correlations with TBF were highest for RINF at 0.41, KMLM at 0.4, CTA at 0.28 and USDU at 0.24. The most opposite were TLT and TMF at -1, followed by BND at -0.92, AGG at -0.91 and IEF at -0.91. TBF moves opposite to TLT and the bond funds, so its results are not comparable with theirs.
TBF closed over its 200-day average on 78.8% of sessions and crossed that line 55 times. RSI(14) dropped under 30 on 14 sessions, after which the median 20-day return was 3.26%, against a baseline median of 0.88%. Its worst sessions were -3.84% on 2022-11-10, -3.43% on 2023-03-10 and -3.37% on 2022-09-28. Its best were +3.62% on 2022-03-02 and +3.3% on 2025-04-07. A 10% fall from a 20-day high occurred only 2 times.
The rules
Enter when price is above the 200-day average; exit only when a 15% trailing stop is hit.
- WHEN the market opens · IF not invested AND yesterday's close > SMA(200) · THEN buy with 98% of the sleeve
- WHILE invested · a managed trailing stop follows 15% below the position's high-water mark
A hybrid of the regime filter and the trailing stop. The 200-day average decides when to get in, and a 15% trail from the position's high-water mark decides when to get out. Winners can run well past the point where a crossover would have exited, and the position gives back 15% from every peak.
Good for: long trends with moderate pullbacks; the 15% trail is wide enough to survive normal corrections.
Watch out: every exit gives back 15% from the peak, and on choppy assets it re-enters above the 200-day repeatedly after each stop-out.
A trailing stop on an inverse bond fund
The rule combines an entry filter with a wide stop. It suits long trends with moderate pullbacks, and a bond bear market is that kind of trend for a short-Treasury fund. TBF climbed in 2022, 2024 and 2026 as Treasuries fell, and the 15% trail was wide enough to ride out the pullbacks along the way. Each exit hands back 15% from the peak, as the strategy page notes, and the 2022 and 2023 stops confirm it: the first came after a 15.66% fall from the peak and the second after a drawdown of 16.61%.
On the inverse funds as a group this rule did badly. Of the 11 inverse funds only TBF made money. The others returned between -0.86% for EEV and -12.06% for SQQQ, with drawdowns as deep as 71.35%. SOXS made 29 round trips and SQQQ 32, against 2 for TBF. The inverse equity funds produced many more round trips and losses, and TBF produced only 2.
Here is how the other templates fared on TBF. The monthly cycle made 11.93% with a 17.64% drawdown. The snapback made 9.67% with 7.67%. The weekly 7% target made 9.36% with 19.49%, and the golden cross made 8.47% with 17.5%.
Further down, the EMA 12/26 trend returned 7.6% (17.96% drawdown), the SMA 10/50 trend 6.68% (13.88%) and the 200-day regime filter 4.27% (23.97%). The momentum breakout finished at -2.3%. The stop rule out-earned all four of the crossover and filter templates named here.
Shallowest drawdown among the templates on TBF belonged to the RSI(2) snapback at 7.67%, with the dip buyer next at 8.18% on a CAGR of 2.69%. The full results for the fund are on the TBF hub.
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 trend + trailing stop beat buy-and-hold on TBF?
Over 2021-01-04 to 2026-10-02, trend + trailing stop on TBF returned 11.3% annualized vs 12.2% for buy-and-hold: it trailed buy-and-hold by 1.0% per year, with a maximum drawdown 1.0 points shallower than holding (16.6% vs 17.6%).
How many trades did it make?
2 completed round trips over 5.7 years (5 fills), with 100% of round trips closing profitably.
Why 15% rather than 10%?
A wider trail survives routine corrections and gives back more at the end. Both numbers are one-field edits in DeployQuant, so you can backtest both and compare.
Did the trailing-stop rule beat buy and hold on TBF?
No. Over 2021-01-04 to 2026-10-02 it compounded at 11.25% against 12.21% for holding, and finished at $18,441 versus $19,377. 2023 was its only winning year. Its maximum drawdown was 16.61% against 17.58%.
How many trades did it make?
The record has two closed round trips plus one open position, 5 fills in all. Both closed trades won, with 24.47% over 323 days and 13.8% over 371 days. The open trade from 2023-12-14 was up 31.7%.
Why was 2021 flat?
Entry did not come until 2022-01-18, which is why each 2021 month shows 0.0%. The 200-day average needs roughly 200 sessions of history, and after that the fund had to close above it. TBF returned 1.76% in 2021.
What did the stop do?
It fired twice, on 2022-12-07 and 2023-12-13, after falls of about 15% from the peak. Because TBF was still above its 200-day average, the rule bought again within a day at almost the same price. The stop acted as a reset and not as an exit from the position.
Why is TBF positive when most inverse funds lost money?
TBF is the inverse of long-term Treasuries, which fell 40.49% over the window. A persistent decline in the underlying favors an inverse fund, and TBF returned 96.88% as a buy-and-hold position. Among the 11 inverse funds, only TBF made money with this rule.
Would a different stop have helped?
A 10% stop returned 10.42% with 4 trades. A 20% or 25% stop was never hit and returned 11.05%. The published 15% stop returned 11.25%, and the differences are small.
How much did trading costs matter?
Barely. Across 5 fills, a 5-basis-point charge took the CAGR from 11.25% to 11.21%, and 10 basis points took it to 11.16%.
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.