200-Day SMA Regime Filter on IOO
iShares Global 100 ETF: 100 of the largest multinational companies in one ticker. 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 held the iShares Global 100 ETF (IOO) for 69.1% of the window and turned $10,000 into $18,396 between 2021-01-04 and 2026-10-02. That is an 11.2% CAGR, a 16.52% maximum drawdown and a Sharpe ratio of 1.0. Buy-and-hold IOO ended at $24,298 with a 16.72% CAGR, a 23.03% drawdown and a Sharpe of 1.05. The rule gave up 5.52% a year of return and took a drawdown that was 6.51 points shallower.
The rule is one line of logic. With no position and a prior close above the 200-day simple average, the rule buys 98% of the sleeve at the next open. Holding the fund with a prior close under the average, it sells the whole position at the open. There are no other indicators. It made 15 completed round trips, and only 5 won, a win rate of 33%. The average win was 13.82% and the average loss was 1.73%, which gives a profit factor of 4.07. A 16th trade opened on 2026-04-01 at an adjusted price of 121.08 and was up 19.66% at the end of the data.
The record shows the usual signature of a trend filter on a steadily rising fund. Most trades are small losses taken when price dips under the average. A few are long holds that carry nearly all of the profit. The best trade ran for 495 days and returned 33.76%. The three longest holds are the whole result.
IOO holds 100 of the largest multinational companies in one ticker. It is a broad index fund, and the rule ranked fifth of 12 templates on it by CAGR and thirteenth of 59 funds for this template. For the same rule on other funds, see the 200-day regime filter page. The IOO hub lists the other templates run on this fund.
The window is 5.74 years long. Decisions are daily, there is no margin, and the headline run charges no fees or slippage.
Year by year
| Year | 200-day regime filter | buy & hold |
|---|---|---|
| 2021 | 6.0% | 26.5% |
| 2022 | −13.6% | −16.0% |
| 2023 | 18.1% | 27.1% |
| 2024 | 26.0% | 26.0% |
| 2025 | 19.5% | 26.5% |
| 2026 | 13.1% | 14.9% |
Year by year against buy-and-hold
The rule beat buy-and-hold in one year, 2022, tied it in 2024, and trailed in the other four.
2021 returned 6.0% for the rule against 26.5% for the fund. The month table shows 0.0% from January through September 2021. The rule did not hold IOO until 2021-10-19, when it bought at 69.15. The average needs 200 sessions of price history to exist, and the first entry came about nine months into the window, which is consistent with that warm-up. The fund rose through the first nine months without the rule. The first trade was held for 127 days and sold on 2022-02-23 at 69.66 for 0.74%. October 2021 returned 2.09%, November -0.62% and December 4.45%.
2022 returned -13.6% against -16.0%. This was the one year the rule won, by a small margin, and its path was untidy. It made 8 round trips in the year and 2 won. February to April and December produced a cluster of short trades: -0.06% over 2 days from 2022-02-28, -2.59% over 1 day from 2022-03-03, 1.68% over 25 days from 2022-03-18, -1.48% over 4 days from 2022-04-14, -1.86% over 2 days from 2022-04-20, -1.65% over 5 days from 2022-12-01 and -3.67% over 2 days from 2022-12-14. The months from May to November show 0.0%, because the rule was in cash for most of the fund's slide. The cost was whipsaw: January lost 2.59%, February 1.73%, April 5.15% and December 5.14%.
2023 returned 18.1% against 27.1%. The rule made 2 round trips with 1 win. The January entry on 2023-01-12 at 63.74 sold on 2023-03-13 at 62.05 for -2.65%. It bought again on 2023-03-15 at 62.39 and held until 2023-10-27 at 69.27 for 11.03% over 226 days. Then came the long one: a 2023-11-02 entry at 71.54 that was still open on 2025-03-11.
2024 returned 26.0%, the same as the fund. The rule held one position for the entire year, and the match is what a filter does when it is long all year. The monthly numbers run from 1.97% in January to 6.52% in May.
2025 returned 19.5% against 26.5%. The long trade ended on 2025-03-11 at 95.69, for 33.76% over 495 days, the best trade of the test. March 2025 lost 6.38%, the worst month, with the decline before the 2025-03-11 exit and two short losing trades on 2025-03-20 and 2025-03-25. April 2025 shows 0.0%. The rule bought again on 2025-05-13 at 99.24 and held into 2026. The fund's own worst days came on 2025-04-04 at -5.77% and 2025-04-03 at -4.78%, and the rule was in cash for both.
2026 returned 13.1% against 14.9%. The 2025-05-13 trade sold on 2026-03-23 at 120.99 for 21.92% over 314 days. A short trade from 2026-03-24 at 119.7 sold on 2026-03-27 at 118.18 for -1.27%, and the rule bought again on 2026-04-01 at 121.08. That trade was open on 2026-10-02 and up 19.66%.
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% | 2.1% | −0.6% | 4.5% |
| 2022 | −2.6% | −1.7% | 0.3% | −5.2% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | −5.1% |
| 2023 | 2.1% | −2.7% | 5.3% | 3.8% | 0.3% | 5.3% | 2.5% | −1.5% | −4.5% | −2.3% | 5.9% | 3.3% |
| 2024 | 2.0% | 4.8% | 3.6% | −2.4% | 6.5% | 4.4% | −0.4% | 2.0% | 0.9% | −1.6% | 3.2% | 0.7% |
| 2025 | 1.4% | −0.4% | −6.4% | 0.0% | 2.0% | 5.3% | 3.6% | 2.6% | 4.6% | 4.9% | 0.7% | 0.1% |
| 2026 | 1.8% | −1.0% | −5.8% | 10.7% | 5.7% | −3.9% | 3.4% | 1.9% | −0.1% | 0.6% | – | – |
Reading the month table
The month table has a long run of zeros at the start and a shorter run in 2022. 2021-01 to 2021-09 is empty, consistent with the 200-day average needing history before it could signal, and 2022-05 to 2022-11 is empty because the rule was out of the market. April 2025 is the other empty month.
The months with a position show a mild skew. The best was April 2026 at 10.74%, against 11.62% for buy-and-hold that month. The worst was March 2025 at -6.38%, and buy-and-hold's worst month was September 2022 at -9.3%, a month the rule sat out. Other large gains were May 2024 at 6.52%, November 2023 at 5.87%, July 2025 at 3.58% and June 2025 at 5.35%. Other losses were March 2026 at -5.75%, April 2022 at -5.15%, December 2022 at -5.14% and September 2023 at -4.55%.
The pattern around turning points is the useful part. March 2026 lost 5.75% and April 2026 returned 10.74%. March 2025 lost 6.38% before the rule sat out April. A filter that sells after a close below the average sells after the fall has started, and it buys back after the rebound has started. The month table shows the cost of that lag in the March 2026 loss and the partial April gain.
The fund's own month-of-year averages show November at 3.7%, May at 3.62%, July at 3.25% and October at 3.03%, with September at -2.19% and February at -0.13%. Each of those averages rests on 5 or 6 observations. The rule's results across 5.74 years are in part a story of avoiding September 2022 and holding through the rest.
Every trade
200-day regime filter on IOO made 15 closed round trips and one position still open at the end of the test, an average hold of 85 days, an average winner of 13.82%, an average loser of −1.73%, a profit factor of 4.07, a longest losing streak of 5. It held a position at the close on 69.1% of trading days.
| Entry | Entry price | Exit | Exit price | Return | Days held |
|---|---|---|---|---|---|
| 2021-10-19 | $69.15 | 2022-02-23 | $69.66 | 0.7% | 127 |
| 2022-02-28 | $68.70 | 2022-03-02 | $68.66 | −0.1% | 2 |
| 2022-03-03 | $69.61 | 2022-03-04 | $67.81 | −2.6% | 1 |
| 2022-03-18 | $68.92 | 2022-04-12 | $70.08 | 1.7% | 25 |
| 2022-04-14 | $70.25 | 2022-04-18 | $69.21 | −1.5% | 4 |
| 2022-04-20 | $70.50 | 2022-04-22 | $69.19 | −1.9% | 2 |
| 2022-12-01 | $64.83 | 2022-12-06 | $63.76 | −1.6% | 5 |
| 2022-12-14 | $64.11 | 2022-12-16 | $61.76 | −3.7% | 2 |
| 2023-01-12 | $63.74 | 2023-03-13 | $62.05 | −2.6% | 60 |
| 2023-03-15 | $62.39 | 2023-10-27 | $69.27 | 11.0% | 226 |
| 2023-11-02 | $71.54 | 2025-03-11 | $95.69 | 33.8% | 495 |
| 2025-03-20 | $96.25 | 2025-03-21 | $95.99 | −0.3% | 1 |
| 2025-03-25 | $98.26 | 2025-03-27 | $96.48 | −1.8% | 2 |
| 2025-05-13 | $99.24 | 2026-03-23 | $120.99 | 21.9% | 314 |
| 2026-03-24 | $119.70 | 2026-03-27 | $118.18 | −1.3% | 3 |
| 2026-04-01 | $121.08 | open | – | 19.7% | – |
Prices are adjusted for splits and dividends, so they sit below the quotes printed at the time. An open position is marked at the last close.
The trades that decided the result
Fifteen closed trades, and three of them did the work. The 495-day trade returned 33.76%, the 314-day trade returned 21.92% and the 226-day trade returned 11.03%. The next best were 1.68% and 0.74%. Every other closed trade was a loss between 0.06% and 3.67%.
The median trade returned -1.27% and the median hold was 4 days, while the longest was 495 days and the average hold was 84.6 days. The gap between those two figures is the shape of the record: a handful of short losing trades and three very long winning ones. The shortest hold was 1 day.
A win rate of 33% would look weak in isolation. The profit factor of 4.07 shows why it is not. Average wins of 13.82% against average losses of 1.73% means one win pays for several losses. Five losses in a row was the worst run, and two wins in a row was the best.
The losers cluster in time. 8 of the 15 closed round trips exited in 2022, with 2 wins. Three exits came in 2025 with 1 win, and two in 2026 with 1 win. 2023 had 2 with 1 win. None exited in 2021 or 2024, because the first trade spanned the turn of 2021 to 2022 and the longest trade spanned 2024. The trades in March 2022, April 2022 and December 2022 are where the price crossed the average back and forth.
The worst trade lost 3.67% over 2 days, from 2022-12-14 at 64.11 to 2022-12-16 at 61.76. The next were -2.65% over 60 days, -2.59% in 1 day, -1.86% and -1.81%. No trade lost more than 3.67%, which is the benefit of a rule that exits as soon as the close falls under the line.
What the exits and re-entries cost in price
A filter that sells under the line and buys back above it pays the gap between the sale price and the repurchase price. IOO's trade list lets that gap be read directly.
The 495-day trade sold on 2025-03-11 at 95.69. The rule then bought at 96.25 on 2025-03-20 and sold the next day at 95.99, bought at 98.26 on 2025-03-25 and sold at 96.48 on 2025-03-27, and finally bought at 99.24 on 2025-05-13. The long position ended up re-established above its exit price, and the two failed attempts in between cost 0.27% and 1.81%. The same shape appears in 2026. The 314-day trade sold on 2026-03-23 at 120.99, the rule bought at 119.7 the next day and sold at 118.18 on 2026-03-27 for -1.27%, then bought for good at 121.08 on 2026-04-01.
The fund's best days mostly fell just before an entry. The +3.33% on 2025-05-12 came the day before the 2025-05-13 buy at 99.24. The +3.35% on 2026-03-31 came the day before the 2026-04-01 buy at 121.08, and April 2026 was the best month of the record at 10.74%. The +9.75% on 2025-04-09 and the +5.26% on 2022-11-10 both fell while the account was in cash. The rule made money from those rebounds only after the signal appeared, which is a feature of any rule that needs a close above the average.
On the loss side, the -4.25% of 2022-09-13, the -3.6% of 2022-05-18 and the -3.59% of 2022-05-05 all landed in the long cash stretch of 2022, which is why the 2022 return was shallower than the fund's.
Largest drawdowns
| Peak | Low point | Depth | Days to low | Recovered | Days to recover |
|---|---|---|---|---|---|
| 2022-01-04 | 2023-03-13 | −16.5% | 433 | 2023-07-18 | 127 |
| 2024-07-10 | 2024-08-05 | −11.0% | 26 | 2024-10-14 | 70 |
| 2025-02-20 | 2025-03-27 | −9.3% | 35 | 2025-07-21 | 116 |
Buy-and-hold's deepest drawdown ran from 2022-01-04 to 2022-09-30 and reached −23.0%.
Drawdowns
The deepest drawdown for the rule was 16.52%. It began at a peak on 2022-01-04, reached its trough on 2023-03-13 after 433 days and recovered on 2023-07-18 after another 127. The fund's own 2022 drawdown was 23.03%, from the same peak to a trough on 2022-09-30, recovered on 2023-07-13. The rule bottomed later than the fund, since its losses came from whipsaws in December 2022 and the first quarter of 2023, after the fund had already bottomed.
The second drawdown was 10.97%, from 2024-07-10 to a trough on 2024-08-05 after 26 days, recovered on 2024-10-14. Buy-and-hold had 10.99% over the same dates. The rule was fully invested through that dip, so the drawdowns are almost identical. The third was 9.28%, from 2025-02-20 to 2025-03-27, recovered on 2025-07-21 after 116 days. Buy-and-hold's drawdown over that period was larger at 18.84%, with the same peak and a trough on 2025-04-08. The rule exited on 2025-03-11 and spent April in cash.
The filter helped most in 2022 and in early 2025 and did nothing in 2024. It reduced the worst drawdown from 23.03% to 16.52% and it cost 5.52% a year. The shape of this trade-off depends on the window.
With trading costs
The headline run fills at the bar price. These runs charge slippage on every fill.
| Slippage per fill | CAGR | Max drawdown | Final value | Sharpe |
|---|---|---|---|---|
| None (headline) | 11.2% | −16.5% | $18,396 | 1.00 |
| 5 basis points | 10.9% | −17.2% | $18,089 | 0.97 |
| 10 basis points | 10.6% | −17.9% | $17,836 | 0.95 |
Costs
The rule made 31 fills, a small number that gives costs little room. At 5 basis points the CAGR was 10.88%, the max drawdown 17.22%, the end equity $18,089.45 and the Sharpe 0.975. At 10 basis points the CAGR was 10.6%, the max drawdown 17.94%, the end equity $17,836.21 and the Sharpe 0.952. The headline was 11.2%, 16.52% and $18,396.01.
The effect of costs is a few tenths of a point of CAGR. A rule that holds for months pays the cost rarely. The cost runs may understate the real cost here, because IOO is thinly traded. IOO trades $12,315,232 a day on average, with a median of 306 shares per minute. A $10,000 order is small against that volume, but spreads on a fund with so little minute volume can be wider than the cost runs assume.
Changing the parameters
| Version | CAGR | Max drawdown | Round trips | Win rate | Final value |
|---|---|---|---|---|---|
| Published rules | 11.2% | −16.5% | 15 | 33% | $18,396 |
| 100-day SMA | 10.8% | −18.2% | 23 | 30% | $18,011 |
| 150-day SMA | 11.4% | −13.8% | 14 | 36% | $18,609 |
| 250-day SMA | 10.8% | −13.3% | 7 | 14% | $17,999 |
Other window lengths
Three variants changed the length of the average.
A 100-day average gave 23 trades with 7 wins, a CAGR of 10.79%, a max drawdown of 18.16%, an end equity of $18,011.47 and a Sharpe of 0.973. A faster average made more trades and did slightly worse on both return and drawdown.
A 150-day average gave 14 trades with 5 wins, a CAGR of 11.42%, a max drawdown of 13.83%, an end equity of $18,608.53 and a Sharpe of 1.008. This was the best variant on every measure: a higher CAGR than the base 11.2%, a shallower drawdown than the base 16.52% and a higher Sharpe than the base 1.0.
A 250-day average gave 7 trades with 1 win, a CAGR of 10.78%, a max drawdown of 13.25% and a Sharpe of 0.967. It traded the least and had the shallowest drawdown of the variants, with a slightly lower CAGR.
The four settings, 100, 150, 200 and 250 days, all landed between 10.78% and 11.42% in CAGR. The result does not hinge on the 200-day choice. The drawdown moved more, from 13.25% to 18.16%, with the slower averages doing better. Three variants on one fund over one window are a small test, and the variation says little about how the window length would work in another period.
How IOO behaved
| Measure | IOO |
|---|---|
| Data in this test | 2021-01-04 to 2026-10-02 (1444 sessions) |
| Total return, buy and hold | 151.1% |
| Annualized volatility | 16.6% |
| Deepest drawdown | −23.5% (2022-01-04 to 2022-09-30) |
| Up days | 53.8% |
| Average daily range | 1.10% |
| Average overnight gap | 0.47% |
| Correlation to SPY | 0.96 |
| Correlation to QQQ | 0.93 |
| Correlation to TLT | 0.07 |
| Sessions above the 200-day average | 80.2% |
| Crossings of the 200-day average | 30 |
| Falls of 10% or more from a 20-day high | 10 |
How IOO behaved
IOO holds 100 of the largest multinational companies. Over the window the fund returned 151.07% for a 17.39% CAGR, with annualized volatility of 16.65%. IOO by calendar year: 27.15% in 2021, then -16.34% in 2022, 27.76% in 2023, 26.51% in 2024, 26.94% in 2025 and 15.04% in 2026 to date. The maximum drawdown was 23.49% from 2022-01-04 to 2022-09-30, recovered on 2023-07-13, and the longest drawdown lasted 380 sessions. Its beta to SPY was 0.98 with a correlation of 0.96.
A regime filter works when trends are long and the average line is crossed rarely. IOO closed above its 200-day average on 80.24% of sessions and crossed the line 30 times. That share of time above the line is why the rule was invested 69.1% of the time even with the warm-up period and the 2022 cash months.
The fund's average up day was 0.77% and the average down day was -0.76%, with an average intraday range of 1.1% and an average overnight gap of 0.47%. 58.05% of its log return came overnight. The rule trades at the open, so it enters after the overnight gap. RSI(14) fell below 30 on only 12 sessions and rose above 70 on 136, so the fund spent most of the window on the strong side.
The worst days were -5.77% on 2025-04-04, -4.78% on 2025-04-03, -4.25% on 2022-09-13, -3.6% on 2022-05-18 and -3.59% on 2022-05-05. The best day was +9.75% on 2025-04-09. The rule was out of the fund for the April 2025 swing, so it missed the best day and avoided the two worst days of the window. It had 10 drawdown events of 10% inside 20 days, covering 19 days.
IOO's RSI statistics and weekday pattern
IOO was rarely oversold. The 14-day RSI closed below 30 on 12 sessions, and the median forward return after those was 3.62% over 5 days and 6.32% over 20, against baselines of 0.45% and 1.78%. The 2-day RSI closed below 10 on 141 sessions, with a median 20-day return of 2.54%. The sample of 12 is small, and a trend filter does not trade those readings. Its entries came from price crossing a moving average, not from washouts, so the signals used here and the ones the data rewards are different.
Monday and Wednesday were the strongest weekdays on average, each at 0.12%, with Tuesday at 0.04%, Thursday at 0.03% and Friday at 0.05%. Lag-one autocorrelation was -0.03, which leaves no day-to-day persistence to speak of. Persistence in IOO showed up over months, which is the horizon the filter works on: the fund spent 80.24% of sessions above its 200-day line and it crossed that line 30 times in the window.
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 regime filter compares on IOO
The rule ranked 5th of 12 templates on IOO. The monthly cycle earned 15.8% with a 21.11% drawdown, the weekly 7% target earned 14.9% with 21.42%, the RSI(2) snapback earned 14.04% with 11.7%, and the golden cross earned 12.39% with 18.79%. The regime filter's 11.2% with 16.52% sits next.
Next in line were the EMA 12/26 trend at 10.9% with 15.84%, the trend plus trailing stop at 10.63%, the SMA 10/50 trend at 9.16%, the 3-month momentum at 8.43%, the dip buyer at 8.28%, the momentum breakout at 7.35% and the RSI mean reversion at 4.46%. The RSI(2) snapback and the dip buyer had the shallowest drawdowns, at 11.7% and 10.81%.
Among the broad index ETFs, IOO ranked third for this rule, behind QQQM at 13.02% and QQQ at 12.9%. VOOG earned 11.06%, VOO 8.41%, SPY 8.3%, VV 7.86%, EEM 7.76%, QQQE 5.65%, IWM 4.67%, VOOV 4.31% and VTV 4.26%. The template's median CAGR was 1.84% across all 59 funds and 8.3% across the broad index group. IOO's 15 round trips were in the same range as the other broad funds, with QQQ and QQQM at 10 and VOOV at 22.
The test stops at one window. A start date in 2021 means the first nine months produced no trades, and a different start would change the 2021 and 2022 figures. Buy-and-hold led on return in this window, and the filter's case rests on drawdown and on 2022.
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 IOO?
Over 2021-01-04 to 2026-10-02, 200-day regime filter on IOO returned 11.2% annualized vs 16.7% for buy-and-hold: it trailed buy-and-hold by 5.5% per year, with a maximum drawdown 6.5 points shallower than holding (16.5% vs 23.0%).
How many trades did it make?
15 completed round trips over 5.7 years (31 fills), with 33% 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.
How did the 200-day regime filter do on IOO?
It turned $10,000 into $18,396 from 2021-01-04 to 2026-10-02, an 11.2% CAGR with a 16.52% max drawdown. Buy-and-hold IOO made 16.72% a year with a 23.03% drawdown. The figures are hypothetical and have no fees or slippage.
Why is the win rate only 33%?
The filter takes many small losses when price dips under the average, then holds a few trades for a long time. 5 of 15 trades won, but the average win was 13.82% and the average loss was 1.73%, so the profit factor was 4.07.
Why were there no trades in early 2021?
The first entry came on 2021-10-19. The average needs 200 sessions of history, which is consistent with no signal in the first months, and the month table shows 0.0% through September 2021.
Did a different average length work better?
A 150-day average earned 11.42% with a 13.83% drawdown, slightly better than the 11.2% and 16.52% of the 200-day. The 100-day earned 10.79% and the 250-day earned 10.78%.
What happens with trading costs?
At 5 basis points the CAGR was 10.88% and at 10 basis points it was 10.6%, against 11.2% with none. The rule made 31 fills.
Did the filter protect against the 2022 decline?
Partly. The rule returned -13.6% in 2022 against -16.0% for the fund, and its worst drawdown was 16.52% against 23.03%. It was the only year it beat buy-and-hold by return, and its losses came from short whipsaw trades.
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.