Learn › Strategies › 20-Day Momentum + Trailing Stop › RINF

20-Day Momentum + Trailing Stop on RINF

ProShares Inflation Expectations ETF: tracks 30-year breakeven inflation expectations. Backtest 2021-01-04 to 2026-10-02, $10,000 starting capital, computed by the same engine that runs live DeployQuant strategies.

Result: momentum breakout on RINF turned $10,000 into $8,764 (−12.4% total, −2.3% CAGR): it trailed buy-and-hold by 8.9% per year, with a maximum drawdown of 17.1% (buy-and-hold: 13.3%).

Starting with $10,000 on 2021-01-04, the momentum breakout on RINF finished at $8,764 on 2026-10-02. That is -12.36% in total and -2.27% a year. Buy-and-hold on the same fund ended at $14,460, a gain of 44.6% and 6.63% a year, so the strategy trailed by 8.9 points of CAGR. It made 2 round trips, both losers, with a Sharpe ratio of -0.32 against 0.59 for holding. Its maximum drawdown was 17.08%, deeper than the 13.32% in buy-and-hold, which is unusual for a strategy that was in the market on only 7.9% of trading days.

The entry condition is a 20-day return above +10% with the sleeve flat, and it buys with 98% of the sleeve. After that a trailing stop sits 10% under the position's high-water mark. No profit target exists. RINF, the ProShares Inflation Expectations ETF, tracks 30-year breakeven inflation expectations. It is a quiet fund with 12.41% annualized volatility, and a +10% move inside four weeks is rare for it. The rule found two such moments in the window, both in 2022, and both ended at the trailing stop below the entry price.

The test covers one fund and two trades, with no fees in the headline run. Two trades give a result and not a statistic. The analysis covers what each trade did, why the stop acted when it did, and what the fund's own behaviour says about this kind of rule.

−2.3%CAGR
6.6%buy & hold CAGR
−17.1%max drawdown
-0.32Sharpe ratio
2round trips
0%win rate
■ momentum breakout   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

Yearmomentum breakoutbuy & hold
20210.0%14.7%
2022−12.4%8.8%
20230.0%0.2%
20240.0%9.7%
20250.0%1.5%
20260.0%3.7%

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%
20220.0%0.0%−1.4%5.2%−2.8%−5.2%0.0%0.0%0.0%0.2%−3.7%−5.0%
20230.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%
20240.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%
20250.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%
20260.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%––

Every trade

momentum breakout on RINF made 2 closed round trips, an average hold of 82 days, an average loser of −6.51%, a longest losing streak of 2. It held a position at the close on 7.9% of trading days.

EntryEntry priceExitExit priceReturnDays held
2022-03-09$27.642022-06-30$26.39−4.5%113
2022-10-25$29.952022-12-14$27.41−8.5%50

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 fund's biggest days against the two holding periods

The five best days in the window all fell in 2022: +4.35% on 2022-03-02, +4.02% on 2022-04-14, +3.8% on 2022-03-08, +3.33% on 2022-11-30 and +3.18% on 2022-04-21. The first two of those came before the March entry. The strategy was holding on 2022-04-14, 2022-04-21 and 2022-11-30, so it collected part of three of the five biggest up days and still closed both trades at a loss. The gains were given back over the following weeks.

The 2022-04-21 date matters twice. It was the peak of the strategy's second-deepest drawdown, 7.34%, which bottomed on 2022-05-25 after 34 days. The best up day inside the first trade therefore marked the high before a slide inside the same trade.

The worst days tell a similar story. The fund lost 3.16% on 2022-10-25, the day of the second entry. It lost 3.11% on 2022-05-19 and 2.89% on 2022-05-02, both inside the first holding period, and 2.92% on 2022-06-29, the session before the first exit. Four of the five worst days therefore landed while the rule was either entering or holding. The fifth, a 2.87% drop on 2021-10-29, came when the sleeve was in cash. A stop that sits 10% under the high-water mark does not react to single days of this size, since none of them came close to that distance on its own.

Largest drawdowns

PeakLow pointDepthDays to lowRecoveredDays to recover
2022-06-062022-12-14−17.1%191not yet–
2022-04-212022-05-25−7.3%342022-06-039
2022-03-142022-03-16−4.3%22022-04-1126

Buy-and-hold's deepest drawdown ran from 2022-10-24 to 2023-02-03 and reached −13.3%.

With trading costs

The headline run fills at the bar price. These runs charge slippage on every fill.

Slippage per fillCAGRMax drawdownFinal valueSharpe
None (headline)−2.3%−17.1%$8,764-0.32
5 basis points−2.3%−17.2%$8,746-0.32
10 basis points−2.3%−17.4%$8,727-0.33

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules−2.3%−17.1%20%$8,764
5% trailing stop−0.9%−7.8%333%$9,489
15% trailing stop2.9%−13.3%0–$11,777
20% return entry0.0%−0.0%0–$10,000

How RINF behaved

MeasureRINF
Data in this test2021-01-04 to 2026-10-02 (1428 sessions)
Total return, buy and hold45.4%
Annualized volatility12.4%
Deepest drawdown−13.5% (2022-10-24 to 2023-02-03)
Up days51.9%
Average daily range0.61%
Average overnight gap0.36%
Correlation to SPY0.13
Correlation to QQQ0.09
Correlation to TLT-0.40
Sessions above the 200-day average82.3%
Crossings of the 200-day average74
Falls of 10% or more from a 20-day high1

Weekday and calendar averages for RINF

Average returns by weekday were close to flat: 0.09% on Monday, 0.08% on Friday, 0.01% on Wednesday and Thursday and -0.04% on Tuesday. Because the rule buys at the open on whichever day the 20-day return clears +10%, no weekday filter is involved, and the data shows no weekday edge that one could have added.

The calendar months are more uneven, although each month has only 5 or 6 observations. October averaged 4.1%, February 1.29%, March 1.61%, April 1.19%, July 1.03% and May 0.99%. January averaged -0.62%, June -1.23% and November -1.5%. The two entries fell in March and October, both months with positive averages for the fund. The first trade then ran through April and May and ended in June, a negative month on average. The second trade began in the fund's best average month and ended in December, which averaged -0.41%. The strategy lost money on both trades in spite of entering in favourable months, because the entries were already near local highs.

The fund's correlation list explains why it behaves apart from stocks. KMLM, at 0.23, was the closest match after TBF, and XLF, FAS and VTV sat between 0.15 and 0.16. The negative end was bonds: IEF at -0.37, UST at -0.36 and BND at -0.35, besides TMF and TLT at -0.4. A fund that moves against Treasuries and barely with equities gets its bursts from rate and inflation news, which does not repeat on the monthly or weekly rhythm that a 20-day entry assumes.

The rules

Buy after a +10% four-week burst and let a 10% trailing stop manage the exit.

  1. WHEN the market opens · IF not invested AND the 20-day return > +10% · THEN buy with 98% of the sleeve
  2. 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.

What each year did

Only one year had any activity. The yearly results were 0.0% in 2021, -12.4% in 2022, and 0.0% in 2023, 2024, 2025 and 2026. Buy-and-hold made 14.7%, 8.8%, 0.2%, 9.7%, 1.5% and 3.7% in the same years. The yearly gaps were -14.7, -21.2, -0.2, -9.7, -1.5 and -3.7 points, and the strategy did not beat buy-and-hold in any year.

The 2021 gap is the cost of waiting. The fund rose 14.7% in a year when the 20-day return never crossed +10%, and a flat sleeve earns nothing. The same is true of 2023 through 2026: the fund earned small positive returns, the entry condition never fired, and the sleeve sat in cash. That is five of six years with no position, which is why exposure is 7.9% and the equity curve is a straight line for most of the window.

The 2022 gap is the real damage. Buy-and-hold made 8.8% in 2022 while the strategy lost 12.4%. In a year when the fund rose, the rule bought twice and was stopped out twice. The breakouts it bought were short bursts inside a year that ended higher, and the 10% trailing stop converted each one into a loss.

The months with a position

Of all the months in the window, the strategy had returns in only seven: March 2022 at -1.4%, April at 5.2%, May at -2.8%, June at -5.2%, October at 0.2%, November at -3.7% and December at -5.0%. Everything else is 0.0%.

April 2022 was the best month at 5.17% and June 2022 the worst at -5.17%. The first trade covers March to June, and its path is visible in those four months: a small loss on entry, a gain in April, and then two losing months as the stop trailed. The second trade covers the last days of October to the middle of December. October contributes 0.23% for the few days held, and November and December contribute -3.68% and -5.0%.

Holding the fund made 13.45% in October 2022, its best month, and the strategy took only 0.23% of it because the second entry came on 2022-10-25. The fund's worst month was September 2022 at -6.11%, a month the strategy spent in cash.

The two trades

Both trades are in 2022, and each tells a different story about the rule.

The first trade entered on 2022-03-09 at $27.64. Two of the fund's five best days in the whole window came just before this entry: +4.35% on 2022-03-02 and +3.8% on 2022-03-08. That is the burst the rule is built to catch, a sharp rise in a few sessions. The position then rode the fund up into early June. The strategy's own equity peaked on 2022-06-06, the same date as buy-and-hold's peak. From there the fund fell, and the trailing stop sold on 2022-06-30 at $26.388, a loss of 4.53% over 113 days.

The exit date is the interesting detail. 2022-06-30 is also the date of buy-and-hold's trough in its second-largest drawdown, a 10.05% fall from 2022-06-06 to 2022-06-30. The stop sold on the day the fund bottomed. The fund then recovered that fall by 2022-10-20. The fund's worst days around that period were -3.11% on 2022-05-19 and -2.92% on 2022-06-29, the day before the exit. A stop set 10% below the high-water mark sold after the damage was done.

The second trade entered on 2022-10-25 at $29.95. The entry is the worst timing in the window. 2022-10-24 is the start of buy-and-hold's deepest drawdown, 13.32% down to 2023-02-03, and 2022-10-25 was the fund's worst single day at -3.16%. The rule bought a 20-day burst on the day after the top. It sold on 2022-12-14 at $27.41 after 50 days for a loss of 8.48%.

The average loser was -6.51% and the average hold 81.5 days. There were no winners, so the win rate is 0% and the profit factor is 0. The two trades sit in the same year and the same drawdown, so they are the same bet on a rising fund made twice.

How the drawdown formed

The strategy's deepest drawdown ran from 2022-06-06 to 2022-12-14, 17.08% deep, 191 days to the low, and it had not recovered by the end of the data. It is the sum of the two losing trades, with a long stretch between them where the account did not move. The equity stayed below its 2022-06-06 peak because neither trade recovered what it lost, and the fund's own gains in 2023 to 2026 were missed.

The second drawdown, from 2022-04-21 to 2022-05-25, was 7.34% deep and recovered by 2022-06-03 in 9 days. The third, 2022-03-14 to 2022-03-16, was 4.27%, with a recovery on 2022-04-11. Those two sit inside the first trade.

Buy-and-hold's drawdowns were shallower and less lasting. The deepest, 13.32%, ran from 2022-10-24 to 2023-02-03 and recovered on 2023-10-18, 257 days after the low. The second, 10.05%, ran from 2022-06-06 to 2022-06-30 and recovered on 2022-10-20. The third, 9.46%, ran from 2023-10-19 to 2023-12-27 and recovered on 2025-01-07. The strategy's maximum drawdown was 3.76 points deeper than buy-and-hold's, in spite of holding the fund for only a fraction of the time. Being out of the market most of the time does not cap the worst point when the few trades taken are the wrong ones.

Trading costs

At 5 basis points of slippage per fill the strategy made -2.31% a year with a 17.22% drawdown, ending at $8,745.81, and at 10 basis points it made -2.34% with a 17.36% drawdown, ending at $8,727.31. The headline run ended at $8,764.31.

The final-value gap to buy-and-hold is $5,696.01, and slippage explains little of it. Entry timing and the stop explain most. RINF is also a thin fund, with an average daily dollar volume of $433,360 and a median minute volume of 300 shares. Fills at the bar price on a fund that thin leave out costs that could be larger live than the 5 and 10 basis point runs assume. The liquidity entry explains why thin tickers deserve extra skepticism.

Changing the parameters

Three variants change one input each.

The 15% variant needs a careful reading. It reports 0 closed trades but a gain, which suggests a position that was entered and had not been stopped out by the end of the data. It is a hold with an entry date, and it behaved a lot like a late buy-and-hold. The 5% variant moves the other way, trading more often and losing slightly. None of the three tests whether the rule works on RINF. They show that the result depends on how wide the stop is relative to a fund whose normal day is a 0.61% range. A 10% trail is a wide band on a fund like that.

How RINF behaved

Over the 1,428 sessions in the window RINF gained 45.41%, or 6.74% a year, with annualized volatility of 12.41%. Its worst fall was 13.54%, from 2022-10-24 to 2023-02-03, and the longest stretch below a prior peak was 303 sessions. Up days made up 51.93% of the total. The average up day gained 0.55%, the average down day lost 0.56%, the typical daily range was 0.61% and the typical overnight gap was 0.36%.

Equities barely move it. Its beta to SPY was 0.09 and to QQQ 0.05, with correlations of 0.13 and 0.09. Against TLT the beta was -0.33 and the correlation -0.4. Among the funds in the set, TBF was the closest match at 0.41, and TMF and TLT were the furthest at -0.4. The fund follows its own inflation-expectations driver.

The gains came entirely overnight. Overnight moves added 76.2% in log terms while intraday moves subtracted 38.62%, which puts the overnight share at 202.78% and the intraday share at -102.78%. A rule that buys at the open takes the open-to-close leg of each day, and that leg lost money on average in this window.

Daily returns carried no memory: the first-order autocorrelation was 0. Mean reversion shows up in the RSI readings instead. The fund logged 10 sessions with RSI(14) under 30, and the median return over the next 5 sessions was 1.42% and over the next 20 was 2.99%, where the all-session medians were 0.15% and 0.57%. RSI(2) under 10 occurred on 139 sessions, followed by medians of 0.29% over 5 days and 1.23% over 20. Oversold readings preceded larger gains than ordinary days did, and a rule that buys strength after a burst takes the opposite side of that pattern.

A 10% fall from a 20-day high happened once, on a single day. Large moves are scarce in both directions, which explains why the entry fired twice in almost six years. RINF closed above its 200-day average on 82.26% of sessions and crossed that line 74 times. By calendar month, October averaged 4.1% and March 1.61%, while November averaged -1.5% and June -1.23%, each from 5 or 6 observations.

How the rules fit this fund

The template is written for high-momentum assets where trends extend, such as semiconductor and leveraged tech ETFs. RINF has the opposite profile: low volatility, no autocorrelation and weak ties to equities. The template's own caveat describes what happened. A burst bought near its high reversed, and the trail sold about 10% under the high-water mark. Both trades closed below their entry prices.

The ranking points the same way. The momentum breakout finished 12th of 12 on RINF by CAGR at -2.27%. At the top, the RSI(2) snapback made 8.52% with a 10.64% drawdown, the weekly 7% target 6.57% and the RSI mean reversion 6.34% with a 9.76% drawdown. The middle of the table held the monthly cycle at 5.19%, the trend plus trailing stop at 4.0%, the golden cross at 2.38%, and the dip buyer at 1.32% with a 2.78% drawdown, the shallowest of the 12. Four rules lost money: the EMA 12/26 trend at -0.22%, the 3-month momentum at -0.38%, the 200-day regime filter at -2.11% and the SMA 10/50 trend at -2.12%, all ahead of this one. Short-hold and mean-reversion rules led and the trend and momentum rules sat at the bottom, which lines up with the zero autocorrelation and the RSI statistics.

Across all 59 ETFs, RINF ranked 44th for this strategy. The template's median CAGR was 0% over the whole universe and 0% among alternative-strategy funds, since many of them never produced a signal. Among the category peers, CLSE returned 10.1% with a 4.74% drawdown and no round trips. KMLM returned 2.11% over 2 round trips, QAI and ALTY returned nothing, and CTA lost 2.81% with a 27.4% drawdown over 4 round trips. CLSE's 10.1% came with no closed round trips, so a result there depends on whether and when the rule entered at all.

Limits of this test

The data runs from 2021-01-04 to 2026-10-02 and covers 1,428 sessions of RINF. The headline run fills at the bar price and charges nothing. The whole sample is two losing trades in a single year, so the test cannot say how the rule would behave through a long, one-directional inflation-expectations trend. Every figure is hypothetical, and none of it is a suggestion to buy or sell.

All 12 templates on this fund are on the RINF page, and the same rule on the other funds is in the momentum breakout hub.

Run momentum breakout on RINF yourself, free →

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 RINF?

Over 2021-01-04 to 2026-10-02, momentum breakout on RINF returned −2.3% annualized vs 6.6% for buy-and-hold: it trailed buy-and-hold by 8.9% per year, with a maximum drawdown of 17.1% (buy-and-hold: 13.3%).

How many trades did it make?

2 completed round trips over 5.7 years (4 fills), with 0% of round trips closing profitably.

How does the trailing stop work in the backtest?

The stop sits 10% below the highest price since entry and only ratchets up. When a bar trades through it, the position sells at the stop, or at the open if the price gaps below it. Trailing-stop exits can be backtested now; deploying them live is not available yet.

Did the momentum breakout beat buy-and-hold on RINF?

No. From 2021-01-04 to 2026-10-02 it made -2.27% a year and ended at $8,764, while buy-and-hold made 6.63% and ended at $14,460. It trailed in every calendar year, and its maximum drawdown of 17.08% was deeper than the 13.32% for holding.

How many trades did it make on RINF?

Two round trips and 4 fills, both in 2022. The first ran from 2022-03-09 to 2022-06-30 for a loss of 4.53%, and the second from 2022-10-25 to 2022-12-14 for a loss of 8.48%. The sleeve was invested on 7.9% of trading days.

Why was the strategy in cash for most of the window?

The entry needs a 20-day return above +10%, and RINF is a low-volatility fund with an average daily range of 0.61%. The condition fired twice in 1,428 sessions. A flat sleeve earns nothing, which accounts for the 0.0% years in 2021 and 2023 to 2026.

What happens with a different trailing stop?

A 5% trailing stop made -0.91% a year over 3 trades, with one winner. A 15% trailing stop shows 0 closed trades and a 2.89% CAGR, which points to a position still open at the end of the data. A 20% return entry never triggered.

Do trading costs matter here?

Only a little. With 5 basis points per fill the final value was $8,745.81, and with 10 basis points it was $8,727.31, against $8,764.31 with no slippage. RINF trades thinly, though, with a median minute volume of 300 shares, so live costs could be larger than those runs.

Which strategies suit RINF better?

In this window the RSI(2) snapback made 8.52% a year with a 10.64% drawdown, the weekly 7% target made 6.57% and the RSI mean reversion made 6.34%. The momentum breakout ranked last of 12 at -2.27%.

Related

20-Day Momentum + Trailing Stop on all 59 ETFsfull results table All strategies on RINF12 templates compared RSI(14) Mean Reversion on RINFsame ETF, different rulesRSI(2) Dip Snapback on RINFsame ETF, different rules

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.