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

200-Day SMA Regime Filter on UDN

Invesco DB US Dollar Index Bearish Fund: profits when the US dollar weakens against major currencies. 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 UDN turned $10,000 into $10,745 (7.5% total, 1.3% CAGR): it beat buy-and-hold by 2.4% per year, with a maximum drawdown 17.4 points shallower than holding (5.4% vs 22.7%).
1.3%CAGR
−1.1%buy & hold CAGR
−5.4%max drawdown
0.30Sharpe ratio
20round trips
50%win rate
■ 200-day regime filter   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

Year200-day regime filterbuy & hold
20210.0%−6.9%
20221.2%−7.8%
20233.9%4.6%
2024−3.2%−4.3%
20257.5%12.1%
2026−1.8%−2.3%

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%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%1.2%
20231.5%−2.5%2.5%1.1%−2.2%1.4%1.3%−1.5%−0.8%0.0%0.9%2.2%
2024−1.8%−0.6%−0.1%−1.2%0.1%−0.4%1.7%2.4%1.0%−2.9%−1.4%0.0%
20250.0%0.0%0.5%4.5%0.4%2.6%−3.1%2.5%0.2%−2.0%0.6%1.3%
20261.2%−0.4%−2.2%0.8%−0.4%−0.5%0.0%0.3%−0.6%0.0%––

Every trade

200-day regime filter on UDN made 20 closed round trips, an average hold of 52 days, an average winner of 1.25%, an average loser of −0.48%, a profit factor of 2.50, a longest losing streak of 2. It held a position at the close on 49.7% of trading days.

EntryEntry priceExitExit priceReturnDays held
2022-12-02$15.972022-12-06$15.94−0.2%4
2022-12-08$15.982023-09-05$16.322.1%271
2023-11-15$16.432024-02-14$16.480.3%91
2024-02-15$16.532024-04-02$16.540.1%47
2024-04-04$16.662024-04-11$16.51−0.9%7
2024-05-06$16.582024-05-08$16.46−0.7%2
2024-05-10$16.512024-06-24$16.550.2%45
2024-06-25$16.532024-06-27$16.560.2%2
2024-07-03$16.572024-11-07$16.851.7%127
2024-11-08$16.832024-11-11$16.68−0.9%3
2025-03-05$16.952026-03-04$18.187.3%364
2026-03-05$18.132026-03-06$18.10−0.2%1
2026-03-10$18.242026-03-12$18.07−0.9%2
2026-04-09$18.212026-05-18$18.220.1%39
2026-05-19$18.152026-05-20$18.14−0.1%1
2026-05-21$18.132026-05-22$18.180.3%1
2026-05-29$18.232026-06-03$18.15−0.4%5
2026-08-06$18.152026-08-07$18.200.3%1
2026-08-10$18.172026-08-13$18.14−0.2%3
2026-08-17$18.212026-09-17$18.13−0.4%31

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
2023-07-132024-06-26−5.4%3492024-08-2762
2024-09-272024-11-11−4.6%452025-04-14154
2026-01-272026-09-16−4.4%232not yet–

Buy-and-hold's deepest drawdown ran from 2021-01-06 to 2022-09-27 and reached −22.7%.

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)1.3%−5.4%$10,7450.30
5 basis points0.9%−5.9%$10,5380.22
10 basis points0.6%−6.5%$10,3330.15

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules1.3%−5.4%2050%$10,745
100-day SMA1.6%−4.5%2540%$10,967
150-day SMA0.8%−6.0%2825%$10,460
250-day SMA0.6%−7.0%2241%$10,375

How UDN behaved

MeasureUDN
Data in this test2021-01-04 to 2026-10-02 (1444 sessions)
Total return, buy and hold−6.0%
Annualized volatility7.1%
Deepest drawdown−23.2% (2021-01-06 to 2022-09-27)
Up days44.8%
Average daily range0.40%
Average overnight gap0.25%
Correlation to SPY0.28
Correlation to QQQ0.24
Correlation to TLT0.23
Sessions above the 200-day average57.6%
Crossings of the 200-day average40
Falls of 10% or more from a 20-day high0

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

Over 2021-01-04 to 2026-10-02, 200-day regime filter on UDN returned 1.3% annualized vs −1.1% for buy-and-hold: it beat buy-and-hold by 2.4% per year, with a maximum drawdown 17.4 points shallower than holding (5.4% vs 22.7%).

How many trades did it make?

20 completed round trips over 5.7 years (40 fills), with 50% 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 UDN12 templates compared RSI(14) Mean Reversion on UDNsame ETF, different rulesRSI(2) Dip Snapback on UDNsame 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.