200-Day SMA Regime Filter 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.
The 200-day regime filter lost money on RINF while the fund itself rose. Across the test from 2021-01-04 to 2026-10-02, a $10,000 account under this rule ended at $8,847.83, a total return of -11.52% and a CAGR of -2.11%, with a maximum drawdown of 21.43% and a Sharpe ratio of -0.16. Of 37 round trips, 12 made money, a 32% win rate. The account was in the market on 70.7% of trading days, and the profit factor was 0.49.
RINF bought and kept finished at $14,460.32, a CAGR of 6.63%, a 13.32% drawdown and a Sharpe ratio of 0.59. The filter gave up 8.74 points of CAGR and $5,612.49 of ending equity, and carried a drawdown 8.11 points deeper. In each of the six calendar years holding came out ahead. A rule meant to cut risk ended with more drawdown and less return than the fund it was filtering.
The cause shows up in the fund's profile. The fund's profile explains the result. Most sessions, 82.26%, closed over the 200-day average, yet the line was crossed 74 times. That combination produces many entries and exits that each lose a little. The template's caveat describes the mechanism: when price whips around the line in volatile stretches, buy and sell pairs cluster. The median trade lost 0.5% and was held 9 days.
Ranked among templates on RINF it is 10th of 12, and ranked among funds for this template RINF is 40th of 59. The median CAGR for the template is 1.84%, for all funds and for the alternative-strategy category. One backtest, one fund and 5.74 years sit behind the numbers, and the headline run charges no fees or slippage.
Year by year
| Year | 200-day regime filter | buy & hold |
|---|---|---|
| 2021 | −0.5% | 14.7% |
| 2022 | −9.5% | 8.8% |
| 2023 | −3.1% | 0.2% |
| 2024 | 1.0% | 9.7% |
| 2025 | −1.2% | 1.5% |
| 2026 | 1.5% | 3.7% |
Year by year
In 2021 the rule lost 0.5% while holding gained 14.7%. Its first entry, on 2021-10-22 at an adjusted $25.96, lasted 91 days. October lost 4.67%, November gained 2.53% and December 1.85%. The trade closed on 2022-01-21 at $24.71 for -4.82%, the worst trade of the test. The fund itself rose 15.05% that year, and the filter missed it because most of the year went by without a signal.
In 2022 the rule lost 9.5% while holding made 8.8%, the widest gap in the table at 18.3 points. The fund gained 8.98% and the filter lost nearly the same figure. The year had 11 round trips and 2 wins. After the January loss the rule took three quick trades in February that lost 0.99%, 0.72% and 1.52%. The 2022-02-24 entry at $25.15 held until 2022-07-01 at $26.72 for 6.24%, the best trade of the test, and March and April gained 5.34% and 5.18%. Then July produced three trades in two weeks that lost 1.24%, 2.93% and 1.84%, a fourth that lost 2.25% over 64 days, and September lost 5.74%. October gained 9.8%, the best month of the test, and the position entered on 2022-10-11 at $27.29 gave most of it back, with November down 3.69% and December down 5.62% before the exit on 2022-12-14 at $27.36 for 0.26%.
The rule lost 3.1% in 2023 against 0.2% for holding, over 8 round trips and 3 wins. January lost 1.26%, March 3.74%, November 4.5% and December 3.71%. The long trade of the year ran 184 days from 2023-06-06 at $28.12 to 2023-12-07 at $28.88 for 2.7%, and there were seven short trades around it that were mostly small losses.
For 2024 the rule made 1% against 9.7% for holding, with 8 round trips and 2 wins. February alone had three entries, and three of the first four months of the year lost money. The 2024-09-19 entry at $29.54 ran 197 days to 2025-04-04 for 1.79%, the longest hold of the test.
The rule lost 1.2% in 2025 against a 1.5% gain for holding, with 6 round trips and 4 wins, its best hit rate. April brought a string of quick trades around the sell-off, 1.09% from 2025-04-09 to 2025-04-14 and -0.46% in a single day, and a longer entry on 2025-04-21 that held 142 days to 2025-09-10 for 0.78%. Through the end of data, 2026 shows 1.5% for the rule and 3.7% for holding. There were 4 closed trades and 1 win, and the entry on 2026-04-06 at $31.6 is open at the end, up 3.35%.
Every year follows one shape: the filter captured part of the fund's return in the years the fund trended gently, and gave up the rest to cash and to small losses from re-entry. The largest gaps came in 2022 and 2021.
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% | −4.7% | 2.5% | 1.9% |
| 2022 | −3.8% | −1.1% | 5.3% | 5.2% | −2.8% | −5.6% | −3.1% | 2.6% | −5.7% | 9.8% | −3.7% | −5.6% |
| 2023 | −1.3% | 1.1% | −3.7% | −1.2% | 0.6% | 1.5% | 1.5% | 0.0% | 3.7% | 3.3% | −4.5% | −3.7% |
| 2024 | −0.9% | −0.2% | −1.2% | 2.7% | 0.5% | −0.9% | −1.0% | −1.3% | −0.2% | 3.0% | −1.4% | 2.1% |
| 2025 | 1.2% | −1.8% | 0.9% | −3.2% | 2.6% | −0.5% | 0.2% | 0.8% | −1.7% | 0.1% | −0.3% | 0.6% |
| 2026 | 0.3% | −0.9% | −1.1% | 0.8% | 1.0% | −0.6% | 1.6% | −0.2% | 1.0% | −0.3% | – | – |
Month by month
January to September 2021 are blank in the grid because the filter held cash without a signal. After that most months have a return. The best month was 2022-10 at 9.8%, against 13.45% for holding, and the worst was 2022-09 at -5.74% against -6.11%. In the worst month the filter and the fund lost about the same, so the filter did not protect the account when it mattered most.
Averaged by calendar month, the fund shows an uneven spread. October averaged 4.1% over 5 observations, March 1.61%, February 1.29% and April 1.19%, and the weak months were November at -1.5%, June at -1.23% and January at -0.62%. With 5 or 6 observations each, those numbers describe the window and are not a pattern to rely on. The filter's own record has losing Novembers from 2022 to 2025 and losing Decembers in 2022 and 2023.
Across 2024 and 2025 and 2026 the monthly returns are small and mixed, in the range of 3.2% down to 3.04% up. Such small, mixed months come from a rule that spends its time in and out of a quiet fund, with a few quick trades each month.
Every trade
200-day regime filter on RINF made 37 closed round trips and one position still open at the end of the test, an average hold of 35 days, an average winner of 1.33%, an average loser of −1.25%, a profit factor of 0.49, a longest losing streak of 4. It held a position at the close on 70.7% of trading days.
| Entry | Entry price | Exit | Exit price | Return | Days held |
|---|---|---|---|---|---|
| 2021-10-22 | $25.96 | 2022-01-21 | $24.71 | −4.8% | 91 |
| 2022-01-25 | $25.20 | 2022-02-03 | $24.95 | −1.0% | 9 |
| 2022-02-09 | $25.08 | 2022-02-14 | $24.90 | −0.7% | 5 |
| 2022-02-15 | $25.05 | 2022-02-17 | $24.67 | −1.5% | 2 |
| 2022-02-24 | $25.15 | 2022-07-01 | $26.72 | 6.2% | 127 |
| 2022-07-05 | $26.52 | 2022-07-06 | $26.19 | −1.2% | 1 |
| 2022-07-08 | $26.96 | 2022-07-12 | $26.17 | −2.9% | 4 |
| 2022-07-15 | $26.66 | 2022-07-22 | $26.17 | −1.8% | 7 |
| 2022-07-28 | $27.11 | 2022-09-30 | $26.50 | −2.3% | 64 |
| 2022-10-11 | $27.29 | 2022-12-14 | $27.36 | 0.3% | 64 |
| 2022-12-29 | $28.10 | 2022-12-30 | $27.97 | −0.5% | 1 |
| 2023-01-03 | $27.99 | 2023-01-04 | $27.63 | −1.3% | 1 |
| 2023-02-17 | $28.09 | 2023-03-10 | $27.66 | −1.5% | 21 |
| 2023-03-30 | $28.06 | 2023-04-03 | $27.92 | −0.5% | 4 |
| 2023-04-12 | $27.70 | 2023-04-26 | $27.76 | 0.2% | 14 |
| 2023-04-27 | $28.05 | 2023-05-01 | $27.64 | −1.5% | 4 |
| 2023-05-16 | $28.08 | 2023-06-05 | $28.19 | 0.4% | 20 |
| 2023-06-06 | $28.12 | 2023-12-07 | $28.88 | 2.7% | 184 |
| 2023-12-11 | $29.06 | 2023-12-13 | $28.58 | −1.6% | 2 |
| 2024-01-16 | $29.03 | 2024-01-31 | $28.76 | −0.9% | 15 |
| 2024-02-15 | $28.92 | 2024-02-16 | $29.15 | 0.8% | 1 |
| 2024-02-22 | $29.35 | 2024-02-26 | $29.07 | −0.9% | 4 |
| 2024-02-28 | $29.29 | 2024-03-07 | $29.01 | −1.0% | 8 |
| 2024-03-22 | $29.35 | 2024-03-27 | $29.25 | −0.3% | 5 |
| 2024-04-01 | $29.35 | 2024-06-17 | $29.67 | 1.1% | 77 |
| 2024-06-18 | $29.77 | 2024-08-02 | $29.24 | −1.8% | 45 |
| 2024-08-26 | $29.52 | 2024-09-04 | $29.31 | −0.7% | 9 |
| 2024-09-19 | $29.54 | 2025-04-04 | $30.07 | 1.8% | 197 |
| 2025-04-09 | $30.36 | 2025-04-14 | $30.69 | 1.1% | 5 |
| 2025-04-15 | $30.60 | 2025-04-16 | $30.46 | −0.5% | 1 |
| 2025-04-21 | $30.80 | 2025-09-10 | $31.04 | 0.8% | 142 |
| 2025-09-12 | $31.29 | 2025-10-15 | $31.18 | −0.3% | 33 |
| 2025-10-24 | $31.17 | 2025-11-26 | $31.24 | 0.2% | 33 |
| 2025-12-01 | $31.28 | 2026-02-20 | $31.38 | 0.3% | 81 |
| 2026-02-23 | $31.33 | 2026-02-24 | $31.21 | −0.4% | 1 |
| 2026-03-12 | $31.50 | 2026-03-25 | $31.25 | −0.8% | 13 |
| 2026-03-27 | $31.39 | 2026-03-30 | $31.30 | −0.3% | 3 |
| 2026-04-06 | $31.60 | open | – | 3.4% | – |
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 37 trades
The list holds 37 closed round trips plus one open position. Median return is -0.5% with a median hold of 9 days, but the average hold is 35.1 days, because a few long trades sit far above the middle. The shortest hold is 1 day and the longest 197. The average winner returned 1.33% and the average loser -1.25%. The longest winning streak was 2 and the longest losing streak 4.
The five best trades were 6.24% from 2022-02-24 to 2022-07-01, 2.7% from 2023-06-06 to 2023-12-07, 1.79% from 2024-09-19 to 2025-04-04, 1.09% from 2024-04-01 to 2024-06-17 and 1.09% from 2025-04-09 to 2025-04-14. The five worst were -4.82% from 2021-10-22 to 2022-01-21, -2.93% from 2022-07-08 to 2022-07-12, -2.25% from 2022-07-28 to 2022-09-30, -1.84% from 2022-07-15 to 2022-07-22 and -1.78% from 2024-06-18 to 2024-08-02.
Exits by year came to 11 (2022), 8 (2023), 8 (2024), 6 (2025) and 4 (2026), with winners numbering 2, 3, 2, 4 and 1. All prices are split and dividend adjusted, which keeps them under the live quotes of the day.
Several trades last one day. The entry on 2022-12-29 closed the next day for -0.46%, the entry on 2023-01-03 closed the next day for -1.29%, and the entry on 2025-04-15 closed the next day for -0.46%. A one-day trade means the rule bought at the open after a close over the line and sold the next open after a close under it. Each such trade pays the spread twice, and these lost money.
The profit factor of 0.49 sums it up. The winners and losers are similar in size, near 1.3%, and the filter lost on about two trades out of three.
Largest drawdowns
| Peak | Low point | Depth | Days to low | Recovered | Days to recover |
|---|---|---|---|---|---|
| 2022-06-06 | 2024-09-04 | −21.4% | 821 | not yet | – |
| 2021-11-15 | 2022-02-17 | −9.9% | 94 | 2022-03-11 | 22 |
| 2022-04-21 | 2022-05-25 | −7.3% | 34 | 2022-06-03 | 9 |
Buy-and-hold's deepest drawdown ran from 2022-10-24 to 2023-02-03 and reached −13.3%.
Drawdowns
The deepest drawdown, 21.43%, started at a 2022-06-06 peak and reached its low on 2024-09-04, 821 days later, with no recovery by 2026-10-02. Next was 9.87%, from 2021-11-15 to 2022-02-17, which took 94 days to the low and recovered on 2022-03-11 after 22 days. Third was 7.35%, spanning 2022-04-21 to 2022-05-25 with the old high retaken on 2022-06-03, 9 days after.
Holding the fund produced a 13.32% drawdown between 2022-10-24 and 2023-02-03, regained on 2023-10-18. Smaller ones followed: 10.05% over 2022-06-06 to 2022-06-30, and 9.46% over 2023-10-19 to 2023-12-27, which healed on 2025-01-07. In the fund's profile the maximum drawdown reads 13.54% and the longest lasted 303 sessions.
The 21.43% drawdown is the largest finding on this page. The filter's peak and the holding's second peak fall on the same day, 2022-06-06. From there the fund lost 10.05% and recovered by 2022-10-20, while the filter's account kept falling through the July trades, the September loss and the November and December give-back, and reached its low in September 2024. A regime filter is meant to be shallower than holding. On RINF the opposite happened because the exits came after the losses and the re-entries came before the next fall.
With trading costs
The headline run fills at the bar price. These runs charge slippage on every fill.
| Slippage per fill | CAGR | Max drawdown | Final value | Sharpe |
|---|---|---|---|---|
| None (headline) | −2.1% | −21.4% | $8,848 | -0.16 |
| 5 basis points | −2.7% | −23.2% | $8,529 | -0.22 |
| 10 basis points | −3.4% | −25.4% | $8,220 | -0.29 |
Trading costs
The headline run assumes no slippage. Adding 5 basis points per fill moves CAGR to -2.73%, drawdown 23.16%, ending value $8,528.78 and Sharpe -0.223. At 10 basis points, CAGR is -3.36%, drawdown 25.45%, ending value $8,220.24 and Sharpe -0.286. The headline numbers are -2.11%, 21.43%, $8,847.83 and -0.16.
Across 75 fills, each added charge takes a visible bite from a result already below zero. RINF also trades lightly: the profile shows average daily dollar volume of 433,360 and median minute volume of 300 shares, so live fills on a rule that trades this often could be worse than the bar prices used here.
Changing the parameters
| Version | CAGR | Max drawdown | Round trips | Win rate | Final value |
|---|---|---|---|---|---|
| Published rules | −2.1% | −21.4% | 37 | 32% | $8,848 |
| 100-day SMA | −1.8% | −16.8% | 48 | 27% | $9,030 |
| 150-day SMA | −2.2% | −21.9% | 44 | 20% | $8,799 |
| 250-day SMA | −2.0% | −22.2% | 28 | 21% | $8,913 |
Parameter variants
Three other window lengths were run beside the published 200. A 100-day average returned -1.76% with a 16.82% drawdown, 48 trades and 13 wins, ending at $9,029.64 with a Sharpe of -0.136. A 150-day average returned -2.2% with a 21.93% drawdown, 44 trades and 9 wins, ending at $8,798.79 with a Sharpe of -0.176. A 250-day average returned -1.98% with a 22.2% drawdown, 28 trades and 6 wins, ending at $8,913.48 with a Sharpe of -0.15.
All four versions lost money, between -1.76% and -2.2% a year. The shortest window had the shallowest drawdown at 16.82% and the most trades, while the longest had the fewest trades and the fewest wins. A longer average cut the number of crossings and did not improve the result. The three variants and the published rule sit close together, which says the loss does not depend on the exact window length.
The test stops at those three lengths. It does not include a buffer band, which the template's caveat mentions as a way some traders reduce churn, and that is one change that could reduce the number of one-day trades. The effect of a band on RINF was not run here.
How RINF behaved
| Measure | RINF |
|---|---|
| Data in this test | 2021-01-04 to 2026-10-02 (1428 sessions) |
| Total return, buy and hold | 45.4% |
| Annualized volatility | 12.4% |
| Deepest drawdown | −13.5% (2022-10-24 to 2023-02-03) |
| Up days | 51.9% |
| Average daily range | 0.61% |
| Average overnight gap | 0.36% |
| Correlation to SPY | 0.13 |
| Correlation to QQQ | 0.09 |
| Correlation to TLT | -0.40 |
| Sessions above the 200-day average | 82.3% |
| Crossings of the 200-day average | 74 |
| Falls of 10% or more from a 20-day high | 1 |
How RINF behaved
Across 1,428 sessions, a little short of most funds in the library, RINF gained 45.41%, a CAGR of 6.74% with annualized volatility of 12.41%. The worst drawdown was 13.54% from 2022-10-24 to 2023-02-03, recovered on 2023-10-18. Up days were 51.93% of the total, averaging 0.55% against -0.56% on down days, an average range of 0.61% and an average overnight gap of 0.36%.
By year the fund made 15.05% (2021), 8.98% (2022), 0.21% (2023), 9.89% (2024), 1.48% (2025) and 3.78% (2026 so far). Its strongest single sessions were 4.35% on 2022-03-02, 4.02% on 2022-04-14 and 3.8% on 2022-03-08, and its weakest were -3.16% on 2022-10-25, -3.11% on 2022-05-19 and -2.92% on 2022-06-29. Splitting adjusted prices, overnight moves summed to 76.2% in log terms and intraday moves to -38.62%, so the fund earned its gains between the close and the following open.
RINF moves mostly apart from equities and bonds, with correlation of 0.13 to SPY, 0.09 to QQQ and -0.4 to TLT. Nearest neighbours were TBF (0.41), KMLM (0.23), XLF (0.16), FAS (0.15) and VTV (0.15). The furthest the other way were TMF and TLT (-0.4), IEF (-0.37), UST (-0.36) and BND (-0.35).
Oversold readings were rare. RSI(14) fell under 30 on 10 sessions, followed by a median 5-day move of 1.42% and 20-day move of 2.99%, compared with all-session medians of 0.15% and 0.57%. RSI(2) under 10 came on 139 sessions, with medians of 0.29% and 1.23%. The oversold readings were followed by gains here, which sits against the trend-following logic the filter uses. Lag-1 autocorrelation came out at 0, which means one day's move carried no information about the next. The RSI(2) snapback, which buys oversold readings, led the ranking on this fund.
The rules
Own the asset when price closes above its 200-day average; hold cash when it closes below.
- WHEN the market opens · IF not invested AND yesterday's close > SMA(200) · THEN buy with 98% of the sleeve
- WHEN the market opens · IF invested AND yesterday's close < SMA(200) · THEN sell the whole position
One rule and one number. Price above the 200-day moving average has historically coincided with better returns and lower volatility than price below it. This template uses no crossovers and no oscillators, only which side of the long-term average the price is on.
Good for: a first systematic strategy, simple enough to audit every trade.
Watch out: price whips around the 200-day line during volatile bottoms, generating clusters of buy-sell pairs. Some traders add a small buffer band to reduce churn.
How the rule reads a fund that tracks inflation expectations
Two rules drive the template. When flat and the prior close sits over the 200-day simple average, it buys at the open with 98% of the sleeve. When invested and the prior close sits under the average, it sells everything at the open. Nothing else feeds it. The description says that stretches above the long-term average have tended to bring better returns and lower volatility than stretches below, and the template is described as simple enough to audit every trade.
RINF tracks 30-year breakeven inflation expectations, which makes it a different kind of fund from an equity index. Its annualized volatility was 12.41%, its average daily range was 0.61%, and its correlation to SPY was 0.13 with a beta of 0.09. It was negatively correlated with TLT, at -0.4 with a beta of -0.33. The price moved over short swings around a rising trend, and a 200-day average is slow compared with a swing that reverses within weeks.
The first entry came on 2021-10-22. A 200-day average needs 200 sessions of history before it exists, and the window starts on 2021-01-04, so the strategy had no signal until late October. From then on the fund's own price kept crossing back and forth across the line. The rule's whole record is a record of those crossings: 75 fills across 37 completed trades and one open one.
RSI(14) dipped under 30 on just 10 sessions, and a drop of 10% from a 20-day high came once, on one day. The fund was quiet by the standards of the rest of the library, and the loss on the filter comes from repeated small exits and re-entries, not from one large move.
The same fund under the other templates
Running all templates on RINF, the RSI(2) snapback came first at 8.52% CAGR and a 10.64% drawdown. Next were the weekly 7% target at 6.57% with 14.3%, then RSI mean reversion at 6.34% with 9.76%, the monthly cycle 5.19% with 14.86% and the trend plus trailing stop 4% with 13.29%. The golden cross returned 2.38%, the dip buyer 1.32% with a 2.78% drawdown, the EMA 12/26 trend -0.22% and the 3-month momentum -0.38%.
This filter placed tenth at -2.11%, a hair above the SMA 10/50 trend at -2.12% and the momentum breakout at -2.27%. That ordering applies to one fund and one window and would shift on another fund.
Among alternative-strategy funds the same template returned 20.38% on CLSE, 4.26% on QAI, 1.84% on ALTY and 0.24% on KMLM, and lost 3.02% on CTA. RINF, at -2.11% with 37 round trips, had the most trades of the six. The ETF hub for RINF collects all 12 results. The figures are hypothetical, from one window and one run per fund with daily-decision rules.
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 200-day regime filter beat buy-and-hold on RINF?
Over 2021-01-04 to 2026-10-02, 200-day regime filter on RINF returned −2.1% annualized vs 6.6% for buy-and-hold: it trailed buy-and-hold by 8.7% per year, with a maximum drawdown of 21.4% (buy-and-hold: 13.3%).
How many trades did it make?
37 completed round trips over 5.7 years (75 fills), with 32% of round trips closing profitably.
Why the 200-day average specifically?
It approximates a year of trading days and has been studied across decades of data. It is not the best window for every asset. The per-ETF backtests here show where it helped and where it didn't.
What did the 200-day regime filter return on RINF?
A $10,000 start on 2021-01-04 ended at $8,847.83 on 2026-10-02, a CAGR of -2.11% with a 21.43% maximum drawdown. There were 37 round trips, 12 of them winners. Buy-and-hold on RINF ended at $14,460.32.
Did the regime filter beat buy-and-hold on RINF?
No, in any year. It trailed by 8.74 points of CAGR, and its drawdown of 21.43% was deeper than the 13.32% for holding. The largest yearly gap was 18.3 points in 2022.
Why did the filter lose money on a fund that rose?
Even with 82.26% of closes over the average, RINF crossed the line 74 times. Of the 37 round trips, 32% won and the profit factor was 0.49, driven by numerous one-day and one-week trades that each lost a little.
Does a longer or shorter moving average help?
Not in the three variants tested. The 100-day average returned -1.76%, the 150-day -2.2% and the 250-day -1.98%, against -2.11% for the 200-day. All lost money.
Do trading costs change the result?
CAGR drops to -2.73% with 5 basis points per fill and to -3.36% with 10. The rule made 75 fills, and RINF's median minute volume was only 300 shares.
Which strategies did best on RINF?
The RSI(2) snapback returned 8.52%, the weekly 7% target 6.57% and RSI mean reversion 6.34%. The regime filter ranked 10th of 12.
Related
Backtests are hypothetical, computed by DeployQuant's engine on minute-resolution consolidated US market data (2021-01-04 to 2026-10-02, $10,000 starting capital, no margin, no fees or slippage in the headline run; buy-and-hold puts 98% of the account in at the first open, as the templates do) and do not guarantee future results. Nothing on this page is investment advice. Live trading involves risk of loss.