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-08-20
Trading Days / Year
252
Volatility Grid
4–12% (step 1)
No trading costs on this card. US Dollar Index is not a futures contract, and the client's cost model — $5.00 commission + 1.5 ticks of slippage per round turn — prices futures only. Profit Factor is gross profit ÷ gross loss over all trades; Avg Trade and Avg Loss are per unit of the instrument.
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. A cell at −100% CAGR means a position lost more than its stake — typically a short in a contract that more than doubled before the exit — and the later numbers in that cell are not meaningful. 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, trade count, profit factor and the average trade / average losing trade for every base variant of both systems over 14,126 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: TradesA: Profit FactorA: Avg TradeA: Avg LossB: CAGRB: Total ReturnB: Max DDB: SharpeB: SortinoB: CalmarB: TradesB: Profit FactorB: Avg TradeB: Avg Loss
201.6%141.1%-23.5%0.290.410.071651.600.54 pts−1.56 pts3.2%494.1%-37.8%0.420.610.093311.680.61 pts−1.55 pts
231.7%160.0%-24.7%0.310.440.071481.730.65 pts−1.53 pts3.5%591.0%-29.9%0.460.660.122971.830.72 pts−1.48 pts
261.5%132.1%-28.9%0.270.380.051351.650.61 pts−1.61 pts3.1%457.6%-29.8%0.410.580.102711.750.69 pts−1.62 pts
291.2%98.1%-31.5%0.220.310.041251.530.55 pts−1.71 pts2.5%302.0%-26.5%0.330.470.102511.620.63 pts−1.78 pts
321.2%98.2%-27.9%0.220.310.041111.590.62 pts−1.73 pts2.5%300.1%-29.0%0.330.470.092231.670.71 pts−1.86 pts
351.4%122.0%-25.2%0.260.370.06981.730.8 pts−1.85 pts2.9%401.6%-20.8%0.390.550.141961.840.91 pts−1.95 pts
381.4%118.4%-25.8%0.250.360.05921.730.83 pts−2.01 pts2.9%387.8%-23.3%0.380.540.121841.840.94 pts−2.11 pts
411.3%108.7%-21.2%0.240.340.06831.780.88 pts−2.24 pts2.7%333.6%-26.9%0.350.500.101661.841.01 pts−2.41 pts
441.3%104.7%-21.8%0.240.330.06781.770.94 pts−2.38 pts2.6%320.4%-30.1%0.340.490.091561.871.08 pts−2.4 pts
471.2%96.0%-19.7%0.220.310.06751.800.95 pts−2.3 pts2.3%265.8%-32.3%0.310.440.071501.851.1 pts−2.43 pts
501.2%92.8%-20.9%0.220.300.06701.831 pts−2.06 pts2.3%251.5%-33.0%0.300.430.071401.861.15 pts−2.42 pts
531.3%103.4%-19.5%0.230.330.07641.921.15 pts−2.21 pts2.5%290.9%-30.5%0.330.470.081281.951.31 pts−2.57 pts
561.5%128.0%-18.3%0.270.380.08592.151.42 pts−2.29 pts2.9%398.5%-28.2%0.390.550.101182.211.6 pts−2.56 pts
591.3%111.3%-19.0%0.250.350.07572.071.33 pts−2.3 pts2.6%329.0%-32.3%0.350.500.081142.121.52 pts−2.53 pts
621.4%120.1%-17.0%0.260.370.08542.251.47 pts−2.36 pts2.8%370.3%-25.0%0.370.530.111082.301.66 pts−2.56 pts
651.4%120.7%-18.4%0.260.370.08512.261.57 pts−2.36 pts2.8%376.3%-24.1%0.380.540.121022.381.78 pts−2.48 pts
681.3%111.4%-20.3%0.250.350.07492.261.56 pts−2.33 pts2.6%318.4%-25.6%0.350.490.10982.301.77 pts−2.63 pts
711.5%130.6%-17.5%0.270.390.09452.491.87 pts−2.45 pts2.9%402.1%-22.4%0.390.560.13902.582.1 pts−2.6 pts
741.4%113.1%-19.6%0.250.350.07452.261.71 pts−2.65 pts2.6%329.5%-23.4%0.350.500.11902.381.94 pts−2.76 pts
771.2%100.3%-20.6%0.230.320.06442.101.6 pts−2.92 pts2.4%281.3%-23.4%0.320.460.10882.231.84 pts−2.86 pts
801.2%90.2%-21.3%0.210.290.05441.981.49 pts−2.91 pts2.2%243.3%-23.4%0.300.420.10882.101.72 pts−2.94 pts
851.2%100.3%-17.0%0.220.320.07412.241.7 pts−2.82 pts2.3%263.2%-25.9%0.320.450.09822.201.96 pts−3.1 pts
901.1%83.5%-17.5%0.200.280.06402.081.5 pts−2.79 pts2.0%204.3%-27.0%0.270.380.07802.001.75 pts−3.35 pts
951.2%90.2%-19.3%0.210.290.06372.181.68 pts−3.11 pts2.2%230.4%-25.9%0.290.410.08742.101.95 pts−3.65 pts
1001.0%72.7%-19.8%0.180.250.05371.931.41 pts−3.3 pts1.8%173.9%-28.0%0.240.350.06741.891.68 pts−3.86 pts

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: TradesA: Profit FactorA: Avg TradeA: Avg LossB: CAGRB: Total ReturnB: Max DDB: SharpeB: SortinoB: CalmarB: TradesB: Profit FactorB: Avg TradeB: Avg Loss
302.0%210.8%-25.3%0.370.530.084561.600.25 pts−0.64 pts4.2%893.1%-20.4%0.550.790.209131.690.27 pts−0.62 pts
332.2%246.3%-23.5%0.410.580.104091.730.31 pts−0.67 pts4.6%1132.9%-22.1%0.600.870.218191.830.33 pts−0.64 pts
361.6%141.9%-27.2%0.290.410.064151.470.21 pts−0.69 pts3.2%494.9%-30.1%0.430.610.118311.530.24 pts−0.68 pts
391.4%121.3%-25.1%0.260.360.064221.450.19 pts−0.67 pts2.9%402.1%-25.8%0.380.550.118451.510.22 pts−0.64 pts
421.6%138.2%-20.4%0.280.400.083761.530.23 pts−0.73 pts3.2%476.3%-21.0%0.420.600.157531.600.26 pts−0.71 pts
451.3%101.6%-23.9%0.230.320.053781.390.18 pts−0.72 pts2.6%310.4%-23.6%0.340.480.117571.460.21 pts−0.7 pts
481.3%100.9%-23.3%0.230.320.053761.440.2 pts−0.67 pts2.6%310.8%-26.8%0.340.480.107531.500.22 pts−0.68 pts
511.3%109.1%-18.2%0.240.340.073751.500.21 pts−0.65 pts2.7%339.7%-29.7%0.350.510.097511.550.23 pts−0.67 pts
540.9%62.9%-26.7%0.160.220.033761.320.15 pts−0.7 pts1.8%170.1%-34.6%0.240.340.057531.390.18 pts−0.69 pts
571.5%127.0%-21.9%0.270.380.073421.560.25 pts−0.68 pts2.9%406.6%-24.5%0.390.560.126851.630.28 pts−0.68 pts
601.4%117.5%-23.4%0.250.360.063531.530.22 pts−0.61 pts2.8%370.8%-25.3%0.370.530.117071.600.25 pts−0.64 pts
631.5%127.4%-22.1%0.270.380.073411.600.25 pts−0.64 pts2.9%406.4%-24.7%0.390.560.126831.650.28 pts−0.67 pts
661.6%149.2%-22.4%0.300.420.073281.630.28 pts−0.71 pts3.3%519.1%-29.5%0.440.630.116571.730.31 pts−0.68 pts
691.6%140.7%-20.8%0.280.400.083061.660.29 pts−0.67 pts3.2%483.6%-26.5%0.430.610.126121.750.32 pts−0.66 pts
701.7%154.5%-23.9%0.300.430.072991.710.31 pts−0.7 pts3.4%551.7%-22.9%0.450.650.155981.790.34 pts−0.69 pts
751.7%164.2%-17.8%0.310.450.102791.790.35 pts−0.71 pts3.5%591.1%-24.9%0.470.670.145581.880.39 pts−0.71 pts
801.4%115.5%-18.7%0.250.350.072681.540.28 pts−0.75 pts2.7%351.5%-22.0%0.360.520.125361.620.32 pts−0.76 pts
851.5%133.2%-18.0%0.270.390.082791.660.3 pts−0.68 pts3.0%422.3%-25.0%0.400.570.125581.720.33 pts−0.72 pts
901.5%133.3%-17.1%0.270.390.092431.740.35 pts−0.73 pts3.0%425.4%-24.8%0.400.580.124861.830.39 pts−0.72 pts
951.5%134.6%-18.9%0.280.390.082351.740.35 pts−0.74 pts3.0%415.7%-24.2%0.400.570.124711.810.39 pts−0.75 pts
1001.7%153.5%-18.4%0.300.430.092301.850.39 pts−0.76 pts3.3%500.6%-25.9%0.440.620.134611.930.43 pts−0.73 pts
1051.2%98.3%-21.6%0.220.310.062191.660.31 pts−0.74 pts2.4%268.5%-32.1%0.320.450.074391.680.35 pts−0.79 pts
1101.3%106.3%-21.6%0.230.330.062441.640.29 pts−0.69 pts2.5%296.2%-26.4%0.330.470.094891.690.33 pts−0.74 pts
1151.0%77.5%-22.3%0.180.260.052181.510.26 pts−0.8 pts1.9%193.6%-28.3%0.260.370.074371.560.31 pts−0.84 pts
1201.0%77.2%-26.4%0.180.260.042371.520.24 pts−0.71 pts1.9%192.4%-37.9%0.260.370.054741.550.28 pts−0.77 pts

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. The swept multiple is labelled ATR Target below, so it is not confused with the Profit Factor column (gross profit ÷ gross loss).

Loading atr target 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. Click an ATR target under the charts to take it off them and let the axis rescale to the rest.

Loading atr target 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…

7b. ATR Trailing Stop — Equity Curve

Section 7 as an equity curve: pick an SMA period, direction and trailing factor to see the strategy's month-end cumulative return, net of costs, against the plain SMA system with no stop. Every factor of the section-7 sweep is here, so any row of its table can be looked at as a curve.

Loading equity curves…

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…

11b. Volatility Filter + ATR Trailing Stop — Equity Curve

Section 11 as an equity curve: pick an SMA period, direction, trailing factor and volatility cap to see the combined strategy's month-end cumulative return, net of costs, against the trailing stop alone (section 7, same factor) and the plain SMA system. Trailing factors 1, 2, 3, 4, 5, 6, 7, 8, 9, 10; the section-11 matrix above keeps every half-step.

Loading equity curves…

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, truncated at 2026-08-20 — nothing after that date was read by any calculation on this page. Generated 2026-10-06 13:31:01 UTC.