3-Month Momentum Switch 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.
The Invesco DB US Dollar Index Bearish Fund is UDN. Run through the 3-month momentum switch, $10,000 became $9,730.98, a CAGR of -0.47%. A plain holding of the fund finished at $9,375.49, a CAGR of -1.12%. Both lost money, and the rule lost less, with a worst drawdown of 9.66% against 22.74%.
The fund rises when the US dollar weakens against major currencies. The rule enters when the trailing 63 sessions have gained more than 5%, and leaves once they show a loss. From 2021-01-04 to 2026-10-02 the entry gate opened just 4 times. UDN was held on 16.3% of days. Two of the 4 round trips won, and the profit factor came to 0.46 since the average loser, -2.59%, outweighed the average winner, 1.24%.
Among the 12 templates on UDN this one stands 10th, and UDN is 32nd of 59 funds for this rule. The median CAGR over all 59 funds is 0%, and over the 3 currency funds 0.49%. FXE made 0.98% and USDU 0.49% with the same rule. The table on the 3-month momentum strategy page covers every fund.
Headline figures carry no fees or slippage. Four trades in one 5.74-year window describe how this rule met this fund and say little about either in general.
Year by year
| Year | 3-month momentum | buy & hold |
|---|---|---|
| 2021 | 0.0% | −6.9% |
| 2022 | 1.5% | −7.8% |
| 2023 | −1.4% | 4.6% |
| 2024 | −4.9% | −4.3% |
| 2025 | 2.4% | 12.1% |
| 2026 | 0.0% | −2.3% |
A flat fund and a rule that was mostly in cash
Year by year the rule made 0%, 1.5%, -1.4%, -4.9%, 2.4% and 0%, from 2021 to 2026. The fund held on its own gave -6.9%, -7.8%, 4.6%, -4.3%, 12.1% and -2.3%. Margins in the rule's favour were 6.9 points in 2021, 9.3 in 2022 and 2.3 in 2026, while it trailed by 6 points in 2023, 0.6 in 2024 and 9.7 in 2025. The 2026 data stops on 2026-10-02.
A momentum filter earns its keep in the first two years, while the fund was falling. UDN lost 7.07% in 2021 and 7.95% in 2022, and the 63-day return never rose above 5% until late in 2022. The rule bought on 2022-12-02 at an adjusted $15.97, and December returned 1.47%. The 6.9 and 9.3 point leads come almost entirely from losses avoided. The rule itself earned just 1.5% in 2022.
In 2023 the position from December carried into January, which made 1.51%, then lost 2.5% in February and 0.37% in March before the exit on 2023-03-08 at $15.98. The trade made 0.06%, which the table counts as a win. Holding made 4.6% in 2023, with most of the gain after the rule had left.
The rule's weakest year was 2024. Its 2023-12-26 entry at $16.98 carried into the new year: January lost 1.79%, February 0.29% and March 0.06%, with the exit on 2024-03-01 at $16.6 for a loss of 2.24%. A second entry on 2024-08-26 at $17.39 ended on 2024-10-30 at $16.88 for a loss of 2.93%, with October returning -3.25%, the worst month of the run. The year closed at -4.9%, a little behind holding at -4.3%.
In 2025 the rule entered on 2025-04-04 at $17.38, one trading day after the fund's 1.7% jump on 2025-04-03, and exited on 2025-07-31 at $17.8 for a gain of 2.42%. April made 2.48%, May 0.39%, June 2.63% and July lost 3.04%. UDN rose 12.1% in 2025 and the rule caught only a slice of that, because the entry came after the early move. The account sat out 2026 and returned 0%, while the fund lost 2.3%.
Over six years the rule sidestepped declines and joined rallies late. The 200-day regime filter and the trend plus trailing stop handled this fund better, as the ranking further down shows.
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.0% | 0.0% | 0.0% |
| 2022 | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 1.5% |
| 2023 | 1.5% | −2.5% | −0.4% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | −0.1% |
| 2024 | −1.8% | −0.3% | −0.1% | 0.0% | 0.0% | 0.0% | 0.0% | −0.6% | 1.0% | −3.3% | 0.0% | 0.0% |
| 2025 | 0.0% | 0.0% | 0.0% | 2.5% | 0.4% | 2.6% | −3.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
| 2026 | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | – | – |
Fifteen months with a position
The non-zero months group into four clusters: December 2022 to March 2023, December 2023 to March 2024, August to October 2024, and April to July 2025. All other months read 0% because the account sat in cash.
June 2025 at 2.63% led the rule's months, with April 2025 at 2.48%, January 2023 at 1.51%, December 2022 at 1.47% and September 2024 at 1.02% behind it. October 2024 at -3.25% was the low, then July 2025 at -3.04%, February 2023 at -2.5%, January 2024 at -1.79% and August 2024 at -0.62%. For holding, the extremes were November 2022 at 5.38% and April 2022 at -4.68%, and the account held cash through both.
Two of the largest losing months, July 2025 and October 2024, came as the exit signal arrived. A 63-day lookback is slow, so the rule needs a full three months of negative return before it sells, and the month in which the fund turns lower is also the month the rule loses. The template's caveat says the same: a three-month lookback is slow.
Averaged by calendar month, UDN made 1.11% in November, 0.72% in December and 0.56% in April, and lost 1.32% in September, 0.88% in October and 0.76% in June. With 5 or 6 observations behind each, these describe this window and carry no calendar rule. It does match the rule's results in two places: the September and October 2024 swing, and the strong April of 2025.
Every trade
3-month momentum on UDN made 4 closed round trips, an average hold of 86 days, an average winner of 1.24%, an average loser of −2.59%, a profit factor of 0.46, a longest losing streak of 2. It held a position at the close on 16.3% of trading days.
| Entry | Entry price | Exit | Exit price | Return | Days held |
|---|---|---|---|---|---|
| 2022-12-02 | $15.97 | 2023-03-08 | $15.98 | 0.1% | 96 |
| 2023-12-26 | $16.98 | 2024-03-01 | $16.60 | −2.2% | 66 |
| 2024-08-26 | $17.39 | 2024-10-30 | $16.88 | −2.9% | 65 |
| 2025-04-04 | $17.38 | 2025-07-31 | $17.80 | 2.4% | 118 |
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.
Four trades
Trade one: bought 2022-12-02 at $15.97, sold 2023-03-08 at $15.98, up 0.06% over 96 days. Trade two: bought 2023-12-26 at $16.98, sold 2024-03-01 at $16.6, down 2.24% over 66 days. Trade three: bought 2024-08-26 at $17.39, sold 2024-10-30 at $16.88, down 2.93% over 65 days. Trade four: bought 2025-04-04 at $17.38, sold 2025-07-31 at $17.8, up 2.42% over 118 days. Prices carry the split and dividend adjustment.
Winners averaged 1.24% and losers -2.59%, with a win rate of 50%. A profit factor of 0.46 says the winners earned well under what the losers cost. The average hold was 86.2 days, the longest was 118 and the shortest was 65. No more than 1 win came in a row, and the longest losing run was 2. Exits fell one in 2023 (a win), two in 2024 (both losses) and one in 2025 (a win). The recorded median return per trade is 0.06%.
One of the two wins is a break-even. The 2022-12-02 trade gained one cent, from $15.97 to $15.98, and still counts as a win. Without it the rule would have had 1 win in 4. The win rate of 50% therefore looks better than the trades were.
The trades match the warning in the template. Each entry followed a 5% three-month run, and the fund then reversed or stalled. The 2023-12-26 entry at $16.98 and the 2024-08-26 entry at $17.39 both came at levels the fund did not hold. The last trade, entered in the April 2025 low region, worked because the fund kept rising for nearly four months.
Four trades cannot settle a win rate. One changed outcome could move the profit factor across 1, and a CAGR of -0.47% is near enough to zero that one different exit date might flip its sign.
Largest drawdowns
| Peak | Low point | Depth | Days to low | Recovered | Days to recover |
|---|---|---|---|---|---|
| 2023-02-01 | 2025-04-07 | −9.7% | 796 | not yet | – |
| 2022-12-30 | 2023-01-05 | −1.5% | 6 | 2023-01-09 | 4 |
| 2022-12-14 | 2022-12-16 | −1.3% | 2 | 2022-12-30 | 14 |
Buy-and-hold's deepest drawdown ran from 2021-01-06 to 2022-09-27 and reached −22.7%.
Drawdowns: shallow, but still open
The rule's deepest drawdown was 9.66%, from a peak on 2023-02-01 to a low on 2025-04-07, 796 days later. No recovery came before the data ended. Two smaller ones followed: 1.51%, from 2022-12-30 to 2023-01-05 with recovery on 2023-01-09, and 1.27%, from 2022-12-14 to 2022-12-16 with recovery on 2022-12-30.
The 9.66% drawdown builds from the February 2023 loss of 2.5%, the 2024 losses of 2.24% and 2.93%, and smaller losses between them. The account has not made a new high since 2023-02-01, so it spent most of the window under a peak set during the first position. The depth is small and the time under water is long.
Buy-and-hold had a single drawdown in the table, 22.74%, from 2021-01-06 to 2022-09-27, 629 days, and the account never recovered through the final bar. The fund's own maximum drawdown was 23.24% over the same dates, and its longest drawdown lasted 1,441 sessions, nearly the entire window. UDN spent almost every session after January 2021 below its January 2021 level.
Compared with holding, the rule's drawdown is far shallower because the account did not hold the fund in 2021 or most of 2022, before the first signal arrived.
The cost of that protection shows in the recoveries. The rule never regained its February 2023 peak, while holding rallied 12.1% in 2025 and finished with a smaller loss than at its low. The two paths ended at $9,730.98 and $9,375.49.
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) | −0.5% | −9.7% | $9,731 | -0.15 |
| 5 basis points | −0.5% | −9.9% | $9,693 | -0.17 |
| 10 basis points | −0.6% | −10.2% | $9,654 | -0.19 |
Cost runs
Charging 5 basis points per fill gave a CAGR of -0.54%, the maximum drawdown was 9.93%, the final value was $9,692.75 and the Sharpe ratio was -0.169. Charging 10 basis points gave -0.61%, a maximum drawdown of 10.2%, the final value $9,654.24 and the Sharpe ratio -0.193. The headline run had -0.47%, 9.66%, $9,730.98 and -0.15.
With only 8 fills the dollar cost is small. Going from no slippage to 10 basis points trimmed the final value and nudged the drawdown up. The rule stays ahead of buy-and-hold at every cost level shown, since holding ended at $9,375.49.
Turnover in UDN is light, at $2,009,419 of average daily dollar volume and a median of 400 shares per minute, well below the large equity funds in the library. Against that turnover a $10,000 sleeve is small, though thin funds tend to carry wider spreads, which makes 5 and 10 basis points sensible assumptions. Actual spreads were not measured.
Costs did not decide this page. The CAGR was already negative before any charge, and the three cost levels differ by a fraction of a point.
Changing the parameters
| Version | CAGR | Max drawdown | Round trips | Win rate | Final value |
|---|---|---|---|---|---|
| Published rules | −0.5% | −9.7% | 4 | 50% | $9,731 |
| Enter above 0% | 0.8% | −8.8% | 39 | 46% | $10,470 |
| Enter above 10% | −0.1% | −5.0% | 2 | 50% | $9,959 |
| Enter above 15% | 0.0% | −0.0% | 0 | – | $10,000 |
Changing the entry threshold
Three variants of the entry were tested, each keeping the exit at a 63-day return below 0%. Dropping the entry to any positive return made 0.8% a year with an 8.81% drawdown, 39 trades and 18 wins, ending at $10,469.73 with a Sharpe ratio of 0.198. Entering above 10% made -0.07% with a 4.99% drawdown, 2 trades and 1 win, ending at $9,958.86. A 15% entry never fired and the account stayed at $10,000.
The published rule made -0.47% on 4 trades. A looser entry produced far more trades, a CAGR of 0.8% and the only positive result of the set. A stricter entry cut the trades to 2 and the loss to a rounding error, and the strictest never traded. The gap between a 5% entry and a 0% exit exists to prevent flip-flopping, and removing it moved the trade count from 4 to 39 on a fund that rarely trends.
That runs against the template's design, since the version built to wait for a 5% run did worse than the one that entered on any positive return. UDN moved in a narrow range, with annualized volatility of 7.06%, and a 5% three-month move was uncommon. The looser rule traded the small swings and made a small profit on them, with 18 winners from 39 trades.
One caution applies. The variant's many fills would each pay slippage, and no cost run exists for it, so a CAGR of 0.8% before costs could be lower after them. The test shows only that the looser entry traded more and finished higher before costs.
The 3-month momentum page shows how the published thresholds compare across all 59 funds.
How UDN behaved
| Measure | UDN |
|---|---|
| Data in this test | 2021-01-04 to 2026-10-02 (1444 sessions) |
| Total return, buy and hold | −6.0% |
| Annualized volatility | 7.1% |
| Deepest drawdown | −23.2% (2021-01-06 to 2022-09-27) |
| Up days | 44.8% |
| Average daily range | 0.40% |
| Average overnight gap | 0.25% |
| Correlation to SPY | 0.28 |
| Correlation to QQQ | 0.24 |
| Correlation to TLT | 0.23 |
| Sessions above the 200-day average | 57.6% |
| Crossings of the 200-day average | 40 |
| Falls of 10% or more from a 20-day high | 0 |
How UDN moved and why a 5% gate rarely opened
UDN lost 5.99% over the window, a CAGR of -1.07%, with annualized volatility of 7.06%. Its maximum drawdown was 23.24% from 2021-01-06 to 2022-09-27, not recovered. Calendar-year returns were -7.07%, -7.95%, 4.69%, -4.36%, 12.42% and -2.36%, with 2026 partial.
UDN moves against the US dollar. It correlated at -0.9 with USDU, the dollar-bullish fund, and at 0.96 with FXE, the euro fund. The next most similar funds were IAU at 0.44, EEM at 0.43, IGIB at 0.41 and IEI at 0.4. The least similar were USDU at -0.9, EEV at -0.43, KMLM at -0.29, SDS at -0.28 and SH at -0.27. Its beta was 0.12 to SPY, 0.08 to QQQ and 0.1 to TLT, with correlations of 0.28, 0.24 and 0.23. It had little to do with the stock or bond market.
The fund closed above its 200-day average on 57.59% of sessions and crossed that line 40 times. It rose on 44.84% of days, with an average up day of 0.37% and an average down day of -0.35%. The average intraday range was 0.4% and the average overnight gap was 0.25%. The overnight log return was -4.68% and the intraday log return was -1.87%, so both parts of the day lost value over the window, with the overnight share of the loss at 71.5%.
The fund had 0 falls of 10% or more from a 20-day high, and its best and worst days were small. The best were 2.37% on 2022-11-10, 2.09% on 2025-04-10, 1.96% on 2022-11-04, 1.7% on 2025-04-03 and 1.6% on 2023-11-14. The worst were -1.59% on 2022-09-23, -1.42% on 2022-09-13, -1.36% on 2025-05-12, -1.31% on 2022-07-05 and -1.3% on 2023-03-07. Reaching +5% over 63 days on a fund whose best day is 2.37% takes a sustained run.
RSI(14) fell below 30 on 61 sessions, and the median return was 0.25% after 5 days and 0.48% after 20, against baselines of -0.05% and -0.11%. RSI(2) fell below 10 on 200 sessions, with a median of 0.03% at 5 days and -0.3% at 20 days. RSI(14) rose above 70 on 37 sessions. The lag-1 autocorrelation of daily returns was 0, so one day's move told nothing about the next.
Momentum could pay on this fund only in a persistent move, and 2025 supplied one at 12.42% for the year. The November 2022 rally, with its 2.37% best day on 2022-11-10, came in a few sharp days, and a 63-day measure sees that kind of move only after it has happened.
The rules
Hold while the trailing 3-month return is positive (above +5% to enter, below 0% to exit).
- WHEN the market opens · IF not invested AND the 63-day return > +5% · THEN buy with 98% of the sleeve
- WHEN the market opens · IF invested AND the 63-day return < 0% · THEN sell the whole position
Time-series momentum on a quarterly lookback, the horizon much of the academic momentum literature uses. The template enters after a +5% three-month run and exits when the same measure turns negative. The gap between entry (+5%) and exit (0%) is a buffer against flip-flopping around a single threshold.
Good for: assets with long, persistent cycles, such as index, sector and managed-futures ETFs.
Watch out: a three-month lookback is slow; V-shaped crashes and recoveries can see it exit near the bottom and re-enter well off the low.
The other templates and the other currency funds
On UDN, the trend plus trailing stop led with 1.88% and an 8.28% drawdown. SMA 10/50 made 1.53% with 6.05%, the 200-day filter 1.26% with 5.38% and EMA 12/26 0.99% with 9.91%. RSI mean reversion made 0.62% with 14.61%, RSI(2) snapback 0.4% with 17.34% and the weekly 7% target 0.26% with 17.26%. The dip buyer and momentum breakout made no trades and finished at 0%. The 3-month momentum switch made -0.47%, the monthly cycle -0.67% and golden cross -1.06% with an 11.06% drawdown.
Faster trend signals did best. SMA 10/50 and the 200-day filter both beat the 3-month rule with smaller drawdowns, 6.05% and 5.38% against 9.66%. A slow lookback gave up more of each move than a faster one did. The two mean-reversion rules and the weekly target made small gains but with drawdowns of 14.61% to 17.34%, deeper than the momentum rule's.
Two templates never traded. The reason matches the dip buyer's zero on QAI: UDN had 0 falls of 10% or more from a 20-day high.
Among the 3 currency funds, FXE made 0.98% with an 8.06% drawdown on 4 round trips and USDU made 0.49% with a 6.5% drawdown on 3. UDN's -0.47% with 4 round trips is the lowest of the three, though all three results are within a point and a half of zero. The category median is 0.49%.
The test covers one fund, one window of 5.74 years, 4 trades and daily decisions. Figures are hypothetical and not advice.
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 3-month momentum beat buy-and-hold on UDN?
Over 2021-01-04 to 2026-10-02, 3-month momentum on UDN returned −0.5% annualized vs −1.1% for buy-and-hold: it beat buy-and-hold by 0.7% per year, with a maximum drawdown 13.1 points shallower than holding (9.7% vs 22.7%).
How many trades did it make?
4 completed round trips over 5.7 years (8 fills), with 50% of round trips closing profitably.
Why 63 days?
63 trading days is about one quarter, a common momentum lookback. You can sweep it in DeployQuant to see how the horizon changes results.
Did 3-month momentum beat buy-and-hold on UDN?
Yes, by a small margin. The rule made -0.47% a year and ended at $9,730.98, while buy-and-hold made -1.12% and ended at $9,375.49. The maximum drawdown was 9.66% against 22.74%. Both lost money.
How many trades did it make on UDN?
4 closed round trips and 8 fills, with 2 wins and a win rate of 50%. One win gained only 0.06%. The average winner was 1.24% and the average loser was -2.59%, giving a profit factor of 0.46.
Why was the rule in cash so much of the time?
The rule needs a 63-day return above 5% to enter. UDN has annualized volatility of 7.06% and its best day was 2.37%, so that gate opened rarely. The account was invested on 16.3% of days.
Does a lower entry threshold help on UDN?
It raised the result before costs. Entering above 0% made 0.8% a year over 39 trades and 18 wins, against -0.47% for the published 5% entry. No cost run exists for that variant, and its many fills would each pay slippage.
Does trading cost change the result?
Slightly. At 5 basis points of slippage the CAGR was -0.54% and the final value $9,692.75. At 10 basis points it was -0.61% and $9,654.24. UDN is thin at a median of 400 shares per minute.
Which template worked best on UDN?
Trend plus trailing stop led with 1.88% and an 8.28% drawdown, followed by SMA 10/50 at 1.53% and the 200-day filter at 1.26%. The 3-month momentum switch ranks 10th of 12.
What was the worst stretch for the rule?
A 9.66% drawdown from 2023-02-01 to 2025-04-07, which lasted 796 days and had not recovered by 2026-10-02. October 2024 returned -3.25% and July 2025 returned -3.04%.
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.