20-Day Momentum + 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 20-day momentum plus trailing stop template buys a fund at the next open once it has gained more than 10% over 20 sessions, puts 98% of the sleeve in, and exits when price drops 10% below its highest close since entry. UST is the ProShares Ultra 7-10 Year Treasury fund, built to deliver two times the daily move of intermediate Treasuries. A 10% gain in four weeks is uncommon for a bond fund, so this test is mainly about how often the entry fires and what the stop does afterward.
It fired three times. Between 2021-01-04 and 2026-10-02 the rule turned $10,000 into $7,783, a total return of -22.17% and a CAGR of -4.27%. All 3 round trips lost money, so the win rate was 0% and the profit factor 0. The Sharpe ratio was -0.74 and the maximum drawdown 24.65%. The account held UST at the close on 13.5% of trading days and sat in cash the rest of the time.
Buy-and-hold on UST lost more. It ended at $6,001, a CAGR of -8.51%, a Sharpe ratio of -0.55 and a maximum drawdown of 44.51%. The rule's CAGR was 4.24 percentage points higher and its drawdown 19.86 points shallower. It finished ahead of holding in 2021, 2022 and 2026 and behind in 2023, 2024 and 2025.
Neither line made money. The rule's edge came from sitting in cash through most of a poor stretch for the fund. On UST it places 6th of the 12 templates, and UST places 48th of 59 funds for this rule, whose median CAGR across the 59 is 0%. The window runs 5.74 years and the headline run carries no fees or slippage.
Year by year
| Year | momentum breakout | buy & hold |
|---|---|---|
| 2021 | 0.0% | −7.7% |
| 2022 | −4.6% | −29.6% |
| 2023 | −10.7% | 0.4% |
| 2024 | −8.6% | −7.3% |
| 2025 | 0.0% | 11.4% |
| 2026 | 0.0% | −11.3% |
Year by year, and the three trades
The rule returned 0% in 2021, -4.6% in 2022, -10.7% in 2023, -8.6% in 2024, 0% in 2025 and 0% in 2026 to date. Buy-and-hold on UST returned -7.7%, -29.6%, 0.4%, -7.3%, 11.4% and -11.3%. The gaps were 7.7, 25, -11.1, -1.3, -11.4 and 11.3 points. Three of the six years had no position at all.
2021 and the first eleven months of 2022 show 0.0% in every month. The 20-day return never passed 10% in that stretch, and UST fell 7.9% in 2021 and 30.3% in 2022. Staying out of the 2022 slide is the source of the rule's lead, and it came from the rule having no signal rather than from a decision to avoid the decline. The first entry came on 2022-12-05 at an adjusted 43.30, after the fund's worst year was nearly over. The fund's best day of the window, 4.89% on 2022-11-10, fell just before it.
The December 2022 entry lost 4.6% in the month, with a 1.93% dip from 2022-12-07 to 2022-12-09 and a 6.41% fall from 2022-12-15 to 2022-12-30. January 2023 then returned 6.4%, the best month of the run, and the trade ended on 2023-03-01 at 40.37 with a loss of 6.77% after 86 days. The 6.77% loss is smaller than the 10% stop distance, which fits a stop trailing from a high above the entry price. February 2023 lost 6.81%, the worst month.
The second trade began on 2023-04-05 at 45.06, the highest entry price of the three. It was sold on 2023-07-05 at 40.69 for a loss of 9.7% over 91 days, the worst of the three. March through July 2023 lost 1.3%, 1.9%, 3.5%, 3.1% and 1.4%. 2023 as a whole returned -10.7% against 0.4% for holding, which makes it the widest shortfall in the table at 11.1 points.
The third trade was entered on 2023-12-15 at 41.09 and sold on 2024-04-10 at 37.77 for a loss of 8.08% over 117 days. November 2023 was the fund's best month at 8%, and the rule was in cash for all of it. The entry a month later bought into a decline: January 2024 lost 0.6%, February 4.7% and April 4.4%. 2024 returned -8.6% against -7.3%.
No signal appeared after 2024-04-10. The rule was in cash through the 11.4% year of 2025 and through 2026 to date, in which holding lost 11.3%. The long idle period costs 11.4 points in 2025 and saves 11.3 points in 2026. The 2025 and 2026 columns are zero because the 10% burst never came, and the monthly table is a block of zeros after April 2024.
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% | −4.6% |
| 2023 | 6.4% | −6.8% | −1.3% | −1.9% | −3.5% | −3.1% | −1.4% | 0.0% | 0.0% | 0.0% | 0.0% | 0.8% |
| 2024 | −0.6% | −4.7% | 0.9% | −4.4% | 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 monthly table
The table is mostly zeros. The rule was invested in only a handful of months, which fits the exposure figure of 13.5% of days. The months that carry any number are December 2022, January to July 2023, December 2023 and January to April 2024.
January 2023 at 6.4% and December 2023 at 0.8% are the only entries with a gain besides March 2024 at 0.9%. Every other active month was a loss. The worst were February 2023 at -6.81%, February 2024 at -4.7% and December 2022 at -4.6%.
For UST itself the calendar-month averages, from 5 or 6 observations per month, were 4% in November, 1.38% in July, 0.55% in January, -4.02% in September and -2.78% in October. These samples are too small to be a pattern and the rule does not trade on dates. The fund's worst month, September 2022 at -9.66%, fell in a stretch the rule skipped.
Every trade
momentum breakout on UST made 3 closed round trips, an average hold of 98 days, an average loser of −8.18%, a longest losing streak of 3. It held a position at the close on 13.5% of trading days.
| Entry | Entry price | Exit | Exit price | Return | Days held |
|---|---|---|---|---|---|
| 2022-12-05 | $43.30 | 2023-03-01 | $40.37 | −6.8% | 86 |
| 2023-04-05 | $45.06 | 2023-07-05 | $40.69 | −9.7% | 91 |
| 2023-12-15 | $41.09 | 2024-04-10 | $37.77 | −8.1% | 117 |
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 three trades
There were 3 trades, all closed, none open at the end. The average loss was 8.18%. The median hold was 91 days, the shortest 86 days and the longest 117 days. There is no average win because there were no wins, and the longest losing streak was 3, the whole sample.
In order the trades were -6.77% (2022-12-05 to 2023-03-01, 86 days), -9.7% (2023-04-05 to 2023-07-05, 91 days) and -8.08% (2023-12-15 to 2024-04-10, 117 days). The prices were 43.30 in and 40.37 out, 45.06 in and 40.69 out, and 41.09 in and 37.77 out.
The template's own caveat describes this outcome: buying strength means buying high, and when a burst reverses the trail exits about 10% below the entry. The entries came after a gain of more than 10% in 20 sessions, and in this window each of those gains came inside a falling price series. The fund fell 41.18% over the window and the three entries were all inside that decline.
Three trades are too few to say anything about the rule's skill. They describe what happened in one window on one leveraged bond fund, and they say that the entry condition was met rarely. The profit factor of 0 is the arithmetic of having no winners, and the Sharpe of -0.74 reflects a return that was negative with few days of exposure.
Largest drawdowns
| Peak | Low point | Depth | Days to low | Recovered | Days to recover |
|---|---|---|---|---|---|
| 2023-01-18 | 2024-04-10 | −24.6% | 448 | not yet | – |
| 2022-12-15 | 2022-12-30 | −6.4% | 15 | 2023-01-12 | 13 |
| 2022-12-07 | 2022-12-09 | −1.9% | 2 | 2022-12-15 | 6 |
Buy-and-hold's deepest drawdown ran from 2021-01-04 to 2023-10-19 and reached −44.5%.
Drawdowns
The rule's maximum drawdown was 24.65%, from a peak on 2023-01-18 to a low on 2024-04-10 after 448 days, and the account had not recovered by 2026-10-02. The peak was inside the first trade, in the middle of the January 2023 gain, and the low came on the exit date of the third trade. Since no position was opened afterwards, the equity curve stayed flat at the low for the rest of the window.
Two small drawdowns were listed before it: 6.41% from 2022-12-15 to 2022-12-30, recovered on 2023-01-12, and 1.93% from 2022-12-07 to 2022-12-09, recovered on 2022-12-15. Both belong to the first trade.
Buy-and-hold had one drawdown of 44.51%, from 2021-01-04 to 2023-10-19, a trough after 1,018 days with no recovery by the end of the window. UST's own price series shows a longest drawdown of 1,427 sessions out of 1,428. For a holder the fund never regained its first-day price. The rule's drawdown was shallower because it held the fund on 13.5% of days, and so only took part of the fall.
The rule's low came on 2024-04-10, months after the fund's own low of 2023-10-19, so the third trade was entered after that low and still lost 8.08%. The loss is smaller than the 10% stop distance, which fits a high-water mark above the entry price.
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) | −4.3% | −24.6% | $7,783 | -0.74 |
| 5 basis points | −4.3% | −24.8% | $7,762 | -0.75 |
| 10 basis points | −4.4% | −25.0% | $7,739 | -0.76 |
Costs
At 5 basis points per fill the CAGR was -4.32%, the final value $7,762, the Sharpe ratio -0.747 and the drawdown 24.83%. At 10 basis points the CAGR was -4.37%, the final value $7,739, the Sharpe -0.755 and the drawdown 25.01%.
The cost barely changes the picture because there were only 6 fills over 5.74 years. A strategy with 3 round trips pays very little in total even at a high charge per fill. Costs would matter more for a rule that traded more often.
UST is thinly traded, at about $640,787 a day and a median of 223 shares a minute. A $10,000 sleeve is small, but a much larger account would find that orders take time to complete and move the price. The cost runs charge a flat amount and do not model that impact. Stop exits also fill at the open when price gaps below the stop, so a thin fund adds uncertainty to those fills.
Changing the parameters
| Version | CAGR | Max drawdown | Round trips | Win rate | Final value |
|---|---|---|---|---|---|
| Published rules | −4.3% | −24.6% | 3 | 0% | $7,783 |
| 5% trailing stop | −1.8% | −11.5% | 3 | 0% | $9,016 |
| 15% trailing stop | −3.8% | −23.2% | 2 | 0% | $8,019 |
| 20% return entry | 0.0% | −0.0% | 0 | – | $10,000 |
Changing the stop and the entry
Three alternatives were run. A 5% trailing stop returned -1.79% with an 11.54% drawdown, 3 trades and no wins, ending at $9,016. A 15% stop returned -3.77% with a 23.23% drawdown, 2 trades and no wins, ending at $8,019. An entry threshold of a 20% gain over 20 sessions found no signal, leaving the account at $10,000 with a CAGR and drawdown of 0.
The tighter stop lost less. A 5% trail exits sooner in a falling fund, so each losing trade is cut earlier, and the drawdown of 11.54% is much shallower than the 24.65% of the published rule. The wider 15% stop had one fewer trade and a loss close to the published rule's. The Sharpe ratios of -0.709, -0.409 and -0.74 do not line up with the CAGR order, because Sharpe depends on the volatility of the equity curve and with so few days invested those figures rest on very little data.
The 20% entry is a useful marker of how rare the signal is. No burst of 20% in 20 sessions occurred in UST during the window. The 10% burst occurred only before three trades. A 2x fund on a 7-10 year Treasury index has an annualized volatility of 15.05%, and a 20-day rise of more than 10% in that is a large event.
The four versions all had zero or negative returns, and none had a win. The difference between them is the size of the loss, not its sign. These are variants run on one fund in one window, with 3 trades or fewer, so nothing here supports a preferred setting.
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
Over 1,428 sessions UST lost 41.18%, a CAGR of -8.83%, with annualized volatility of 15.05%. The deepest drawdown was 45.49%, from 2021-01-04 to 2023-10-19, with no recovery by 2026-10-02. Calendar years ran -7.9%, -30.3%, 0.36%, -7.56%, 11.78% and -11.64% for 2026 so far, so only 2023 and 2025 finished positive.
UST was above its 200-day average for 35.64% of sessions and crossed it 68 times. Up days made up 48% of sessions, averaging 0.72%, against down days averaging -0.74%. The best single day was 4.89% on 2022-11-10 and the worst -3.55% on 2022-06-13. Average range inside the day was 0.68% and the average overnight gap 0.58%. Both parts of the return were negative, overnight at -15.21% in log terms and intraday at -37.35%, with the intraday part accounting for 71.07% of the loss.
UST tracks intermediate Treasuries at twice the daily move. Its correlation was 0.86 with TLT, 0.09 with SPY and 0.1 with QQQ, and its closest matches were IEF at 0.94, BND and AGG at 0.92. Against IEF, the Treasury fund it doubles, UST showed a realized beta of 1.91 with an R-squared of 0.89. IEF returned -12.95% over the window, and twice that is -25.9%, while UST returned -41.18%, a shortfall of 15.28 percentage points. By year the shortfall was 1.2 in 2021, 0.02 in 2022, 6.91 in 2023, 6.29 in 2024, 4.29 in 2025 and 2.49 in 2026. A fund rebalanced daily to twice the move gives ground when the underlying zigzags, and 2023 and 2024 were zigzag years.
The RSI statistics give a buy-the-dip rule little to work with. After the 14-day RSI dropped below 30, on 73 sessions, the median 20-session return was -2.13% against a baseline of -0.38%. After the 2-day RSI dropped below 10, on 204 sessions, the 20-session median was -0.48%. Weakness kept leading to more weakness, which puts the problem in the fund's drift.
Within the leveraged group the template did best on QLD at 22.49% with a 20.1% drawdown, SOXL at 19.06% and SPUU at 17.25%. SSO returned 15.43%, ROM 13.32% and TECL 10.24%. FAS made 3.85% and TQQQ 0.57%. TMF, the 3x long-bond fund, lost 11.1% with a 55.69% drawdown. The group median was 13.32%, and UST at -4.27% sat well below it. The equity funds produced many more trades, 138 round trips on SOXL against 3 on UST.
Weekday pattern, persistence and the rate link
UST showed no usable calendar or momentum edge in the daily data. The average return by weekday was -0.17% on Mondays, 0% on Tuesdays, 0.08% on Wednesdays, -0.06% on Thursdays and -0.03% on Fridays. Those averages sit within a few hundredths of a percent of zero, and the weekday with the most negative reading, Monday, is the only one that stands out at all.
The lag-1 autocorrelation of daily returns was -0.03. A value that close to zero says that one day's move carried almost no information about the next day's. A momentum rule needs the opposite, a run of moves in one direction, and over 20 sessions the fund produced such a run only three times that led to an entry. The 14-day RSI was below 30 on 73 sessions and above 70 on only 22, so the fund spent far more time oversold than stretched. A rule that buys strength has fewer chances in a fund where the strong readings are rare.
The rate link explains much of the path. UST had a beta of 0.84 to TLT and 0.08 to SPY, with correlations of 0.86 and 0.09. The fund moved with long Treasuries and almost independently of stocks. Its least correlated peers in the 59-fund set were TBF at -0.86, KMLM at -0.43 and RINF at -0.36, which are funds that gain when bond prices fall. A holder of UST in the 2022 rate slide lost 30.3%, and the same stretch is the one where a short-bond fund would have moved the other way.
The 2x leverage added a further drag in the zigzag years. A daily-rebalanced ideal of the underlying IEF return, doubled each day, gave -26.54% over the window, against -41.18% for the fund. That ideal is a model of the leverage mechanism and the fund's gap to it is separate from the strategy test. The strategy only saw the fund's own price, so the daily rebalancing drag is already inside every entry and exit price in the trade list.
Weekday pattern, persistence and the rate link
UST showed no usable calendar or momentum edge in the daily data. The average return by weekday was -0.17% on Mondays, 0% on Tuesdays, 0.08% on Wednesdays, -0.06% on Thursdays and -0.03% on Fridays. Those averages sit within a few hundredths of a percent of zero, and the weekday with the most negative reading, Monday, is the only one that stands out at all.
The lag-1 autocorrelation of daily returns was -0.03. A value that close to zero says that one day's move carried almost no information about the next day's. A momentum rule needs the opposite, a run of moves in one direction, and over 20 sessions the fund produced such a run only three times that led to an entry. The 14-day RSI was below 30 on 73 sessions and above 70 on only 22, so the fund spent far more time oversold than stretched. A rule that buys strength has fewer chances in a fund where the strong readings are rare.
The rate link explains much of the path. UST had a beta of 0.84 to TLT and 0.08 to SPY, with correlations of 0.86 and 0.09. The fund moved with long Treasuries and almost independently of stocks. Its least correlated peers in the 59-fund set were TBF at -0.86, KMLM at -0.43 and RINF at -0.36, which are funds that gain when bond prices fall. A holder of UST in the 2022 rate slide lost 30.3%, and the same stretch is the one where a short-bond fund would have moved the other way.
The 2x leverage added a further drag in the zigzag years. A daily-rebalanced ideal of the underlying IEF return, doubled each day, gave -26.54% over the window, against -41.18% for the fund. That ideal is a model of the leverage mechanism and the fund's gap to it is separate from the strategy test. The strategy only saw the fund's own price, so the daily rebalancing drag is already inside every entry and exit price in the trade list.
The five best days were 2022-11-10 at 4.89%, 2022-09-28 at 4.31%, 2023-01-06 at 3.5%, 2022-10-03 at 3.47% and 2023-03-10 at 3.45%. All five fell in a window of a few months around the 2022 low and the early 2023 bounce, and the first trade held only the last two of those days. The worst days were 2022-06-13 at -3.55%, 2025-04-07 at -3.15% and 2022-09-22 at -3.11%. Sharp up days and sharp down days came in clusters, which is how a trailing stop set 10% below the high gets hit within a few weeks of an entry.
Weekday pattern, persistence and the rate link
UST showed no usable calendar or momentum edge in the daily data. The average return by weekday was -0.17% on Mondays, 0% on Tuesdays, 0.08% on Wednesdays, -0.06% on Thursdays and -0.03% on Fridays. Those averages sit within a few hundredths of a percent of zero, and the weekday with the most negative reading, Monday, is the only one that stands out at all.
The lag-1 autocorrelation of daily returns was -0.03. A value that close to zero says that one day's move carried almost no information about the next day's. A momentum rule needs the opposite, a run of moves in one direction, and over 20 sessions the fund produced such a run only three times that led to an entry. The 14-day RSI was below 30 on 73 sessions and above 70 on only 22, so the fund spent far more time oversold than stretched. A rule that buys strength has fewer chances in a fund where the strong readings are rare.
The rate link explains much of the path. UST had a beta of 0.84 to TLT and 0.08 to SPY, with correlations of 0.86 and 0.09. The fund moved with long Treasuries and almost independently of stocks. Its least correlated peers in the 59-fund set were TBF at -0.86, KMLM at -0.43 and RINF at -0.36, which are funds that gain when bond prices fall. A holder of UST in the 2022 rate slide lost 30.3%, and the same stretch is the one where a short-bond fund would have moved the other way.
The 2x leverage added a further drag in the zigzag years. A daily-rebalanced ideal of the underlying IEF return, doubled each day, gave -26.54% over the window, against -41.18% for the fund. That ideal is a model of the leverage mechanism and the fund's gap to it is separate from the strategy test. The strategy only saw the fund's own price, so the daily rebalancing drag is already inside every entry and exit price in the trade list.
The five best days were 2022-11-10 at 4.89%, 2022-09-28 at 4.31%, 2023-01-06 at 3.5%, 2022-10-03 at 3.47% and 2023-03-10 at 3.45%. All five fell in a window of a few months around the 2022 low and the early 2023 bounce, and the first trade, entered on 2022-12-05, was open for only one of them, 2023-01-06. The worst days were 2022-06-13 at -3.55%, 2025-04-07 at -3.15% and 2022-09-22 at -3.11%. Sharp up days and sharp down days came in clusters, which is how a trailing stop set 10% below the high gets hit within a few weeks of an entry.
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.
How the rules fit a Treasury fund
The entry is a 20-day return above 10%, and the exit is a trailing stop 10% under the highest close. There is no profit target, so winners run until the trail is hit. The template describes itself as suited to high-momentum assets such as semiconductor and leveraged tech funds. UST is leveraged, but it follows bonds, and 2021 to 2026 was a stretch in which bonds fell and bounced without a sustained run of the kind the rule needs.
The lowest results on UST belonged to the monthly cycle at -8.88% with a 47.75% drawdown, the trend plus trailing stop at -8.66% and the weekly 7% target at -8.16%. The 200-day regime filter lost 6.68%, the dip buyer 5.12% and RSI mean reversion 5.04%. This rule's -4.27% sat just under 3-month momentum at -4.02%. Near the top were RSI(2) snapback at -2.73%, the EMA 12/26 trend at -2.49% and the golden cross at -2.38%. Only the SMA 10/50 trend finished positive, at 0.68% with a 10.58% drawdown.
The rules at the bottom drew down 41% or more, and the monthly cycle came close to the buy-and-hold CAGR of -8.51%. The rules near the top were out of the fund for long stretches. This result covers one leveraged bond fund over one window, with 3 trades, and the ranking is not stable enough to carry to other windows.
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 UST?
Over 2021-01-04 to 2026-10-02, momentum breakout on UST returned −4.3% annualized vs −8.5% for buy-and-hold: it beat buy-and-hold by 4.2% per year, with a maximum drawdown 19.9 points shallower than holding (24.6% vs 44.5%).
How many trades did it make?
3 completed round trips over 5.7 years (6 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.
Did the momentum breakout rule beat buy-and-hold on UST?
On CAGR and drawdown, yes. The rule returned -4.27% a year against -8.51% for holding, with a 24.65% drawdown against 44.51%. Both lost money, and the rule lagged holding in 2023, 2024 and 2025.
How many trades did it make on UST?
It made 3 round trips and 6 fills between 2021-01-04 and 2026-10-02. All 3 lost money, by 6.77%, 9.7% and 8.08%. The last one closed on 2024-04-10 and the rule had no position after that.
Why was the rule in cash for so long?
The entry needs a gain of more than 10% over 20 sessions. UST produced that three times in the window, and each time the rule was bought. A 20% entry threshold produced no trades.
Does a tighter trailing stop help on UST?
In this test a 5% trailing stop returned -1.79% with an 11.54% drawdown, better than the 10% stop at -4.27% and 24.65%. A 15% stop returned -3.77%. All three variants lost money, and each had 3 trades or fewer.
What do trading costs do to this rule?
Very little. At 5 basis points the CAGR was -4.32% and at 10 basis points it was -4.37%, against -4.27% with no costs. There were only 6 fills.
How does the trailing stop work in the backtest?
The stop sits 10% below the highest price since entry and only moves 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, and deploying them live is not available yet.
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.