Strategy Analytics

US Dollar Index — Moving Average & Risk Layers

The same sections as the Corn MA page, on US Dollar Index (DX-Y.NYB). Volatility ranges are calibrated to this market rather than copied from Corn.

Instrument
US Dollar Index (DX-Y.NYB)
History
1971-01-04 → 2026-07-30
Trading Days / Year
252
Volatility Grid
4–12% (step 1)
How this market is calibrated. The volatility factor grid is 4–12%, derived from p10-p90 of annualized 20-day volatility, rounded to a nice step on this market's own history — not Corn's 20–60%, which would be meaningless here. Annualized 20-day volatility percentiles: p5 2.5%, p10 3.7%, p25 5.3%, p50 7.0%, p75 8.8%, p90 11.0%, p95 12.7%. Metrics annualize with 252 trading days per year. No intraday range on 26% of bars: the feed reports high == low that often, so ATR falls back to the close-to-close gap and the intraday stop and target sections (4, 6, 7, 11) behave as close-only — a stop can only be hit if the close passes it. That understates stop-outs on this card.

1. Moving Average Optimization

SMA periods 30, 33, 36, 39, 42, 45, 48, 51, 54, 57, 60, 63, 66, 69, 70, 75, 80, 85, 90, 95, 100, 105, 110, 115, 120. Entry when the SMA turns up, exit when it turns down (System A flat, System B reverses short). Returns are percentages of capital on a compounding equity curve.

Total Return By SMA Period

System A (Long Only) vs System B (Long & Short, stop-and-reverse on the SMA slope). Percentage return on a compounding equity curve.

2. Risk Metrics — Base Systems

CAGR, total return, max drawdown, Sharpe and trade count for every base variant of both systems over 14,111 daily bars. System A = Long Only, System B = Long & Short (stop-and-reverse).

Donchian Breakout — Pure Channel

Lookback N grid 20–80 step 3, then 85, 90, 95, 100. Exit on the opposite N-period band break.

NA: CAGRA: Total ReturnA: Max DDA: SharpeA: SortinoA: CalmarA: TradesB: CAGRB: Total ReturnB: Max DDB: SharpeB: SortinoB: CalmarB: Trades
201.6%143.3%-23.5%0.290.410.071653.2%493.1%-37.8%0.420.610.09330
231.7%162.4%-24.7%0.320.450.071483.5%589.8%-29.9%0.460.660.12296
261.5%134.2%-28.9%0.270.390.051353.1%456.7%-29.8%0.410.580.10270
291.2%100.4%-31.5%0.220.320.041252.5%303.0%-26.5%0.330.470.10250
321.3%102.5%-27.9%0.230.320.051112.5%308.9%-29.0%0.340.480.09222
351.5%126.8%-25.2%0.270.380.06983.0%412.7%-20.8%0.390.560.14195
381.4%123.1%-25.8%0.260.370.06922.9%398.6%-23.3%0.380.550.12183
411.4%113.2%-21.2%0.250.350.06832.7%343.2%-26.9%0.360.510.10165
441.3%109.1%-21.8%0.240.340.06782.6%329.7%-30.1%0.350.500.09155
471.2%100.2%-19.7%0.230.320.06752.4%273.9%-32.3%0.320.450.07149
501.2%96.9%-20.9%0.220.320.06702.3%259.3%-33.0%0.310.440.07139
531.3%107.8%-19.5%0.240.340.07642.5%299.6%-30.5%0.330.470.08127
561.5%132.7%-18.3%0.280.390.08592.9%408.9%-28.2%0.390.560.10118
591.4%115.7%-19.0%0.250.360.07572.7%337.9%-32.3%0.360.510.08114
621.5%124.7%-17.0%0.270.380.09542.8%380.0%-25.0%0.380.540.11108
651.5%125.3%-18.4%0.270.380.08512.9%386.2%-24.1%0.380.550.12102
681.4%115.8%-20.3%0.260.360.07492.6%327.1%-25.6%0.350.500.1098
711.5%135.4%-17.5%0.280.400.09453.0%412.5%-22.4%0.400.570.1390
741.4%117.5%-19.6%0.250.360.07452.7%338.4%-23.4%0.360.510.1190
771.3%104.4%-20.6%0.230.330.06442.5%289.2%-23.4%0.330.470.1188
801.2%94.1%-21.3%0.210.300.06442.3%250.4%-23.4%0.300.430.1088
851.3%104.5%-16.1%0.230.330.08412.4%270.7%-25.9%0.320.450.0982
901.1%87.4%-17.5%0.200.290.06402.0%210.6%-27.0%0.280.390.0880
951.2%94.1%-19.3%0.210.300.06372.2%237.2%-25.9%0.300.420.0874
1001.0%76.3%-19.3%0.180.260.05371.9%179.6%-28.0%0.250.350.0774

Moving Average — SMA Slope

SMA period grid 30→70 step 3, then 70→120 step 5. Exit/reverse when the SMA slope flips.

SMAA: CAGRA: Total ReturnA: Max DDA: SharpeA: SortinoA: CalmarA: TradesB: CAGRB: Total ReturnB: Max DDB: SharpeB: SortinoB: CalmarB: Trades
302.1%214.4%-25.3%0.370.540.084564.2%895.6%-20.4%0.550.800.21912
332.3%250.7%-23.5%0.410.590.104094.6%1138.7%-22.1%0.600.870.21818
361.6%145.2%-27.2%0.290.410.064133.2%499.0%-30.1%0.430.610.11826
391.5%124.0%-25.1%0.260.370.064202.9%404.0%-25.8%0.390.550.11840
421.6%141.4%-20.4%0.290.410.083753.2%479.9%-21.0%0.420.600.15750
451.3%104.5%-23.9%0.230.330.053772.6%313.7%-23.6%0.340.480.11754
481.3%103.5%-23.3%0.230.330.053762.6%312.9%-26.8%0.340.480.10752
511.4%113.5%-18.2%0.250.350.073752.7%349.4%-29.7%0.360.510.09750
540.9%66.4%-26.7%0.160.230.033761.8%176.1%-34.6%0.240.340.05752
571.5%131.8%-21.9%0.270.390.073423.0%417.9%-24.5%0.400.570.12684
601.4%122.2%-23.4%0.260.370.063532.8%381.3%-25.3%0.380.540.11706
631.5%132.3%-22.1%0.270.390.073413.0%417.7%-24.7%0.400.570.12682
661.7%154.6%-22.4%0.300.430.083283.4%532.9%-29.5%0.450.640.11656
691.6%145.7%-20.8%0.290.410.083063.2%495.7%-26.5%0.430.620.12612
701.7%159.8%-23.9%0.310.440.072993.4%565.2%-22.9%0.460.660.15598
751.8%169.7%-17.8%0.320.460.102793.6%605.4%-24.9%0.470.680.14558
801.4%119.9%-18.7%0.260.360.082682.8%360.9%-22.0%0.370.530.13536
851.6%138.0%-18.0%0.280.400.092773.0%433.2%-25.0%0.410.580.12554
901.6%137.6%-17.1%0.280.400.092413.0%434.0%-24.8%0.410.580.12482
951.5%136.0%-18.9%0.280.390.082333.0%411.1%-24.2%0.400.570.12466
1001.7%159.8%-18.4%0.310.440.092283.3%517.8%-25.9%0.440.630.13456
1051.2%100.2%-21.6%0.220.320.062182.4%268.1%-32.1%0.320.450.07436
1101.3%110.7%-21.6%0.240.340.062442.5%305.0%-26.3%0.340.480.10488
1151.1%81.3%-22.3%0.190.270.052182.0%200.1%-28.3%0.270.380.07436
1201.1%80.9%-26.4%0.190.270.042372.0%198.5%-37.9%0.270.380.05474

3. Equity Curve Explorer

Pick a period, direction and ATR profit target (or Base) to see its month-end cumulative return, starting at 0%.

Every ATR profit target is overlaid against the base system.

Loading equity curves…

4. Profit Factor Sweep

An ATR profit target swept 1.5 → 10.0 (step 0.5) for every variant. Target = entry ± PF × ATR₂₀, frozen at entry.

Loading profit factor grid…

5. Volatility-Adjusted Profit Target (Dynamic)

The same sweep as section 4, but the target is recomputed each day from the current ATR instead of frozen at entry, so it breathes with volatility while staying anchored to the entry price.

Loading profit factor grid…

6. Stop Loss Sweep

A protective ATR stop swept 1.5 → 10.0 (step 0.5). Stop = entry ∓ SL × ATR₂₀, no take-profit; the position still reverses on the opposite SMA-slope signal if the stop is not hit first.

Loading stop loss factor grid…

7. ATR Trailing Stop Sweep

A trailing ATR stop, distinct from section 6: stop = best price reached since entry ∓ f × ATR₂₀, recomputed daily. It ratchets in the trade's favour and retreats when volatility rises. Swept 1.0 → 10.0 (step 0.5).

Loading trailing factor grid…

8. Stop Loss + Time Stop — Equity Curves

The full strategy: SMA entry, ATR stop loss, and a time stop that exits a trade still not in profit 5/10/15/20/30/40 days after entry. Split into one file per SMA period so this loads in a fraction of the Corn page's payload.

Loading equity curves…

9. Time Stop Only — Equity Curves

The time stop judged on its own, with no ATR stop, against the plain SMA baseline. Each line exits a trade still underwater 5/10/15/20/30/40 days after entry.

Loading equity curves…

10. Volatility Filter Sweep

Volatility is the annualized standard deviation of daily returns — the standard deviation of the last 20 daily returns × √252. The factor is a maximum: a new position opens only on a day at or below it, so the strategy stands aside in turbulence. An open trade is never closed by the filter.

Loading volatility factor grid…

11. Volatility Filter + ATR Trailing Stop

The first combined risk layer: the section-10 filter and the section-7 trailing stop in one strategy, swept together across every combination. The last column is section 7 on its own, so you can read left to right whether adding the filter helps.

Loading the volatility × trailing-stop grid…

12. Volatility Regime Switch

The same threshold as section 10, but acting as a regime switch: above it the open position is closed at that day's close, nothing opens while volatility stays high, and the position re-opens on the first calm day the SMA slope still points the right way — no fresh signal required.

Loading volatility factor grid…

13. Reset / No Reset

Section 7's trailing stop with the client's 2026-08-04 question on top: after a stop-out, does re-entering beat staying out? No Reset shuts that side until the SMA slope has flipped away and back, so a market that keeps falling leaves the saved profit saved. Reset waits for a new high — the side re-opens when the market closes back above the stopped-out trade's highest high, at a worse price than the exit, so that a reversal is not missed. Immediate is what section 7 itself does, since its entry signal is a state and not an event: the next bar re-enters while the slope still points the same way. Both directions are swept, so System A only resets long and System B resets whichever side was stopped out.

Loading reset-rule grid…

Source: Yahoo Finance daily OHLC, full available history. Generated 2026-07-30 08:48:08 UTC.