SMA-200 Trend + 15% Trailing Stop on UST
ProShares Ultra 7-10 Year Treasury: 2x daily leveraged intermediate Treasuries. Backtest 2021-01-04 to 2026-10-02, $10,000 starting capital, computed by the same engine that runs live DeployQuant strategies.
The trend plus trailing stop template enters after a close above the 200-day average and stays in until the price drops 15% from the highest level reached since entry. UST, the ProShares Ultra 7-10 Year Treasury fund, gives the rule twice the daily return of intermediate Treasuries. Treasuries fell through most of this window, and the fund fell with them. The rule did not find a rise to ride.
From 2021-01-04 to 2026-10-02 the rule returned -8.66% a year and turned $10,000 into $5,944, a total return of -40.56%. Buy-and-hold on UST returned -8.51% a year and ended at $6,001. The two ended almost together: the gap was 0.15 points of CAGR and $56 of ending equity. Only 2021 and 2022 saw the rule finish ahead, 2 of the 6 calendar years. Its maximum drawdown was 41.4% against 44.51%, and its Sharpe ratio was -0.78 against -0.55.
The rule made 5 round trips and lost all 5. It has a win rate of 0%, a profit factor of 0, and an average loss of 10.06%. It was invested 59.6% of the time, which is a high figure for a rule that was wrong every time, because each position was held for months. Fees and slippage are zero in the headline run. Charging 5 basis points gave a CAGR of -8.74%, and 10 basis points gave -8.83%.
On UST the rule ranked 11th of 12 templates by CAGR and 51st of the 59 funds for this strategy. Across all 59 funds the strategy's median CAGR was 2.61%, and across the 10 leveraged funds it was 14.4%. UST was the bottom of the leveraged group except for FAS and TMF.
Year by year
| Year | trend + trailing stop | buy & hold |
|---|---|---|
| 2021 | −1.0% | −7.7% |
| 2022 | −12.7% | −29.6% |
| 2023 | −11.9% | 0.4% |
| 2024 | −7.4% | −7.3% |
| 2025 | −4.9% | 11.4% |
| 2026 | −11.3% | −11.3% |
Year by year against buy-and-hold
Yearly returns for the rule ran -1% in 2021, -12.7% in 2022, -11.9% in 2023, -7.4% in 2024, -4.9% in 2025 and lost 11.3% so far in 2026. Buy-and-hold made -7.7%, -29.6%, 0.4%, -7.3%, 11.4% and -11.3%. The gaps were 6.7, 16.9, -12.3, -0.1, -16.3 and 0 points.
The first two years are the ones in which the rule helped. In 2021 the first entry came on 2021-11-08 at an adjusted price of 59.82. Months January to October 2021 show 0, so the rule missed most of the fund's 2021 loss of 7.7%, and its own loss of 1% came from the last two months. In 2022 the fund lost 29.6%. The rule lost 12.7%, a lead of 16.9 points. Its only trade that year ran from 2021-11-08 to 2022-03-22, a loss of 13.91% over 134 days, and the March 2022 month lost 8.41%. The stop fired on 2022-03-22 and the account then held cash through December, with 0 in every month from April on. That was the best use of the stop in the whole test: it exited near the start of the fund's worst stretch.
In 2023 the rule lost 11.9% while the fund made 0.4%, a gap of 12.3 points behind. The rule bought on 2023-03-20 at 44.12, when price had moved back above the 200-day line, and sold on 2023-08-21 at 38.42, a loss of 12.92% over 154 days. The fund then bottomed on 2023-10-19, the date of its maximum drawdown, and the rule was in cash for the rebound that followed. The stop and the entry condition worked against the rule in sequence: the entry came after a rally that failed, and the exit came after the loss.
In 2024 the rule lost 7.4% against 7.3% for the fund, a gap of 0.1 points. The trade from 2023-12-15 at 41.09 was in place for the whole year and ended on 2025-01-07 at 36.95, a loss of 10.08% over 389 days. For that year the rule behaved like the fund.
In 2025 the rule lost 4.9% while the fund made 11.4%, a gap of 16.3 points behind, the widest against the fund in the table. The rule was stopped out on 2025-01-07 and sat in cash until it re-entered on 2025-02-26 at 40.12 and was stopped on 2025-04-09 at 36.74, a loss of 8.42% in 42 days. The next day it entered again, on 2025-04-10 at 39.83, and held until 2026-09-28. In 2026 so far the rule lost 11.3%, the same as the fund, because the 536-day trade was in place for the year. The final exit, at 37.84, was a loss of 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.5% | −1.5% |
| 2022 | −3.8% | −0.9% | −8.4% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
| 2023 | 0.0% | 0.0% | −0.9% | 1.0% | −3.4% | −3.1% | −1.4% | −5.4% | 0.0% | 0.0% | 0.0% | 0.8% |
| 2024 | −0.6% | −4.7% | 0.9% | −6.1% | 2.5% | 2.4% | 4.8% | 2.5% | 1.8% | −6.4% | 1.1% | −5.0% |
| 2025 | −3.4% | 1.5% | −0.2% | −5.5% | −3.0% | 3.0% | −1.6% | 3.0% | 0.8% | 1.0% | 1.6% | −2.0% |
| 2026 | −0.5% | 4.4% | −4.8% | −0.8% | −0.1% | 0.5% | −3.7% | 0.2% | −6.6% | 0.0% | – | – |
Months and the stop
The rule's best month was July 2024 at 4.82%, and its worst was March 2022 at -8.41%. Buy-and-hold had its best month in November 2023 at 8% and its worst in September 2022 at -9.66%. The rule's top month looks small beside the fund's because the account was in cash that November 2023.
Monthly results mix small gains with larger losses. The losses that stand out are -6.09% in April 2024, -6.43% in October 2024, -5.02% in December 2024, -5.46% in April 2025, -4.82% in March 2026 and -6.63% in September 2026. The September 2026 loss falls in the last trade, which was stopped out on 2026-09-28.
The fund's calendar-month averages explain some of it. September averaged -4.02% and October -2.78% across the years in the window, while November averaged 4%.
Several positive months show up after the rule re-entered: June, July, August and September 2024 made 2.39%, 4.82%, 2.49% and 1.78%. They were followed by October 2024 at -6.43%. That is the problem with a 15% stop on a leveraged bond fund: it tolerates a lot of give-back before it acts.
Rebounds that the stop sat out
UST's best single days were 4.89% on 2022-11-10, 4.31% on 2022-09-28, 3.5% on 2023-01-06, 3.47% on 2022-10-03 and 3.45% on 2023-03-10. All five fell while the rule held no position, since it was in cash from 2022-03-22 until 2023-03-20. The fund rallied hard in those bursts and still ended 2022 at -30.3% for the year. A rule that waits for the price to clear a 200-day line will usually miss rebound days of this size.
The sequence of 2023 months for the rule runs -0.91% in March, 1.03% in April, -3.44% in May, -3.09% in June, -1.37% in July and -5.4% in August. Five of those six months lost, and the stop fired on 2023-08-21. In 2024 the pattern repeated: February lost 4.71% and April lost 6.09%, and the gains of May to September at 2.5%, 2.39%, 4.82%, 2.49% and 1.78% were followed by October at -6.43% and December at -5.02%.
Seasonal averages for the fund show why the rule's autumn months were poor. September averaged -4.02% and October -2.78%, while November averaged 4%, a month in which the rule in 2023 sat flat and in 2024 earned 1.15%. UST's weekday averages were -0.17% on Mondays, 0% on Tuesdays, 0.08% on Wednesdays, -0.06% on Thursdays and -0.03% on Fridays. Each month rests on five or six years and describes this window only.
Every trade
trend + trailing stop on UST made 5 closed round trips, an average hold of 251 days, an average loser of −10.06%, a longest losing streak of 5. It held a position at the close on 59.6% of trading days.
| Entry | Entry price | Exit | Exit price | Return | Days held |
|---|---|---|---|---|---|
| 2021-11-08 | $59.82 | 2022-03-22 | $51.50 | −13.9% | 134 |
| 2023-03-20 | $44.12 | 2023-08-21 | $38.42 | −12.9% | 154 |
| 2023-12-15 | $41.09 | 2025-01-07 | $36.95 | −10.1% | 389 |
| 2025-02-26 | $40.12 | 2025-04-09 | $36.74 | −8.4% | 42 |
| 2025-04-10 | $39.83 | 2026-09-28 | $37.84 | −5.0% | 536 |
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.
Five trades, five losses
The rule closed 5 round trips with none open at the end. The median trade lost 10.08% and the median holding was 154 days, with the longest 536 days and the shortest 42. The average loss was 10.06% and there were no winners, so the winning streak was 0 and the losing streak 5. The best trade lost 5% and the worst lost 13.91%.
The five trades in order were these. The first entered on 2021-11-08 at an adjusted 59.82 and exited on 2022-03-22 at 51.5, down 13.91% over 134 days. The second entered on 2023-03-20 at 44.12 and exited on 2023-08-21 at 38.42, down 12.92% over 154 days. The third entered on 2023-12-15 at 41.09 and exited on 2025-01-07 at 36.95, down 10.08% over 389 days. The fourth entered on 2025-02-26 at 40.12 and exited on 2025-04-09 at 36.74, down 8.42% over 42 days. The fifth entered on 2025-04-10 at 39.83 and exited on 2026-09-28 at 37.84, down 5% over 536 days. The prices are adjusted for splits and dividends, so they sit below the quotes printed at the time.
Each entry price was lower than the one before, which follows the fund's long decline. The rule's entry condition, price above the 200-day average, was met five times, and each time the rally behind it did not last. By exit year the closed trades were 1 in 2022, 1 in 2023, 2 in 2025 and 1 in 2026, all losses.
Loss control worked as designed, with every loss held under 14%. It could not make a winner out of a fund that kept falling. The strategy page lists the weakness as giving back 15% from every peak.
The small number of trades limits what can be said. Five trades is too few to say the rule is poorly matched to Treasury funds in general. The data says only that in this window each of five entries failed.
Sale prices and the next purchase price
Pairing each exit with the next entry shows that the stop and the 200-day entry condition often cost the rule twice. The first pairing was good. The rule sold on 2022-03-22 at 51.5 and did not buy again until 2023-03-20 at 44.12, so a year in cash sidestepped a further fall. Every later pairing went the other way. It sold on 2023-08-21 at 38.42 and bought on 2023-12-15 at 41.09. It sold on 2025-01-07 at 36.95 and bought on 2025-02-26 at 40.12. It sold on 2025-04-09 at 36.74 and bought back the next day, 2025-04-10, at 39.83.
The last pair is the sharpest. The fund's second worst day in the window, -3.15% on 2025-04-07, fell inside the trade that opened on 2025-02-26. The stop fired two sessions later at 36.74. The very next open was higher at 39.83, because the entry condition was met again at that open. The rule paid the stop's loss of 8.42% and then re-entered at a price above its sale. April 2025 returned -5.46% for the rule, the largest monthly loss of that year.
The 2025-04-10 position then sat for 536 days and sold at 37.84, a loss of 5%, which was the smallest of the five. It shows what the entry rule can do when the fund stops falling for a time: the position lost less than any other, though it still lost.
The entries were also late. The rule bought on 2021-11-08 at 59.82 after the 200-day line was cleared, and the fund's drawdown, which the profile dates from 2021-01-04, was already under way from the first session of the window.
Largest drawdowns
| Peak | Low point | Depth | Days to low | Recovered | Days to recover |
|---|---|---|---|---|---|
| 2021-12-03 | 2026-09-28 | −41.4% | 1760 | not yet | – |
| 2021-11-09 | 2021-11-23 | −4.1% | 14 | 2021-12-03 | 10 |
| 2021-11-05 | 2021-11-08 | −0.5% | 3 | 2021-11-09 | 1 |
Buy-and-hold's deepest drawdown ran from 2021-01-04 to 2023-10-19 and reached −44.5%.
Drawdowns
The rule's deepest drawdown was 41.4%, peaking 2021-12-03 and bottoming 2026-09-28 with no recovery yet. It took 1,760 days to reach the trough. The other two listed drawdowns were small: 4.09% from 2021-11-09 to 2021-11-23, recovered on 2021-12-03, and 0.46% from 2021-11-05 to 2021-11-08. The peak of 2021-12-03 came within a month of the first entry, so the account never made a new high afterward.
Holding the fund gave one drawdown of 44.51% between 2021-01-04 and 2023-10-19, never recovered. The profile shows a maximum drawdown for the fund of 45.49% from the same peak, and the longest drawdown lasted 1,427 sessions, which is the entire window.
The rule's 41.4% is shallower than the fund's 44.51% by a small margin. The rule avoided most of the drop in 2022, but it was invested for the declines in 2023, 2024 and 2026 and the stop only limited each position's loss. The Sharpe ratio, at -0.78 against -0.55, was worse than the fund's.
Among the fund's worst sessions were -3.55% on 2022-06-13, -3.15% on 2025-04-07, -3.11% on 2022-09-22 and -2.94% on 2022-09-26. The best were 4.89% on 2022-11-10 and 4.31% on 2022-09-28. The rule was in cash on the three 2022 days among the worst four, and on 2022-11-10 and 2022-09-28, the two best days.
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) | −8.7% | −41.4% | $5,944 | -0.78 |
| 5 basis points | −8.7% | −41.6% | $5,916 | -0.79 |
| 10 basis points | −8.8% | −42.0% | $5,882 | -0.80 |
Costs
Adding 5 basis points per fill moved the CAGR from -8.66% to -8.74%, the drawdown rose to 41.65% and the Sharpe ratio was -0.79, ending at $5,916. At 10 basis points the CAGR was -8.83%, the drawdown 41.96%, the Sharpe ratio -0.797 and ending equity $5,882. The rule made 10 fills, so costs have almost nothing to act on and the result barely moves.
UST trades lightly, with average daily dollar volume of $640,787 and median minute volume of 223 shares. The flat cost runs may understate the real spread on a fund this quiet. With 10 fills in 5.7 years the effect is small whatever the spread, though a larger position would meet the thin volume.
Changing the parameters
| Version | CAGR | Max drawdown | Round trips | Win rate | Final value |
|---|---|---|---|---|---|
| Published rules | −8.7% | −41.4% | 5 | 0% | $5,944 |
| 10% trailing stop | −7.3% | −36.7% | 8 | 13% | $6,491 |
| 20% trailing stop | −7.9% | −40.0% | 2 | 0% | $6,224 |
| 25% trailing stop | −6.9% | −39.4% | 1 | 0% | $6,618 |
Other stop widths
The three variants all lost money. A 10% trailing stop returned -7.25% with a drawdown of 36.7%, 8 trades and 1 win, ending at $6,491. A 20% stop returned -7.93% with 40.03%, 2 trades and no wins, ending at $6,224. A 25% stop returned -6.94% with 39.4%, 1 trade and no wins, ending at $6,618.
The base 15% stop at -8.66% was the worst of the four. The 25% stop made one trade and held it, which looked like buy-and-hold from the date of entry, and it lost less than the base. The 10% stop did best on drawdown and was the only variant with a win. A tighter stop exits earlier and costs more trades, and a fund that keeps falling rewards the exit.
The gap between variants is small next to the loss. The fund itself lost 40% over the window, and no stop width changed that. With 1 to 8 trades each, these figures say little about which width is best.
How UST behaved
| Measure | UST |
|---|---|
| Data in this test | 2021-01-04 to 2026-10-02 (1428 sessions) |
| Total return, buy and hold | −41.2% |
| Annualized volatility | 15.1% |
| Deepest drawdown | −45.5% (2021-01-04 to 2023-10-19) |
| Up days | 48.0% |
| Average daily range | 0.68% |
| Average overnight gap | 0.58% |
| Correlation to SPY | 0.09 |
| Correlation to QQQ | 0.10 |
| Correlation to TLT | 0.86 |
| Sessions above the 200-day average | 35.6% |
| Crossings of the 200-day average | 68 |
| Falls of 10% or more from a 20-day high | 7 |
How UST behaved
In the profile window UST compounded at -8.83% a year, a total return of -41.18% and annualized volatility of 15.05%. Its maximum drawdown was 45.49%, running 2021-01-04 to 2023-10-19. Year by year the fund made -7.9% (2021), -30.3% (2022), 0.36% (2023), -7.56% (2024), 11.78% (2025) and -11.64% (2026 so far). Up days were 48% of the total. The profile covers 1,428 sessions.
Sessions closing over the 200-day average were 35.64% of the window, with 68 crossings. The price lived under that line most of the time, which limits the number of entries, and the rule entered only 5 times in 5.7 years.
The fund's correlation with IEF was 0.94, with BND 0.92 and AGG 0.92, and with TLT 0.86, with a beta to TLT of 0.84. Its correlation with SPY was 0.09. Its lowest correlation, with TBF, was -0.86.
The leverage table compares the fund with IEF. Realized beta to IEF came out at 1.91 with an R-squared of 0.89. IEF fell 12.95% across the window. A plain doubling gives -25.9%, and a daily-rebalanced 2x series would be -26.54%. The fund lost 41.18%, and the table gives the gap as -15.28 points. Yearly gaps were -1.2 (2021), 0.02 (2022), -6.91 (2023), -6.29 (2024), -4.29 (2025) and -2.49 (2026). The fund lost more than a simple 2x of its underlying in each year but 2022.
The 14-day RSI fell below 30 on 73 sessions, and the median 20-day return after those readings was -2.13% across 62 cases, against a baseline of -0.38%. Dips here were usually followed by further decline, an unfriendly setting for any rule that buys weakness. The 2-day RSI fell below 10 on 204 sessions, and the median 20-day return after those was -0.48%.
Overnight moves added up to a log return of -15.21% and intraday moves to -37.35%, so both halves of the day lost ground.
Other templates on UST included the SMA 10/50 trend was the only one with a positive CAGR, at 0.68% with a drawdown of 10.58%. The golden cross made -2.38%, the EMA 12/26 trend -2.49%, the RSI(2) snapback -2.73%, 3-month momentum -4.02% and the momentum breakout -4.27%. The RSI mean reversion made -5.04%, the dip buyer -5.12% and the 200-day regime filter -6.68% with a drawdown of 35.65%. The weekly 7% target made -8.16% and the monthly cycle -8.88%, the lowest.
Among leveraged funds, the trailing stop template did best on TQQQ at 25.03%, SOXL at 17.82% and QLD at 17.16%, and worst on FAS at -11.05% and TMF at -12.92%. UST at -8.66% sat with the bond and financial funds. The rule worked on leveraged equity funds that rose and failed on leveraged bond funds that fell.
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.
How the rule fit the fund
A trend rule needs a trend to follow. UST gave it a long decline with short rallies, and each rally cleared the 200-day line long enough to trigger an entry. The stop then waited for a 15% fall from the high-water mark, which meant each position lost a large part of the fall before it exited. The shorter-memory rules did better here, with the SMA 10/50 trend the only one that made money.
The rule gave back about what the fund gave over the window. The result is a loss of 40.56% against a loss of 39.99% for the fund, so the rule neither protected nor added value, apart from the 2022 exit.
The sample is a single fund, a 5.7-year span and 5 trades, priced without fees in the headline run. Nothing here predicts how the same rule would behave over a stretch of rising bond prices.
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 UST?
Over 2021-01-04 to 2026-10-02, trend + trailing stop on UST returned −8.7% annualized vs −8.5% for buy-and-hold: it trailed buy-and-hold by 0.2% per year, with a maximum drawdown 3.1 points shallower than holding (41.4% vs 44.5%).
How many trades did it make?
5 completed round trips over 5.7 years (10 fills), with 0% 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.
What were the trend plus trailing stop results on UST?
Between 2021-01-04 and 2026-10-02 it compounded at -8.66% a year, and $10,000 became $5,944. The maximum drawdown was 41.4% and the Sharpe ratio -0.78. Buy-and-hold returned -8.51% a year and ended at $6,001.
Did the trailing stop protect against losses on UST?
Only in 2022, when the rule lost 12.7% against 29.6% for the fund. Across the window every one of its 5 trades lost money, between 5% and 13.91%. The maximum drawdown was 41.4% against 44.51% for buy-and-hold.
Why did the rule make only 5 trades?
With only 35.64% of sessions closing over the 200-day average, entries were rare, and each position was held for a median of 154 days until the 15% stop was hit. The longest holding was 536 days.
Does a wider or tighter stop help?
All three variants lost money. A 10% stop returned -7.25%, a 20% stop -7.93% and a 25% stop -6.94%, against -8.66% for the 15% base. The trade counts were 8, 2 and 1.
How much did trading costs matter?
Almost not at all. At 5 basis points the CAGR was -8.74% and at 10 basis points -8.83%, because the rule made only 10 fills. Median minute volume was 223 shares, so a bigger order could meet thin liquidity.
Which strategy did best on UST?
The SMA 10/50 trend made 0.68% with a drawdown of 10.58%, the only gain among the 12 templates. This one ranked 11th at -8.66%.
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.