200-Day SMA Regime Filter on ALTY
Global X Alternative Income ETF: a multi-asset income basket: MLPs, REITs, preferreds and more. Backtest 2021-01-04 to 2026-10-02, $10,000 starting capital, computed by the same engine that runs live DeployQuant strategies.
Over 15 round trips the 200-day regime filter traded ALTY, the Global X Alternative Income ETF, from 2021-01-04 to 2026-10-02. A start of $10,000 finished at $11,101.35. That is a CAGR of 1.84%, a total return of 11.01%, a maximum drawdown of 12.09% and a Sharpe ratio of 0.31. Buy-and-hold on ALTY returned 7.61% a year, ended at $15,236.42, had an 18.25% worst drawdown and a Sharpe of 0.79.
ALTY holds a mix of MLPs, REITs, preferreds and other income assets in one fund. The rule is a single test: each day it compares the prior close with the 200-day average, enters at the next open when the close is higher, and exits everything at the open when the close is lower. It was invested 64.9% of the time. The rule gave up 5.77 points of CAGR against holding the fund and had a drawdown 6.16 points shallower.
The win rate is the unusual number. Only 3 of 15 trades won, 20%. The average win was 8.21% and the average loss was -1.04%, so the profit factor was 1.94 and the rule made money overall. The longest losing streak was 7 trades. A rule that loses most of its trades and still ends positive is relying on a few long holds, and here there were two: a 509-day trade that returned 9.11% and a 486-day trade that returned 14.46%.
Against holding the fund, the rule came out ahead in 2022 and 2026 only, and trailed in the other four calendar years. Among the 12 strategies tested on ALTY it sits eighth by CAGR, while ALTY itself comes 30th out of 59 funds under this rule. Across all 59 funds the median CAGR for the rule was 1.84%, which is ALTY's own result, and the median across the six alternative-strategy funds was also 1.84%.
These are hypothetical results from a single 5.74 year window. The headline run charges no fees or slippage, and prices are adjusted for splits and dividends.
Year by year
| Year | 200-day regime filter | buy & hold |
|---|---|---|
| 2021 | 0.5% | 23.9% |
| 2022 | −6.0% | −11.4% |
| 2023 | −0.4% | 10.7% |
| 2024 | 10.0% | 10.1% |
| 2025 | 2.4% | 11.1% |
| 2026 | 4.6% | 3.9% |
Year by year: a late start, a good 2022, and a missed rebound
The yearly returns were 0.5% in 2021, -6.0% in 2022, -0.4% in 2023, 10.0% in 2024, 2.4% in 2025 and 4.6% in 2026 to date. Holding the fund gave 23.9%, -11.4%, 10.7%, 10.1%, 11.1% and 3.9% over the same years. The year gaps ran -23.4, 5.4, -11.1, -0.1, -8.7 and 0.7 points.
2021 is the largest gap, and the cause is the rule's start. The 200-day average cannot exist until roughly 200 sessions have passed, and the first entry came on 2021-10-19, close to 200 sessions after the window began. The monthly table is zero from January to September. ALTY returned 23.9% in the calendar year, and the rule's first trade started with only the last quarter left. That trade was a loser, 97 days long and -3.21%, the worst of the window.
2022 is the year the rule is built for. Buy-and-hold lost 11.4%. The rule lost 6.0% and beat it by 5.4 points. It was in the fund in January and exited on 2022-01-24 at 9.087, after the -3.62% January. It then made three short entries, on 2022-02-02, 2022-03-30 and 2022-08-15, losing between 0.38% and 1.15%, and sat out the rest of the year. The monthly table shows zeros from September to December 2022. The fund's worst month of the window, September 2022 at -9.17% for buy-and-hold, shows as 0 for the rule.
2023 lost 0.4% against a gain of 10.7%. The fund ranged around its 200-day line, and the rule made 8 round trips that year and won one. The monthly table alternates, with +3.93% in January, -2.34% in February, +1.41% in April, -2.83% in May, +2.65% in June and +2.51% in July, then -4.20% in August. The first seven trades all lost, which is the longest losing streak, and it runs from the 2021-10-19 entry to the 2023-05-26 exit.
2024 returned 10.0% against 10.1% for buy-and-hold, nearly even. The rule was holding the 509-day trade that began on 2023-11-15 at 8.822, so it captured the 2024 run in full. 2025 returned 2.4% against 11.1%. The rule exited on 2025-04-07 at 9.626 after the loss of April, re-entered on 2025-04-25 at 10.26, higher than the exit, and left on 2025-05-23 for -0.78%. It re-entered again on 2025-05-27 at 10.37 and held until 2026-09-25 at 11.87 for 14.46%. The fund's best day, +4.72% on 2025-04-09, came two days after the exit. 2026 gave 4.6% against 3.9%, a small lead in a partial year.
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.3% | −2.8% | 3.1% |
| 2022 | −3.6% | −0.4% | −0.1% | −1.0% | 0.0% | 0.0% | 0.0% | −0.9% | 0.0% | 0.0% | 0.0% | 0.0% |
| 2023 | 3.9% | −2.3% | −1.7% | 1.4% | −2.8% | 2.6% | 2.5% | −4.2% | −1.4% | 0.0% | −2.1% | 4.1% |
| 2024 | −0.1% | 0.2% | 2.7% | −2.7% | 2.1% | 0.8% | 3.2% | 2.1% | 2.1% | −0.9% | 3.0% | −2.7% |
| 2025 | 2.6% | 1.7% | −1.6% | −8.2% | −0.7% | 2.3% | 1.0% | 1.3% | 1.4% | 1.1% | 1.8% | 0.3% |
| 2026 | 2.8% | 2.5% | −3.5% | 4.3% | 0.1% | 1.1% | 0.0% | 0.4% | −2.9% | 0.0% | – | – |
The months that decided the year
April 2025 was the worst month at -8.19%. It is also the month the rule exited, and the exit on 2025-04-07 came two days before the fund's best day. The fund's worst day in the data, -4.29% on 2025-04-04, and another -2.93% on 2025-04-10 also sit in this stretch, along with the +4.72% on 2025-04-09. The rule absorbed most of the decline, then missed the first part of the recovery.
The best month was 2026-04 at 4.34%, followed by 2023-12 at 4.13%, 2023-01 at 3.93%, 2024-07 at 3.18% and 2021-12 at 3.11%. The rule's cash months show as zero, and they are mostly in 2021 and 2022. A month with 0 does not mean the fund was flat. It means the rule held no position, and in 2022 that spared the account several bad months.
The fund's own calendar shows seasonality: November averaged 2.86%, July 2.39%, January 1.94% and September -2.43%. Each month has five or six observations. The rule's September record is mixed: 0 in 2021, 0 in 2022, -1.40% in 2023, 2.15% in 2024, 1.36% in 2025 and -2.89% in 2026.
Every month from 2025-06 to 2026-02 was positive while the 486-day trade was open, and 2026-03 fell -3.53%. March 2026 is part of the rule's third drawdown, 4.43% from 2026-03-02 to 2026-03-30.
Every trade
200-day regime filter on ALTY made 15 closed round trips, an average hold of 91 days, an average winner of 8.21%, an average loser of −1.04%, a profit factor of 1.94, a longest losing streak of 7. It held a position at the close on 64.9% of trading days.
| Entry | Entry price | Exit | Exit price | Return | Days held |
|---|---|---|---|---|---|
| 2021-10-19 | $9.39 | 2022-01-24 | $9.09 | −3.2% | 97 |
| 2022-02-02 | $9.32 | 2022-02-03 | $9.28 | −0.4% | 1 |
| 2022-03-30 | $9.30 | 2022-04-07 | $9.19 | −1.1% | 8 |
| 2022-08-15 | $9.07 | 2022-08-18 | $8.98 | −1.0% | 3 |
| 2023-01-10 | $8.57 | 2023-03-13 | $8.48 | −1.1% | 62 |
| 2023-03-16 | $8.49 | 2023-03-20 | $8.42 | −0.8% | 4 |
| 2023-03-29 | $8.53 | 2023-05-26 | $8.51 | −0.2% | 58 |
| 2023-05-30 | $8.52 | 2023-08-18 | $8.61 | 1.1% | 80 |
| 2023-08-24 | $8.65 | 2023-08-25 | $8.63 | −0.2% | 1 |
| 2023-08-29 | $8.74 | 2023-09-07 | $8.68 | −0.7% | 9 |
| 2023-09-08 | $8.68 | 2023-09-22 | $8.64 | −0.5% | 14 |
| 2023-11-06 | $8.76 | 2023-11-07 | $8.53 | −2.6% | 1 |
| 2023-11-15 | $8.82 | 2025-04-07 | $9.63 | 9.1% | 509 |
| 2025-04-25 | $10.26 | 2025-05-23 | $10.18 | −0.8% | 28 |
| 2025-05-27 | $10.37 | 2026-09-25 | $11.87 | 14.5% | 486 |
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.
Fifteen trades, two of them long
The two long trades produced the profit. The entry on 2023-11-15 at an adjusted price of 8.822 closed on 2025-04-07 at 9.626 for 9.11% after 509 days, the longest hold. The entry on 2025-05-27 at 10.37 closed on 2026-09-25 at 11.87 for 14.46% after 486 days, the best trade. The next best trade was 1.06% from 2023-05-30 to 2023-08-18.
The other 13 trades were small. The median trade returned -0.74% and the median hold was 14 days. The worst was the first trade, -3.21%. Next came -2.65% on 2023-11-06, a 1-day trade, then -1.15% in March 2022 and -1.07% in January 2023. Several trades lasted one to four days: 2022-02-02, 2022-08-15, 2023-03-16, 2023-08-24 and 2023-11-06. Each is a signal that crossed the line and reversed.
Nothing in the rule stops a whipsaw. Price must close above the 200-day average to enter and below it to exit, and a fund hovering around the line produces a sequence of buys and sells. The caveats on the strategy page describe this: price whips around the 200-day line during volatile bottoms and generates clusters of buy-sell pairs. 2023 shows it. Of the 15 trades, 8 closed in 2023 and 1 won.
The win rate of 20% is the extreme end of what the rule produced, and the profit factor of 1.94 shows how the two long trades carry the whole result. The average win of 8.21% is large because it contains the two long trades, and the average loss of -1.04% is small because the whipsaws end quickly. Take both long trades away and the remaining 13 trades lose money.
The count by year is 4 round trips closed in 2022 with no wins, 8 in 2023 with 1 win, 2 in 2025 with 1 win and 1 in 2026 with 1 win. None closed in 2021 or 2024, since the rule was in the 509-day trade through all of 2024. The 15 round trips come from 30 fills.
Largest drawdowns
| Peak | Low point | Depth | Days to low | Recovered | Days to recover |
|---|---|---|---|---|---|
| 2022-01-04 | 2023-11-16 | −12.1% | 681 | 2024-08-21 | 279 |
| 2025-02-20 | 2025-05-28 | −10.6% | 97 | 2026-01-14 | 231 |
| 2026-03-02 | 2026-03-30 | −4.4% | 28 | 2026-04-17 | 18 |
Buy-and-hold's deepest drawdown ran from 2022-01-04 to 2022-10-14 and reached −18.3%.
Drawdowns: shallower than the fund, and still two years long
The rule's maximum drawdown was 12.09%, from a peak on 2022-01-04 to a trough on 2023-11-16, 681 days later. Recovery came on 2024-08-21. The peak date is the same as the fund's, 2022-01-04, and the rule's trough sits more than a year after the fund's own low on 2022-10-14. The rule avoided the fund's autumn 2022 slide and then absorbed a string of small losses through 2023, which kept the account below its early-2022 high until August 2024.
The second drawdown was 10.57%, from 2025-02-20 to 2025-05-28, recovered on 2026-01-14. It contains the April 2025 loss and the trade the rule made around the April low. The third was 4.43%, from 2026-03-02 to 2026-03-30, recovered on 2026-04-17.
Buy-and-hold had an 18.25% drawdown from 2022-01-04 to 2022-10-14, with recovery on 2024-03-28, 531 days after the trough. Its second was 9.82% from 2025-02-20 to 2025-04-08, recovering on 2025-07-24, and its third was 4.63% from 2026-08-27 to 2026-10-01, still open at the end of the window. The second and third drawdowns are close to the rule's: 10.57% against 9.82%, and 4.43% against 4.63%.
The 6.16 points of drawdown reduction therefore came from 2022. In the 2025 sell-off the rule fell slightly further than the fund, with 10.57% against 9.82%, because it sold near the low and then bought back at a higher price. A filter that exits after a drop and re-enters after a rise can lose on a fast reversal.
The fund's own price series fell 18.56% with 559 sessions under water, and it closed above its 200-day average on 75.26% of sessions, crossing it 29 times. Only one 10% fall from a 20-day high appeared in the window, lasting 2 days.
With trading costs
The headline run fills at the bar price. These runs charge slippage on every fill.
| Slippage per fill | CAGR | Max drawdown | Final value | Sharpe |
|---|---|---|---|---|
| None (headline) | 1.8% | −12.1% | $11,101 | 0.31 |
| 5 basis points | 1.6% | −13.1% | $10,940 | 0.27 |
| 10 basis points | 1.3% | −14.2% | $10,781 | 0.23 |
Costs on a 30-fill rule
The headline run returned 1.84% a year. Adding 5 basis points per fill gave 1.58%, an ending equity of $10,940.25, a 13.13% drawdown and a Sharpe of 0.273. Adding 10 basis points gave 1.32%, $10,781.11, a 14.15% drawdown and a Sharpe of 0.233.
The rule makes 30 fills, so costs have a modest effect. The result stays positive at 10 basis points and the ending equity is still above the $10,000 start. The fund is thinly traded, though. Its average daily dollar volume was $162,542 and its median minute volume was 287 shares. A fund that thin may have wider spreads on some days, and the cost runs do not model that. The short whipsaw trades, such as the 1-day trade of 2023-11-06 that lost 2.65%, are the ones most exposed to a wide spread.
The ending equity at 10 basis points of $10,781.11 compares with $15,236.42 for buy-and-hold, which makes one purchase and bears almost no cost.
Changing the parameters
| Version | CAGR | Max drawdown | Round trips | Win rate | Final value |
|---|---|---|---|---|---|
| Published rules | 1.8% | −12.1% | 15 | 20% | $11,101 |
| 100-day SMA | 1.5% | −15.8% | 39 | 36% | $10,901 |
| 150-day SMA | 1.4% | −19.1% | 27 | 15% | $10,809 |
| 250-day SMA | 1.6% | −13.0% | 12 | 25% | $10,957 |
Other SMA windows
Three variants change the length of the average. A 100-day average returned 1.51% a year with a 15.75% drawdown and a Sharpe of 0.263, over 39 trades and 14 wins. A 150-day average returned 1.36% with a 19.05% drawdown, over 27 trades and 4 wins. A 250-day average returned 1.61% with a 13.02% drawdown and a Sharpe of 0.279, over 12 trades and 3 wins.
The default 200-day average returned 1.84% with a 12.09% drawdown. It was better than all three on both return and drawdown. The three neighbours returned between 1.36% and 1.61%, so the default sits at the top of a flat range. The result is not sensitive to the window in any dramatic way, and none of them came near buy-and-hold's 7.61%.
The trade counts show the speed effect. The 100-day average made 39 trades, more than twice the default's 15, because it sits closer to price and gets crossed more often. The 250-day made 12. Faster averages brought more whipsaws and a deeper drawdown. The 150-day variant was the worst on drawdown, with 19.05%, above buy-and-hold's 18.25%, and won only 4 of its 27 trades.
The pattern is the usual one for a trend filter on a choppy fund. A longer window reduces the trade count, and here it also reduced the drawdown. The differences in CAGR are small enough that they could change with a different window of dates, and the default's lead should not be read as a finding about the number 200.
How ALTY behaved
| Measure | ALTY |
|---|---|
| Data in this test | 2021-01-04 to 2026-10-02 (1444 sessions) |
| Total return, buy and hold | 55.4% |
| Annualized volatility | 10.4% |
| Deepest drawdown | −18.6% (2022-01-04 to 2022-10-14) |
| Up days | 52.1% |
| Average daily range | 0.81% |
| Average overnight gap | 0.41% |
| Correlation to SPY | 0.75 |
| Correlation to QQQ | 0.65 |
| Correlation to TLT | 0.23 |
| Sessions above the 200-day average | 75.3% |
| Crossings of the 200-day average | 29 |
| Falls of 10% or more from a 20-day high | 1 |
Why ALTY gave a trend filter a hard time
ALTY returned 55.44% in total as a price series over the window, a CAGR of 7.99%, with annualized volatility of 10.41%. It gained 23.9% in 2021 and lost 11.4% in 2022, then gained about 10% a year from 2023 through 2025. The fund's beta to SPY was 0.48 and its correlation 0.75. It behaves like a diluted equity fund.
The days are small: an average up day of 0.48% and an average down day of -0.51%, with 52.11% of days up. A fund this quiet crosses its 200-day line often when it is not trending. The rule traded 8 times in 2023, which points to price staying close to its 200-day line.
Mean reversion had more to work with here than trend. After RSI(14) fell below 30, on 40 sessions, the median five-day return was 1.09% against a baseline of 0.19%, and the 20-day median was 2.04% against 0.99%. After RSI(2) fell below 10, on 130 sessions, the five-day median was 0.26% against 0.19%. The RSI mean reversion rule returned 2.12% on this fund and the RSI(2) snapback returned 3.33%, both above the filter's 1.84%.
Among the alternative-strategy funds, the same filter returned 20.38% on CLSE with an 8.70% drawdown, 4.26% on QAI with 6.02%, 0.24% on KMLM with 28.57%, -2.11% on RINF with 21.43% and -3.02% on CTA with 22.76%. ALTY sat third of the six. RINF made 37 round trips and CTA 25, against ALTY's 15, so those two were churned harder by the same rule.
An income basket is built to pay distributions, and the fund's price series shows a pattern consistent with that: overnight moves account for more than all of its return and the trading day subtracted from it. A rule that trades at the open sees both parts, so the split does not change the results here.
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 other rules did on ALTY
The rule tests which side of the 200-day average the previous close was on, using 98% of the sleeve when it buys. It has no buffer band, so a fund that closes on one side one day and the other the next produces a trade each time.
On ALTY the other strategies spread widely. The weekly 7% target returned 8.42% with an 18.91% drawdown and the monthly cycle returned 7.24% with 18.47%, the two best. The monthly cycle is in the fund most of the time. The 3-month momentum rule returned 4.52% with an 8.30% drawdown. The EMA 12/26 trend returned 4.27% with 14.38%, and the SMA 10/50 trend 2.91% with 15.02%.
The golden cross returned 1.63% with a 13.09% drawdown, close to the 200-day filter's 1.84% with 12.09%. The dip buyer returned 1.33% with a 4.66% drawdown. The trend plus trailing stop returned 0.12% with the deepest drawdown of the list at 30.04%, and the momentum breakout shows 0%.
The filter is about eighth in CAGR and fifth-shallowest in drawdown among the 12, which is a middle result on both. The 200-day filter did what it is supposed to do in 2022 and cost return in most years when the fund rose. Buy-and-hold ended $4,135.07 ahead of it.
The limits are specific. One window, in which the first 200 sessions could not produce a signal. A fund with thin trading, which the cost runs do not capture. A trade list in which two holds supply the profit. The 200-day regime filter page shows the same rule on all 59 funds, and the ALTY page shows all 12 strategies on this fund.
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 ALTY?
Over 2021-01-04 to 2026-10-02, 200-day regime filter on ALTY returned 1.8% annualized vs 7.6% for buy-and-hold: it trailed buy-and-hold by 5.8% per year, with a maximum drawdown 6.2 points shallower than holding (12.1% vs 18.3%).
How many trades did it make?
15 completed round trips over 5.7 years (30 fills), with 20% 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 ALTY?
It returned 1.84% a year from 2021-01-04 to 2026-10-02, turning $10,000 into $11,101.35, with a 12.09% maximum drawdown and a Sharpe of 0.31. Buy-and-hold on ALTY returned 7.61%, ended at $15,236.42 and fell 18.25%.
How can a rule that wins 20% of its trades make money?
The average win was 8.21% and the average loss was -1.04%, a profit factor of 1.94. Two long trades, 9.11% over 509 days and 14.46% over 486 days, supplied the profit, while most other trades lost small amounts.
Why did the rule lose so much ground in 2021?
It returned 0.5% against 23.9% for buy-and-hold. The 200-day average needs about 200 sessions of history, and the first entry came on 2021-10-19, so the rule was in cash for most of the year.
Did the rule protect the account in 2022?
Partly. It lost 6.0% against 11.4% for buy-and-hold, and held cash from September to December. Its largest drawdown, 12.09%, still ran from 2022-01-04 to 2023-11-16 because of small losses in 2023.
What happened in 2023?
The fund hovered around its 200-day average and the rule made 8 round trips, winning 1. It returned -0.4% against 10.7% for buy-and-hold. This cluster produced the longest losing streak of 7 trades.
Does a different SMA length help?
No. The 100-day, 150-day and 250-day variants returned 1.51%, 1.36% and 1.61%, all below the 200-day default's 1.84%. The 150-day variant had a 19.05% drawdown.
How much do costs matter?
Little. At 5 basis points the CAGR was 1.58% and at 10 basis points it was 1.32%, against 1.84% with no costs. The rule made 30 fills. The fund trades thinly, with an average daily dollar volume of $162,542.
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.