CTA Trend Following

Wheat — Concentration, Ensemble & The Twelve Sections

Kaufman's robust-region method on Wheat (ZW=F), 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 2000-07-17 → 2015-12-31 (3,869 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 90, SMA 100, SMA 110, SMA 120
Direction
System A — Long Only
Plateau
none — no robust region
Efficiency ratio (20d)
0.225
No robust region in sample — this market would not be funded. The smoothed surface never rises above zero in either direction, so there is no plateau to select from. The entries below are the least-bad stretch of a losing surface, shown for completeness. This market is excluded from the funded book on the index page, and the honest reading is that the method found nothing here by 2015-12-31.

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
none
Width
Periods in profit
16% of 25
Best / median / worst
0.02 / -0.10 / -0.34

Why this direction

SystemPlateau meanCoveragePeriods in profit
System A — Long Only0.0000%16%
System B — Long & Short0.0000%0%

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.150
medium(SMA 55–80)-0.185
long(SMA 81–120)-0.044

Efficiency ratio over this window: 10d 0.325, 20d 0.225, 60d 0.117. 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 90long25.0%-1.6%-74.3%-0.07-0.10-0.0211026.4%
SMA 100long25.0%-0.8%-70.9%-0.03-0.05-0.019927.3%
SMA 110long25.0%-1.2%-67.7%-0.05-0.07-0.029525.3%
SMA 120long25.0%0.1%-58.2%0.000.000.009235.9%
Ensemble (equal weight)100.0%-0.6%-67.4%-0.03-0.04-0.01396
Mean pairwise correlation between the members' daily returns is 0.885. The ensemble's Sortino is +0.013 against the average of its members, and its drawdown +0.003 — 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
Ensemble-0.0414 periods from the plateau, equal weight.
Buy & hold0.198-0.238Holding the future outright over the same window.
Median cell-0.283+0.243The 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 850.023-0.064The 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 Wheat is here — do not read it while choosing parameters.
Instrument
Wheat (ZW=F)
History
2000-07-17 → 2015-12-31
Trading Days / Year
252
Volatility Grid
20–60% (step 5)
How this market is calibrated. The volatility factor grid is 20–60%, 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 16.8%, p10 19.5%, p25 23.7%, p50 29.3%, p75 37.4%, p90 44.8%, p95 51.6%. Metrics annualize with 252 trading days per year.

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 3,869 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
20-2.2%-29.3%-54.2%-0.09-0.14-0.0455-10.8%-82.8%-89.4%-0.34-0.48-0.12110
230.7%10.6%-50.9%0.030.040.0144-5.4%-57.2%-83.3%-0.17-0.24-0.0688
26-2.5%-32.3%-57.6%-0.11-0.16-0.0442-11.3%-84.1%-91.4%-0.36-0.50-0.1284
29-3.2%-39.2%-63.1%-0.14-0.20-0.0540-12.6%-87.3%-92.2%-0.40-0.55-0.1480
32-4.7%-52.6%-70.0%-0.20-0.29-0.0738-15.4%-92.3%-94.9%-0.49-0.67-0.1676
35-4.7%-51.9%-68.1%-0.19-0.28-0.0736-15.2%-92.0%-94.6%-0.48-0.67-0.1672
38-4.0%-46.6%-69.0%-0.17-0.25-0.0632-13.7%-89.7%-92.2%-0.43-0.61-0.1564
41-4.5%-50.3%-74.0%-0.18-0.27-0.0630-14.6%-91.1%-94.3%-0.46-0.64-0.1560
44-3.1%-38.3%-70.4%-0.13-0.19-0.0427-12.1%-86.3%-91.1%-0.38-0.53-0.1354
47-4.6%-51.5%-73.5%-0.20-0.29-0.0626-15.0%-91.7%-94.8%-0.47-0.65-0.1652
50-0.9%-13.3%-60.8%-0.04-0.06-0.0222-8.4%-74.1%-82.4%-0.27-0.38-0.1044
53-0.1%-1.7%-56.2%-0.00-0.01-0.0020-6.3%-63.2%-74.1%-0.20-0.28-0.0940
56-1.0%-14.3%-60.8%-0.04-0.06-0.0220-7.8%-71.2%-75.9%-0.25-0.35-0.1040
590.2%2.9%-58.5%0.010.010.0018-5.2%-56.1%-65.7%-0.17-0.24-0.0836
620.6%9.7%-61.7%0.030.040.0117-4.0%-46.5%-70.9%-0.13-0.18-0.0634
650.7%11.4%-59.8%0.030.050.0117-4.1%-47.1%-72.7%-0.13-0.19-0.0634
68-0.4%-6.2%-64.6%-0.02-0.03-0.0117-6.0%-61.4%-76.4%-0.19-0.27-0.0834
71-1.0%-14.9%-67.9%-0.04-0.07-0.0217-7.3%-68.5%-80.7%-0.23-0.33-0.0934
74-1.7%-23.3%-68.8%-0.07-0.11-0.0217-8.7%-75.2%-81.9%-0.28-0.40-0.1134
77-1.3%-17.6%-62.8%-0.05-0.08-0.0216-7.8%-71.4%-76.2%-0.25-0.36-0.1032
80-0.2%-3.1%-56.2%-0.01-0.01-0.0015-5.7%-59.3%-67.9%-0.18-0.26-0.0830
850.4%5.9%-52.1%0.020.020.0114-4.6%-51.5%-64.4%-0.15-0.21-0.0728
90-0.4%-6.6%-57.1%-0.02-0.03-0.0114-6.0%-61.6%-68.2%-0.19-0.28-0.0928
95-0.9%-13.5%-64.9%-0.04-0.06-0.0113-6.5%-64.4%-73.1%-0.21-0.30-0.0926
100-1.0%-13.7%-64.9%-0.04-0.06-0.0113-6.5%-64.5%-73.1%-0.21-0.30-0.0926

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
30-0.9%-13.0%-65.0%-0.04-0.06-0.01175-8.6%-74.9%-85.9%-0.28-0.39-0.10351
33-2.8%-35.7%-63.2%-0.12-0.18-0.04161-12.0%-86.0%-89.9%-0.39-0.54-0.13322
36-2.0%-26.6%-55.2%-0.09-0.13-0.04161-10.5%-81.7%-88.7%-0.34-0.47-0.12322
39-1.6%-21.6%-47.7%-0.07-0.10-0.03150-9.5%-78.2%-83.7%-0.30-0.43-0.11300
42-5.6%-58.5%-66.6%-0.24-0.34-0.08142-17.0%-94.3%-95.0%-0.55-0.76-0.18284
45-1.9%-25.1%-65.6%-0.08-0.12-0.03149-10.3%-81.0%-86.0%-0.33-0.46-0.12298
480.1%1.6%-59.7%0.000.010.00126-6.2%-62.4%-70.5%-0.20-0.28-0.09252
51-2.3%-30.1%-67.9%-0.10-0.14-0.03123-10.6%-82.2%-84.3%-0.34-0.48-0.13246
54-5.0%-54.5%-77.4%-0.21-0.31-0.06131-15.4%-92.3%-93.2%-0.49-0.69-0.17262
57-4.7%-52.2%-77.6%-0.19-0.28-0.06129-14.5%-91.0%-92.1%-0.46-0.65-0.16258
60-1.2%-16.7%-70.1%-0.05-0.07-0.02130-7.4%-69.4%-81.9%-0.24-0.34-0.09260
63-2.6%-32.8%-77.3%-0.11-0.16-0.03136-10.0%-80.2%-89.4%-0.32-0.46-0.11272
66-3.5%-42.3%-76.0%-0.15-0.22-0.05132-12.1%-86.3%-89.1%-0.39-0.54-0.14264
69-1.4%-19.3%-73.1%-0.06-0.09-0.02117-8.5%-74.6%-85.0%-0.27-0.39-0.10234
70-3.0%-37.3%-75.7%-0.13-0.18-0.04119-11.7%-85.1%-87.8%-0.37-0.53-0.13238
75-4.9%-53.4%-81.7%-0.20-0.30-0.06127-14.6%-91.1%-92.5%-0.47-0.66-0.16254
80-2.9%-36.6%-71.0%-0.12-0.18-0.04119-11.2%-83.7%-86.3%-0.36-0.52-0.13237
850.4%5.8%-64.4%0.020.020.01117-5.6%-58.6%-71.1%-0.18-0.26-0.08234
90-1.6%-21.8%-74.3%-0.07-0.10-0.02110-9.7%-78.9%-89.0%-0.32-0.45-0.11220
950.3%5.3%-60.8%0.010.020.0191-5.5%-58.2%-71.4%-0.18-0.26-0.08182
100-0.8%-11.5%-70.9%-0.03-0.05-0.0199-7.9%-71.5%-84.6%-0.26-0.36-0.09198
105-1.4%-19.5%-66.3%-0.06-0.09-0.02107-8.5%-74.4%-77.8%-0.27-0.39-0.11214
110-1.2%-16.7%-67.7%-0.05-0.07-0.0295-8.1%-72.7%-81.1%-0.26-0.38-0.10190
115-1.5%-20.8%-64.0%-0.06-0.09-0.02100-8.8%-75.7%-77.3%-0.29-0.41-0.11200
1200.1%1.0%-58.2%0.000.000.0092-5.3%-56.4%-64.5%-0.17-0.25-0.08184

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:54:33 UTC.