CTA Trend Following

Soybeans — Concentration, Ensemble & The Twelve Sections

Kaufman's robust-region method on Soybeans (ZS=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-09-15 → 2015-12-31 (3,849 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 42, SMA 45, SMA 48, SMA 100
Direction
System A — Long Only
Plateau
SMA 39–51 (5/25 tested)
Efficiency ratio (20d)
0.235

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 39–51
Width
5 of 25 tested (20%)
Periods in profit
100% of 25
Best / median / worst
0.56 / 0.30 / 0.06

Why this direction

SystemPlateau meanCoveragePeriods in profit
System A — Long Only0.48420%100%
System B — Long & Short0.37712%64%

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.410
medium(SMA 55–80)0.228
long(SMA 81–120)0.306

Efficiency ratio over this window: 10d 0.334, 20d 0.235, 60d 0.141. 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 42short25.0%7.5%-37.1%0.400.560.2012336.6%
SMA 45short25.0%7.5%-38.0%0.400.560.2011532.2%
SMA 48short25.0%7.4%-31.6%0.400.560.2311534.8%
SMA 100long25.0%7.3%-40.0%0.350.480.187938.0%
Ensemble (equal weight)100.0%7.7%-34.7%0.430.600.22432
Mean pairwise correlation between the members' daily returns is 0.829. The ensemble's Sortino is +0.066 against the average of its members, and its drawdown +0.020 — 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.6054 periods from the plateau, equal weight.
Buy & hold0.186+0.418Holding the future outright over the same window.
Median cell0.231+0.373The 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 420.564+0.040The 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 Soybeans is here — do not read it while choosing parameters.
Instrument
Soybeans (ZS=F)
History
2000-09-15 → 2015-12-31
Trading Days / Year
252
Volatility Grid
15–55% (step 5)
How this market is calibrated. The volatility factor grid is 15–55%, 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 13.9%, p10 14.9%, p25 17.3%, p50 21.4%, p75 29.2%, p90 38.2%, p95 46.0%. 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,849 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.7%50.7%-50.3%0.140.180.0547-0.7%-10.4%-63.6%-0.03-0.04-0.0194
232.6%47.5%-48.6%0.130.170.0544-1.5%-20.6%-66.1%-0.06-0.08-0.0288
262.8%52.2%-47.1%0.140.190.0639-1.1%-15.4%-62.5%-0.04-0.06-0.0278
292.5%45.7%-48.4%0.130.170.0537-1.6%-21.5%-62.2%-0.06-0.08-0.0374
322.0%35.6%-50.7%0.100.140.0433-2.6%-33.2%-70.7%-0.10-0.13-0.0467
351.0%17.0%-59.4%0.050.070.0232-3.8%-44.4%-77.0%-0.14-0.19-0.0564
383.4%67.7%-58.6%0.180.240.06270.1%2.0%-76.0%0.000.010.0054
413.9%80.5%-47.5%0.220.300.08251.0%17.3%-60.8%0.040.060.0250
444.1%83.4%-47.5%0.230.310.09241.3%21.7%-62.1%0.050.070.0248
474.3%88.9%-44.7%0.230.320.10232.0%34.7%-56.2%0.070.110.0346
505.5%128.0%-36.5%0.300.410.15214.8%104.1%-52.9%0.180.270.0942
536.3%155.0%-35.5%0.330.470.18196.5%160.7%-41.9%0.240.360.1538
566.3%154.8%-35.1%0.340.470.18186.5%161.9%-41.9%0.240.360.1636
596.2%148.9%-35.1%0.330.450.18176.5%161.4%-41.9%0.240.360.1534
626.5%162.0%-36.3%0.340.480.18166.4%158.1%-42.6%0.240.360.1533
656.0%144.7%-39.8%0.310.440.15155.9%139.1%-45.7%0.210.320.1331
686.2%150.7%-33.7%0.340.470.18146.3%152.9%-42.6%0.230.350.1529
715.7%133.4%-35.0%0.300.410.16145.2%117.7%-42.6%0.190.290.1229
745.9%140.2%-36.7%0.310.420.16135.7%132.3%-42.6%0.210.310.1327
775.4%123.4%-39.9%0.280.380.14134.6%98.1%-44.2%0.170.250.1027
805.9%140.5%-39.9%0.300.420.15125.9%138.9%-44.2%0.220.320.1325
855.4%122.5%-39.9%0.270.370.13125.0%110.5%-44.2%0.190.270.1125
905.0%110.7%-39.9%0.250.340.13124.3%89.4%-47.5%0.160.230.0925
954.8%104.8%-41.3%0.240.320.12123.9%80.5%-47.5%0.140.210.0825
1005.0%111.2%-45.5%0.250.340.11114.5%94.8%-49.7%0.160.240.0923

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
304.6%99.7%-45.2%0.240.320.101591.7%29.6%-55.1%0.070.090.03318
334.7%102.9%-40.0%0.250.330.121502.0%34.5%-47.1%0.080.110.04300
363.4%67.5%-46.7%0.180.240.07139-0.3%-4.9%-60.7%-0.01-0.02-0.01279
395.4%122.4%-42.0%0.280.380.131413.1%59.7%-56.9%0.120.170.05283
427.5%202.2%-37.1%0.400.560.201237.0%179.9%-43.3%0.270.400.16247
457.5%200.2%-38.0%0.400.560.201157.4%199.2%-56.0%0.280.420.13231
487.4%198.2%-31.6%0.400.560.231157.3%194.5%-41.2%0.290.420.18231
516.5%162.7%-41.6%0.350.480.16995.8%136.7%-55.0%0.220.330.11198
543.5%69.9%-51.8%0.190.260.07100-0.2%-3.6%-72.8%-0.01-0.01-0.00200
575.0%111.3%-39.8%0.260.360.131083.1%58.9%-49.8%0.120.170.06216
603.1%60.5%-47.0%0.160.230.07114-0.3%-4.2%-58.2%-0.01-0.02-0.00228
632.7%51.1%-47.5%0.140.190.06119-0.6%-9.1%-61.7%-0.02-0.03-0.01238
663.0%56.5%-54.7%0.150.200.051180.0%0.7%-69.4%0.000.000.00236
692.6%49.0%-53.4%0.130.180.05112-0.6%-8.6%-68.1%-0.02-0.03-0.01223
703.8%76.1%-52.1%0.190.250.071051.7%28.8%-65.5%0.060.090.03209
753.0%58.0%-51.1%0.150.200.06109-0.2%-3.7%-62.5%-0.01-0.01-0.00218
803.3%64.3%-51.1%0.160.210.0689-0.2%-3.7%-65.3%-0.01-0.01-0.00179
854.2%87.2%-58.3%0.200.270.07851.3%21.1%-72.0%0.050.070.02171
903.1%58.9%-52.7%0.150.200.06102-1.0%-14.6%-65.1%-0.04-0.05-0.02205
956.4%156.1%-43.6%0.310.410.15925.5%126.7%-49.0%0.220.300.11185
1007.3%193.3%-40.0%0.350.480.18797.7%211.3%-46.2%0.300.420.17159
1056.4%159.2%-44.4%0.310.410.14626.6%163.6%-45.8%0.250.350.14125
1104.7%101.3%-44.2%0.220.300.11633.0%56.8%-53.5%0.110.160.06127
1155.0%111.6%-46.1%0.230.320.11634.4%92.5%-51.2%0.170.240.09127
1200.9%15.1%-59.7%0.040.060.0266-3.6%-43.1%-76.5%-0.14-0.19-0.05133

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:56:01 UTC.