CTA Trend Following

30-Year T-Bond — Concentration, Ensemble & The Twelve Sections

Kaufman's robust-region method on 30-Year T-Bond (ZB=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-21 → 2015-12-31 (3,840 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 70, SMA 75, SMA 80, SMA 90
Direction
System A — Long Only
Plateau
SMA 66–80 (5/25 tested)
Efficiency ratio (20d)
0.226

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 66–80
Width
5 of 25 tested (20%)
Periods in profit
68% of 25
Best / median / worst
0.31 / 0.08 / -0.19

Why this direction

SystemPlateau meanCoveragePeriods in profit
System A — Long Only0.23920%68%
System B — Long & Short0.0754%28%

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.027
medium(SMA 55–80)0.198
long(SMA 81–120)0.114

Efficiency ratio over this window: 10d 0.318, 20d 0.226, 60d 0.120. 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 70medium25.0%1.5%-17.4%0.180.260.098931.5%
SMA 75medium25.0%1.8%-17.6%0.210.310.109740.2%
SMA 80medium25.0%0.9%-20.2%0.100.150.049935.4%
SMA 90long25.0%0.5%-17.3%0.060.080.039836.7%
Ensemble (equal weight)100.0%1.2%-16.9%0.140.210.07383
Mean pairwise correlation between the members' daily returns is 0.916. The ensemble's Sortino is +0.011 against the average of its members, and its drawdown +0.012 — 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.2114 periods from the plateau, equal weight.
Buy & hold0.390-0.179Holding the future outright over the same window.
Median cell-0.032+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 750.312-0.100The 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 30-Year T-Bond is here — do not read it while choosing parameters.
Instrument
30-Year T-Bond (ZB=F)
History
2000-09-21 → 2015-12-31
Trading Days / Year
252
Volatility Grid
6–22% (step 2)
How this market is calibrated. The volatility factor grid is 6–22%, 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 5.5%, p10 6.1%, p25 7.3%, p50 9.4%, p75 12.1%, p90 15.2%, p95 17.2%. 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,840 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
200.9%14.6%-19.3%0.110.160.0547-1.3%-17.6%-26.0%-0.12-0.17-0.0593
230.0%0.5%-20.0%0.000.010.0045-2.9%-36.3%-39.2%-0.27-0.39-0.0789
26-0.7%-10.6%-19.6%-0.10-0.13-0.0443-4.5%-50.4%-52.6%-0.42-0.56-0.0985
29-1.1%-15.4%-23.1%-0.14-0.19-0.0540-5.2%-55.6%-57.6%-0.48-0.65-0.0979
32-1.7%-22.5%-26.9%-0.22-0.29-0.0636-6.3%-62.8%-65.8%-0.58-0.77-0.1072
35-1.0%-14.3%-25.3%-0.13-0.18-0.0431-5.0%-54.4%-58.4%-0.46-0.62-0.0962
38-0.9%-12.7%-23.9%-0.11-0.15-0.0429-4.8%-52.6%-56.8%-0.44-0.59-0.0858
41-1.0%-14.2%-24.8%-0.12-0.17-0.0427-5.0%-54.2%-57.0%-0.46-0.61-0.0953
44-1.2%-17.4%-29.1%-0.15-0.20-0.0426-5.5%-57.7%-60.3%-0.51-0.67-0.0951
47-0.5%-7.6%-25.2%-0.06-0.09-0.0224-3.9%-45.8%-50.6%-0.36-0.52-0.0847
50-0.6%-8.8%-24.9%-0.07-0.10-0.0223-4.0%-46.3%-50.2%-0.37-0.52-0.0845
530.1%1.6%-23.4%0.010.020.0021-2.6%-32.8%-41.4%-0.24-0.34-0.0641
56-0.3%-4.3%-25.8%-0.03-0.05-0.0121-3.3%-40.2%-47.1%-0.31-0.43-0.0741
59-0.2%-2.7%-23.6%-0.02-0.03-0.0120-3.1%-38.0%-45.0%-0.29-0.41-0.0739
62-0.0%-0.6%-21.3%-0.00-0.01-0.0019-2.8%-34.7%-41.6%-0.26-0.36-0.0737
650.3%5.1%-22.6%0.040.050.0117-2.0%-26.6%-39.4%-0.19-0.27-0.0533
680.0%0.1%-24.7%0.000.000.0016-2.6%-33.3%-42.8%-0.24-0.35-0.0631
710.7%11.8%-25.2%0.080.120.0314-1.5%-20.3%-43.6%-0.14-0.20-0.0328
740.9%14.3%-22.6%0.100.150.0413-1.2%-16.8%-42.0%-0.11-0.16-0.0326
770.7%11.1%-23.5%0.080.120.0313-1.6%-21.5%-43.2%-0.15-0.21-0.0426
800.7%10.5%-23.7%0.080.110.0313-1.6%-22.3%-43.7%-0.15-0.22-0.0426
851.2%19.5%-24.7%0.130.200.0512-0.5%-8.0%-38.5%-0.05-0.07-0.0124
901.0%17.0%-25.5%0.120.170.0412-0.8%-11.8%-39.9%-0.08-0.11-0.0224
951.3%22.3%-26.1%0.150.220.0511-0.3%-4.6%-40.8%-0.03-0.04-0.0122
1001.0%16.1%-28.1%0.110.160.0411-1.0%-14.1%-44.1%-0.09-0.13-0.0222

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.5%-7.1%-22.3%-0.06-0.09-0.02165-4.2%-47.6%-53.4%-0.39-0.52-0.08330
33-0.4%-5.5%-23.7%-0.05-0.06-0.02159-3.9%-45.8%-50.3%-0.37-0.49-0.08317
36-1.1%-15.6%-24.8%-0.14-0.19-0.04153-5.3%-56.7%-59.7%-0.50-0.67-0.09305
39-0.6%-8.5%-21.2%-0.07-0.10-0.03152-4.2%-48.3%-53.2%-0.39-0.53-0.08304
42-0.3%-4.6%-17.9%-0.04-0.05-0.02147-3.7%-43.7%-48.9%-0.34-0.47-0.08294
45-0.1%-0.9%-20.3%-0.01-0.01-0.00149-3.2%-39.1%-43.9%-0.30-0.40-0.07298
48-0.6%-8.6%-23.3%-0.07-0.10-0.03162-4.1%-46.7%-49.6%-0.38-0.54-0.08324
510.5%7.2%-19.0%0.050.080.02131-2.0%-26.5%-36.2%-0.19-0.27-0.06262
541.7%28.6%-17.0%0.200.290.101150.5%8.1%-23.3%0.050.070.02230
571.0%16.4%-18.2%0.120.170.05122-0.8%-12.0%-32.7%-0.08-0.11-0.03244
600.4%6.1%-22.4%0.040.070.02124-1.9%-25.6%-41.1%-0.18-0.26-0.05248
631.4%23.9%-14.7%0.160.240.101080.2%2.7%-22.4%0.020.020.01216
660.8%13.2%-17.4%0.090.140.05103-1.0%-14.3%-29.5%-0.09-0.14-0.03206
691.5%25.3%-16.6%0.170.250.09900.3%4.3%-24.3%0.030.040.01180
701.5%25.9%-17.4%0.180.260.09890.4%6.9%-26.6%0.040.060.02178
751.8%31.7%-17.6%0.210.310.10970.9%15.0%-27.1%0.090.130.03193
800.9%14.4%-20.2%0.100.150.0499-0.9%-13.5%-34.1%-0.09-0.13-0.03198
851.8%31.1%-14.7%0.210.310.12990.8%12.1%-18.2%0.070.100.04198
900.5%7.9%-17.3%0.060.080.0398-1.7%-22.6%-31.8%-0.16-0.23-0.05196
951.8%30.8%-17.1%0.200.300.10880.8%13.3%-25.5%0.080.110.03176
1001.2%19.8%-18.2%0.140.200.0783-0.4%-6.1%-33.6%-0.04-0.06-0.01166
1050.2%3.2%-23.6%0.020.030.0179-2.4%-30.4%-48.8%-0.22-0.32-0.05158
1100.5%7.9%-21.3%0.060.080.0284-1.6%-21.7%-40.8%-0.15-0.22-0.04168
115-0.7%-10.8%-28.2%-0.09-0.12-0.0379-4.1%-46.9%-55.8%-0.38-0.54-0.07157
1200.2%3.0%-27.7%0.020.030.0180-2.2%-28.5%-52.9%-0.20-0.30-0.04159

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:53:05 UTC.