CTA Trend Following

US Dollar Index — Concentration, Ensemble & The Twelve Sections

Kaufman's robust-region method on US Dollar Index (DX-Y.NYB), then the same twelve sections as the market card — all of it on data ending 2015-12-31.

As of 2015-12-31 — the last ten years are withheld. Every number on this tab is computed on bars up to and including 2015-12-31, and nothing after that date is read by any calculation here. The cut happens on the raw price frame before any indicator touches it, so no parameter on this tab was chosen with knowledge of what came next. This market's window is 1971-01-04 → 2015-12-31 (11,452 daily bars). The withheld data still exists and has not been touched — it is the out-of-sample test for whatever comes out of this work, and it is only worth having once the strategies are fixed.
Funded entries
SMA 30, SMA 42, SMA 70, SMA 90
Direction
System B — Long & Short
Plateau
SMA 30–45 (6/25 tested)
Efficiency ratio (20d)
0.265

K1. Where The Results Concentrate

Kaufman's method: rather than take the best of the 50 base cells, or their median, find the contiguous stretch of SMA periods that all work. The plateau is the region holding at or above 70% of the smoothed peak. Its width is the honest measure of how much room for error this market gives you.

Sortino By SMA Period — Where The Results Concentrate

Bars are each tested period on its own. The line averages each period with the tested period either side (3-point neighbourhood), which is what the selection reads. The shaded band is the plateau; the outlined bars are the funded entries.

Plateau
SMA 30–45
Width
6 of 25 tested (24%)
Periods in profit
100% of 25
Best / median / worst
0.94 / 0.69 / 0.41

Why this direction

SystemPlateau meanCoveragePeriods in profit
System A — Long Only0.50324%100%
System B — Long & Short0.76124%100%

The direction is chosen on the plateau, not on the best cell. A direction that covers at least 20% of the grid wins over one that scores higher across three adjacent periods, because that narrow high score is exactly the fluke this method exists to avoid.

Speed preference vs efficiency ratio

Speed bandMean sortino
short(SMA 30–54)0.691
medium(SMA 55–80)0.696
long(SMA 81–120)0.627

Efficiency ratio over this window: 10d 0.354, 20d 0.265, 60d 0.168. A high ER means price travels in straighter lines, which should favour faster SMAs; a low ER means the path is noisy and a slower SMA should do better. The index page tests that across all markets rather than asserting it here.

K2. The Funded Ensemble — 4 Entries, Equal Weight

Each selected period is funded with 25% of the market's capital and runs as its own base system. They are deliberately spread across the plateau: adjacent periods would be one system counted several times, which is the overfit this is meant to avoid.

EntryBandWeightCAGRMax DDSharpeSortinoCalmarTradesWin rate
SMA 30short25.0%4.8%-20.4%0.610.880.2372336.1%
SMA 42short25.0%3.9%-21.0%0.500.710.1855439.2%
SMA 70medium25.0%4.1%-16.4%0.530.770.2545438.8%
SMA 90long25.0%3.8%-24.8%0.500.720.1635636.0%
Ensemble (equal weight)100.0%4.3%-12.6%0.670.970.342087
Mean pairwise correlation between the members' daily returns is 0.569. The ensemble's Sortino is +0.199 against the average of its members, and its drawdown +0.080 — that difference is the combination working (or not), rather than any member being good.

The ensemble against the three readings it replaces

On sortino, the tab's selection metric.

ReadingsortinoEnsemble minus thisWhat it is
Ensemble0.9684 periods from the plateau, equal weight.
Buy & hold-0.077+1.044Holding the future outright over the same window.
Median cell0.518+0.450The middle of all 50 cells — what picking a parameter at random gets you. This is the reading the earlier cross-market tables used.
Best single cell — SMA 330.939+0.029The luckiest point on the surface. In sample it must win; the question is by how little, because whatever it wins by is what you are betting survives.

Ensemble Equity — Month-End Cumulative Return

Each funded entry gets 25% of the market's capital and runs independently. Everything stops on 2015-12-31.

Below: the same twelve sections as the market card, rebuilt in-sample. Identical code, identical grids — only the window differs. Use them to see what each risk layer would have done to the funded periods above. Section 13 (Reset / No Reset, added 2026-08-04) is deliberately not here: the client asked for it on the markets “koja imaju sve podatke”, and this tab is the one that does not. The full-history card for US Dollar Index is here — do not read it while choosing parameters.
Instrument
US Dollar Index (DX-Y.NYB)
History
1971-01-04 → 2015-12-31
Trading Days / Year
252
Volatility Grid
3–11% (step 1)
How this market is calibrated. The volatility factor grid is 3–11%, 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.2%, p10 3.4%, p25 5.4%, p50 7.3%, p75 9.1%, p90 11.4%, p95 13.2%. Metrics annualize with 252 trading days per year. No intraday range on 33% 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 11,452 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
202.0%150.6%-23.5%0.360.510.091304.2%558.1%-28.4%0.540.770.15261
232.0%147.5%-24.7%0.350.500.081194.2%540.8%-29.9%0.530.760.14239
261.8%127.1%-28.9%0.320.450.061093.8%445.3%-29.8%0.490.690.13218
291.6%101.8%-31.5%0.270.380.05993.2%325.9%-26.2%0.410.590.12198
321.6%105.0%-27.9%0.280.400.06883.3%336.6%-27.1%0.420.600.12176
351.9%132.2%-25.2%0.330.470.07763.9%458.4%-20.7%0.490.700.19151
381.8%124.9%-25.8%0.320.450.07723.7%426.4%-20.7%0.480.680.18143
411.8%120.8%-21.2%0.310.440.08643.6%397.0%-23.9%0.460.660.15127
441.7%114.7%-21.8%0.300.430.08613.5%372.4%-23.9%0.450.640.15121
471.6%109.6%-17.4%0.290.420.09583.2%327.1%-25.4%0.420.600.13115
501.6%102.6%-17.5%0.280.400.09543.1%296.4%-26.2%0.400.570.12107
531.7%112.0%-17.7%0.300.420.09493.3%332.9%-26.2%0.430.600.1397
561.9%137.4%-18.3%0.340.490.11453.8%451.2%-19.8%0.500.710.1990
591.8%127.9%-18.3%0.330.470.10433.6%407.8%-23.3%0.470.680.1686
621.8%127.5%-17.0%0.330.470.11413.7%410.5%-19.5%0.480.680.1982
651.9%131.4%-18.4%0.340.480.10393.7%430.6%-17.6%0.490.700.2178
681.7%117.4%-20.3%0.310.450.08383.4%348.3%-19.0%0.440.630.1876
711.9%135.5%-17.5%0.340.480.11353.7%431.4%-19.4%0.490.700.1970
741.7%119.2%-19.6%0.310.440.09353.4%361.4%-19.8%0.450.640.1770
771.7%113.0%-20.6%0.300.420.08343.3%338.0%-21.4%0.430.620.1568
801.6%103.7%-21.3%0.280.390.07343.1%299.9%-22.1%0.400.580.1468
851.8%121.4%-15.5%0.310.440.11313.4%350.1%-22.3%0.440.630.1562
901.6%106.8%-17.5%0.290.400.09303.1%291.9%-24.2%0.400.570.1360
951.7%112.3%-19.3%0.290.410.09283.2%317.3%-25.9%0.420.600.1256
1001.5%96.9%-19.3%0.260.370.08282.9%261.3%-25.9%0.380.540.1156

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.3%180.7%-25.3%0.400.580.093614.8%732.0%-20.4%0.610.880.23723
332.5%201.0%-23.5%0.430.620.103175.1%857.7%-22.1%0.650.940.23635
362.0%141.9%-27.2%0.350.490.073154.1%510.1%-30.1%0.520.740.14631
391.8%127.7%-25.1%0.320.460.073143.8%443.3%-24.7%0.490.690.15628
421.9%132.9%-20.4%0.330.470.092773.9%464.4%-21.0%0.500.710.18554
451.6%103.1%-23.9%0.280.390.072853.2%325.6%-23.6%0.420.590.14570
481.6%105.6%-23.3%0.280.400.072863.3%340.4%-26.8%0.430.600.12572
511.7%117.2%-18.2%0.300.430.092783.5%385.8%-29.7%0.450.650.12556
541.1%62.4%-26.7%0.190.260.042862.2%174.5%-34.6%0.290.410.06572
571.7%114.7%-21.9%0.300.420.082583.4%363.0%-24.5%0.440.630.14516
601.6%108.6%-23.4%0.290.410.072723.3%340.6%-25.3%0.430.610.13544
631.8%122.5%-22.1%0.310.450.082583.6%392.8%-22.5%0.460.660.16516
662.0%144.8%-22.4%0.350.500.092484.1%507.5%-21.6%0.520.750.19496
691.9%136.5%-20.8%0.330.480.092283.9%471.3%-19.5%0.510.730.20456
702.0%148.4%-23.9%0.360.510.082274.1%529.7%-16.4%0.530.770.25454
752.1%157.3%-17.8%0.370.530.122094.3%566.6%-18.6%0.550.790.23418
801.7%112.5%-18.7%0.290.420.092013.3%346.0%-20.8%0.430.620.16402
852.0%143.5%-16.9%0.350.500.122103.9%477.2%-25.0%0.510.740.16420
901.9%138.6%-17.0%0.340.490.111783.8%456.5%-24.8%0.500.720.16356
951.9%137.4%-18.0%0.340.480.111703.8%437.4%-20.8%0.490.700.18340
1002.0%145.6%-18.4%0.350.500.111763.9%471.4%-25.9%0.510.730.15352
1051.5%100.4%-21.6%0.270.380.071603.0%281.3%-32.1%0.390.560.09320
1101.7%114.5%-21.6%0.300.420.081863.3%334.3%-26.3%0.430.610.13372
1151.4%87.9%-22.3%0.240.350.061642.7%233.8%-28.3%0.350.500.09328
1201.3%78.0%-26.4%0.220.310.051812.4%200.0%-37.9%0.320.460.06362

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…

Source: Yahoo Finance daily OHLC, truncated at 2015-12-31 — nothing after that date was read by any calculation on this page. Generated 2026-08-03 05:40:24 UTC.