Learn › Strategies › 200-Day SMA Regime Filter › TMF

200-Day SMA Regime Filter on TMF

Direxion Daily 20+ Year Treasury Bull 3X Shares: 3x daily leveraged long-term Treasuries, a leveraged rate bet. Backtest 2021-01-04 to 2026-10-02, $10,000 starting capital, computed by the same engine that runs live DeployQuant strategies.

Result: 200-day regime filter on TMF turned $10,000 into $5,290 (−47.1% total, −10.5% CAGR): it beat buy-and-hold by 20.7% per year, with a maximum drawdown 35.3 points shallower than holding (53.2% vs 88.5%).
−10.5%CAGR
−31.2%buy & hold CAGR
−53.2%max drawdown
-0.70Sharpe ratio
17round trips
0%win rate
■ 200-day regime filter   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

Year200-day regime filterbuy & hold
20210.0%−18.8%
2022−8.8%−69.7%
2023−6.5%−9.9%
2024−26.5%−30.7%
2025−4.0%−2.3%
2026−12.2%−23.1%

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%−0.1%7.2%−6.6%
2022−8.8%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%
20230.0%0.0%0.0%−1.8%0.0%0.0%0.0%0.0%0.0%0.0%0.0%−4.7%
2024−2.1%−5.1%0.0%0.0%0.0%−14.8%−4.5%4.6%4.5%−10.9%0.0%0.0%
20250.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%−0.8%3.0%−0.2%−5.7%
2026−8.5%8.7%−11.7%0.0%0.0%0.0%0.0%0.0%0.0%0.0%––

Every trade

200-day regime filter on TMF made 17 closed round trips, an average hold of 18 days, an average loser of −3.74%, a longest losing streak of 17. It held a position at the close on 14.1% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-10-19$225.532021-10-20$219.80−2.5%1
2021-10-27$234.412022-01-04$218.62−6.7%69
2023-04-10$80.652023-04-11$79.14−1.9%1
2023-12-21$60.102023-12-22$59.31−1.3%1
2023-12-28$60.492024-01-02$57.07−5.7%5
2024-02-02$53.272024-02-05$50.48−5.2%3
2024-06-06$46.742024-06-10$43.77−6.3%4
2024-06-14$48.762024-06-27$47.08−3.5%13
2024-06-28$47.362024-07-01$42.82−9.6%3
2024-07-12$47.102024-07-16$47.04−0.1%4
2024-07-17$47.542024-07-22$46.68−1.8%5
2024-07-31$48.242024-10-08$47.81−0.9%69
2024-10-17$47.482024-10-18$47.03−0.9%1
2025-09-09$38.962025-12-08$37.37−4.1%90
2026-01-15$37.932026-01-20$35.38−6.7%5
2026-01-27$37.122026-01-28$36.35−2.1%1
2026-02-11$37.282026-03-12$35.73−4.2%29

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.

Largest drawdowns

PeakLow pointDepthDays to lowRecoveredDays to recover
2021-12-032026-03-12−53.2%1560not yet–
2021-11-092021-11-23−12.0%142021-11-307
2021-10-182021-11-03−4.0%162021-11-052

Buy-and-hold's deepest drawdown ran from 2021-01-04 to 2026-10-02 and reached −88.5%.

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)−10.5%−53.2%$5,290-0.70
5 basis points−10.8%−53.9%$5,201-0.72
10 basis points−11.0%−54.7%$5,108-0.74

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules−10.5%−53.2%170%$5,290
100-day SMA−18.9%−75.7%3714%$3,001
150-day SMA−22.6%−78.5%388%$2,304
250-day SMA−6.3%−36.0%1323%$6,880

How TMF behaved

MeasureTMF
Data in this test2021-01-04 to 2026-10-02 (1444 sessions)
Total return, buy and hold−91.4%
Annualized volatility45.7%
Deepest drawdown−91.4% (2021-01-04 to 2026-10-02)
Up days48.5%
Average daily range2.81%
Average overnight gap1.63%
Correlation to SPY0.08
Correlation to QQQ0.09
Correlation to TLT1.00
Sessions above the 200-day average16.4%
Crossings of the 200-day average33
Falls of 10% or more from a 20-day high62

The rules

Own the asset when price closes above its 200-day average; hold cash when it closes below.

  1. WHEN the market opens · IF not invested AND yesterday's close > SMA(200) · THEN buy with 98% of the sleeve
  2. 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.

Run 200-day regime filter on TMF 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 200-day regime filter beat buy-and-hold on TMF?

Over 2021-01-04 to 2026-10-02, 200-day regime filter on TMF returned −10.5% annualized vs −31.2% for buy-and-hold: it beat buy-and-hold by 20.7% per year, with a maximum drawdown 35.3 points shallower than holding (53.2% vs 88.5%).

How many trades did it make?

17 completed round trips over 5.7 years (34 fills), with 0% 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.

Related

200-Day SMA Regime Filter on all 59 ETFsfull results table All strategies on TMF12 templates compared RSI(14) Mean Reversion on TMFsame ETF, different rulesRSI(2) Dip Snapback on TMFsame 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.