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.

1.00% of current equity at risk per trade · contracts = equity × 1.00% ÷ (20-day ATR × point value), rounded down to whole contracts · $1,000,000 start, profits reinvested

Instrument
US Dollar Index (DX-Y.NYB)
History
1986-01-01 → 2026-08-20
Trading Days / Year
252
Volatility Grid
5–13% (step 1)
Read this before the numbers. History starts 1986-01-01. Yahoo's US Dollar Index series runs back to 1971, but until the dollar-index futures launched in November 1985 every bar has high = low = close, so the 20-day ATR the positions are sized by is meaningless there. History on this card starts at 1986-01-01.
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. Positions are sized the same way (equity × risk ÷ 20-day ATR, rounded down to whole units of the instrument). Profit Factor is gross profit ÷ gross loss over the trades taken; Avg Trade and Avg Loss are account dollars at the chosen sizing.
Position sizing: ATR risk on a compounding $1,000,000 account, whole contracts. Every trade buys equity × risk ÷ (20-day ATR at entry × point value) contracts, rounded down to a whole contract, where equity is what the account holds when the trade opens — so profits are reinvested and losses shrink the next position. A trade that rounds down to zero contracts is not taken; the account stays flat through it. Risk is the setting at the top of the page, 0.25% to 5% (default 1%): it sets the position size from one ATR, while the exit is whatever the strategy's own rules say (the opposite signal, or the ATR stop of the sections that have one). Below 5% the same setting offers the sizing used until 14 October 2026 — the whole account in the contracts' notional value, compounding. Every CAGR, drawdown, ratio, trade count, average trade and equity curve follows the setting. Sharpe and Sortino are the annualized mean daily return over its volatility and downside deviation. Points per contract (total profit, long/short split) do not depend on the sizing. Buy-and-hold is a plain, unleveraged holding of the price.
How this market is calibrated. The volatility factor grid is 5–13%, 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 4.1%, p10 4.7%, p25 5.8%, p50 7.3%, p75 8.9%, p90 10.9%, p95 12.5%. Metrics annualize with 252 trading days per year. A cell at −100% CAGR means the $1,000,000 account was wiped out at the chosen sizing: it went to zero, and the account stops there.

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 on the $1,000,000 account, every trade sized as chosen above, profits reinvested.

Total Return By SMA Period

System A (Long Only) vs System B (Long & Short, stop-and-reverse on the SMA slope). Total return on the $1,000,000 account at the chosen sizing.

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 10,378 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.9%121.4%-30.1%0.270.390.061191.40$10,205−$40,2103.2%267.6%-48.3%0.330.470.072391.21$11,195−$85,336
232.4%160.8%-28.0%0.310.450.081061.58$15,169−$41,1023.9%386.6%-39.0%0.390.560.102131.35$18,148−$82,758
262.2%144.6%-27.7%0.290.420.08951.58$15,226−$42,1713.9%387.6%-37.3%0.390.560.111911.38$20,295−$91,533
291.5%82.1%-29.2%0.210.300.05911.38$9,023−$36,3962.6%183.4%-33.6%0.280.400.081831.24$10,021−$68,683
321.9%115.4%-24.8%0.260.370.08801.53$14,428−$42,6273.3%286.8%-34.4%0.340.490.101611.33$17,815−$91,682
351.9%116.8%-23.1%0.260.380.08711.58$16,452−$44,9803.4%297.1%-34.4%0.350.510.101431.37$20,773−$94,912
381.9%121.1%-26.9%0.270.380.07661.63$18,348−$49,6073.4%300.6%-37.6%0.350.510.091331.41$22,602−$100,002
411.6%93.3%-29.0%0.230.330.06621.49$15,042−$56,1672.8%206.4%-43.4%0.300.420.061251.30$16,515−$105,440
441.3%73.4%-33.4%0.200.280.04591.40$12,432−$54,9862.4%165.4%-47.2%0.270.380.051191.28$13,896−$89,948
471.2%61.3%-35.4%0.180.260.03571.35$10,760−$53,5582.0%123.4%-49.3%0.230.330.041151.22$10,727−$82,947
500.9%46.5%-37.3%0.150.210.02541.30$8,611−$43,9191.6%90.3%-51.8%0.200.280.031091.20$8,289−$68,544
531.1%57.2%-35.6%0.170.240.03491.37$11,676−$50,9352.0%127.0%-49.4%0.230.330.04991.26$12,828−$84,228
561.4%79.8%-32.6%0.210.300.04461.50$17,345−$59,4282.6%182.9%-45.1%0.280.400.06921.34$19,884−$107,988
591.4%76.2%-33.8%0.210.290.04441.48$17,315−$60,7612.1%137.8%-50.5%0.250.350.04881.28$15,654−$101,152
621.7%103.2%-31.7%0.240.350.05411.70$25,178−$67,3472.8%207.4%-43.9%0.300.420.06821.43$25,297−$115,156
651.6%95.6%-29.1%0.230.330.06391.67$24,523−$64,9792.7%199.4%-40.0%0.290.410.07781.44$25,570−$110,062
681.6%95.9%-30.4%0.240.330.05371.77$25,921−$59,4532.5%178.2%-42.1%0.280.390.06741.48$24,081−$94,808
712.1%139.0%-26.2%0.280.390.08332.14$42,116−$67,6193.5%311.9%-38.5%0.350.500.09661.78$47,263−$117,894
742.2%148.8%-29.0%0.280.390.08332.15$45,103−$72,0003.4%295.2%-40.5%0.340.480.08661.74$44,732−$117,356
772.1%136.7%-29.4%0.260.370.07322.00$42,720−$80,5783.2%261.4%-40.4%0.320.450.08641.63$40,839−$121,099
802.0%123.6%-29.7%0.240.350.07321.90$38,641−$76,6192.9%225.2%-40.4%0.290.420.07641.56$35,180−$114,770
852.2%147.0%-30.7%0.270.380.07302.01$48,999−$90,5403.3%287.9%-42.6%0.330.470.08601.57$47,978−$157,668
901.7%102.7%-30.9%0.230.320.06291.81$35,403−$84,7852.7%199.7%-44.4%0.280.400.06581.46$34,425−$146,162
951.6%95.3%-30.5%0.220.310.05271.80$35,316−$92,1922.6%190.1%-42.0%0.280.400.06541.49$35,208−$149,464
1001.5%87.5%-34.7%0.210.300.04271.70$32,406−$95,9382.4%165.9%-43.4%0.260.370.06541.42$30,719−$151,462

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
303.3%278.4%-22.6%0.420.620.153511.64$7,931−$19,1636.0%1022.9%-32.9%0.560.830.187031.48$14,551−$47,610
333.4%298.1%-21.9%0.430.640.163201.71$9,314−$20,6496.5%1250.5%-30.7%0.600.890.216411.57$19,508−$54,749
362.9%225.5%-23.6%0.370.550.123291.49$6,853−$21,0845.0%649.1%-34.2%0.480.700.156591.31$9,851−$49,269
391.8%109.5%-25.5%0.250.370.073331.30$3,289−$17,1863.4%295.7%-39.5%0.350.500.096671.20$4,433−$33,874
422.2%148.5%-28.0%0.300.440.083081.41$4,822−$19,4354.3%463.6%-28.2%0.420.610.156171.29$7,513−$41,815
451.9%119.4%-32.3%0.260.380.062981.33$4,006−$18,7843.7%340.9%-35.1%0.370.540.105971.22$5,710−$38,751
481.1%60.0%-33.5%0.180.250.032981.19$2,013−$15,5402.5%175.9%-36.7%0.270.390.075971.14$2,946−$30,378
511.3%71.2%-30.0%0.190.280.042941.24$2,422−$15,9772.9%228.5%-42.8%0.310.440.075891.20$3,880−$30,852
540.8%36.1%-32.1%0.130.180.023021.14$1,196−$12,6311.5%83.1%-41.4%0.180.260.046051.11$1,374−$18,468
571.5%83.0%-28.1%0.210.300.052751.30$3,020−$14,9522.9%229.9%-35.7%0.310.440.085511.25$4,171−$24,781
601.7%99.2%-31.2%0.230.340.052821.35$3,517−$14,6633.4%299.4%-31.1%0.350.500.115651.28$5,300−$28,595
631.5%81.6%-28.7%0.210.300.052851.30$2,864−$14,5372.8%217.3%-39.7%0.300.430.075711.23$3,806−$25,016
661.6%92.0%-30.9%0.220.320.052771.30$3,323−$17,4443.2%272.2%-45.6%0.330.470.075551.25$4,904−$31,369
691.4%79.3%-31.3%0.210.290.052611.32$3,039−$14,2933.0%244.6%-43.4%0.320.450.075221.27$4,685−$26,436
701.6%89.1%-27.5%0.220.320.062541.38$3,509−$14,4603.2%266.9%-32.9%0.330.470.105081.31$5,253−$26,608
752.3%156.5%-26.4%0.310.440.092311.61$6,774−$17,9164.6%532.5%-38.2%0.440.640.124621.44$11,526−$42,011
801.6%88.6%-28.0%0.220.310.062111.35$4,198−$17,2653.0%243.6%-38.4%0.320.450.084221.27$5,773−$31,622
851.8%106.5%-28.6%0.240.350.062291.41$4,650−$17,4133.5%310.2%-36.4%0.350.500.104581.32$6,772−$33,107
902.0%122.2%-30.0%0.260.370.071961.48$6,236−$19,6483.8%359.0%-37.6%0.370.540.103921.38$9,159−$37,041
952.2%142.5%-32.0%0.280.400.071871.58$7,620−$20,4733.7%350.2%-41.8%0.370.530.093751.40$9,338−$36,500
1002.2%145.7%-30.3%0.290.410.071891.62$7,708−$20,0373.9%375.1%-39.6%0.380.550.103791.49$9,898−$31,549
1051.6%92.2%-37.8%0.220.310.041871.45$4,931−$16,2332.6%186.9%-48.5%0.280.390.053751.30$4,984−$24,145
1102.1%138.4%-34.3%0.270.390.061931.56$7,173−$18,9763.6%321.9%-44.5%0.350.500.083871.38$8,318−$32,617
1151.5%88.0%-35.6%0.210.300.041801.45$4,888−$16,5512.3%150.7%-43.9%0.250.350.053611.28$4,174−$22,154
1201.7%103.7%-36.7%0.230.320.051931.59$5,375−$14,3752.6%184.1%-46.5%0.270.380.063861.36$4,771−$20,189

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. A bar that opens past the stop fills at its open, not at the stop.

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. A bar that opens past the stop fills at its open. 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-11-26 22:39:45 UTC.