CTA Trend Following

Cocoa — Concentration, Ensemble & The Twelve Sections

Kaufman's robust-region method on Cocoa (CC=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 1979-12-19 → 2015-12-31 (9,030 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.

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

Funded entries
SMA 85, SMA 90, SMA 95
Direction
System B — Long & Short
Plateau
SMA 85–90 (2/25 tested)
Efficiency ratio (20d)
0.227
Narrow plateau — treat with caution. The good region covers only 2 of 25 tested periods (8%), below the 20% bar this tab uses to call a region broad. The entries are necessarily close together, so they will move together — the mean pairwise correlation between them is 0.82. This market is excluded from the funded book on the index page.

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 85–90
Width
2 of 25 tested (8%)
Periods in profit
20% of 25
Best / median / worst
0.23 / -0.22 / -0.64

Why this direction

SystemPlateau meanCoveragePeriods in profit
System A — Long Only0.0000%0%
System B — Long & Short ✓0.0928%20%

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.455
medium(SMA 55–80)-0.127
long(SMA 81–120)-0.032

Efficiency ratio over this window: 10d 0.326, 20d 0.227, 60d 0.121. 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 — 3 Entries, Equal Weight

Each selected period is funded with 33% 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 85long33.3%-0.7%-47.7%0.000.00-0.0141228.6%
SMA 90long33.3%1.2%-43.3%0.160.230.0339630.6%
SMA 95long33.3%-0.3%-57.6%0.030.04-0.0137630.3%
Ensemble (equal weight)100.0%0.3%-46.1%0.080.110.011184—
Mean pairwise correlation between the members' daily returns is 0.821. The ensemble's Sortino is +0.018 against the average of its members, and its drawdown +0.034 — 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, at the 1% default risk the selection is made at (the table above and the chart below follow the sizing chosen at the top).

ReadingsortinoEnsemble minus thisWhat it is
Ensemble0.108—3 periods from the plateau, equal weight.
Buy & hold-0.195+0.303Holding the future outright over the same window.
Median cell-0.268+0.377The 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 900.226-0.118The 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 33% of the market's $1,000,000 as its own sub-account, sized in whole contracts off its own equity at the chosen sizing (under the old sizing, the entries' daily returns are averaged, as before). Each member line is that entry alone on the whole account. Buy & hold is an unleveraged holding of the price. Everything stops on 2015-12-31.

Loading curves…

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 Cocoa is here — do not read it while choosing parameters.
Instrument
Cocoa (CC=F)
History
1979-12-19 → 2015-12-31
Trading Days / Year
252
Volatility Grid
15–55% (step 5)
All results are net of trading costs. Every round turn (entry + exit) of one contract pays $5.00 commission + 1.5 ticks of slippage (1.5 × $10.00) = $20.00, i.e. 2 price points at $10 per point, times the trade's contract count. Half is charged on entry and half on exit (a position still open at the end has paid only its entry half), so it weighs more on short, frequent trades. Profit Factor is gross profit ÷ gross loss over the trades the account took (not the ATR target multiple sections 4–5 call “profit factor”); Avg Trade and Avg Loss are net account dollars at the chosen sizing. Contract rolls are not charged as extra round turns.
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 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 15.2%, p10 17.0%, p25 20.8%, p50 26.6%, p75 33.6%, p90 41.0%, p95 45.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. History from 1979-12-19: this card now runs on Norgate's Panama-adjusted series, which for most markets starts in 1978–1983 — years or decades before the feeds this site used earlier (1998–2019, depending on the market). Trend results include the 1980s–90s trends and buy-and-hold includes decades of roll cost, so neither is comparable to figures from those earlier feeds.

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 9,030 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
20-4.5%-80.8%-82.4%-0.47-0.65-0.051240.33−$6,520−$13,043-5.7%-87.9%-91.0%-0.47-0.64-0.062480.60−$3,545−$12,431
23-4.4%-80.0%-81.6%-0.46-0.62-0.051080.29−$7,411−$13,733-5.3%-85.8%-88.5%-0.42-0.58-0.062160.59−$3,970−$13,726
26-4.5%-80.8%-81.7%-0.47-0.63-0.06970.28−$8,326−$15,162-5.5%-86.7%-89.3%-0.44-0.60-0.061940.57−$4,468−$14,806
29-4.4%-79.7%-80.3%-0.45-0.61-0.05890.28−$8,956−$16,179-5.4%-86.2%-88.4%-0.43-0.58-0.061780.57−$4,844−$16,012
32-4.6%-81.7%-82.0%-0.50-0.67-0.06830.24−$9,838−$16,476-5.5%-87.0%-90.1%-0.45-0.61-0.061660.56−$5,241−$16,518
35-4.6%-81.8%-82.2%-0.51-0.69-0.06780.21−$10,482−$16,706-5.6%-87.5%-89.7%-0.47-0.63-0.061560.51−$5,608−$15,745
38-4.4%-79.8%-80.9%-0.49-0.66-0.05700.21−$11,401−$17,946-5.6%-87.1%-90.4%-0.47-0.63-0.061400.51−$6,222−$17,257
41-4.4%-80.0%-81.0%-0.49-0.66-0.05640.18−$12,503−$19,456-5.4%-86.1%-89.4%-0.44-0.60-0.061280.49−$6,727−$18,592
44-4.2%-78.4%-79.4%-0.46-0.62-0.05590.17−$13,295−$20,108-5.3%-85.7%-89.1%-0.43-0.59-0.061180.45−$7,262−$18,247
47-4.0%-77.0%-79.4%-0.43-0.58-0.05560.19−$13,748−$20,995-5.3%-86.0%-89.6%-0.45-0.60-0.061120.43−$7,681−$18,301
50-3.8%-74.7%-77.9%-0.40-0.53-0.05530.19−$14,092−$21,325-4.9%-83.5%-88.6%-0.40-0.54-0.061060.47−$7,877−$19,856
53-3.5%-71.9%-76.0%-0.37-0.50-0.05500.21−$14,381−$22,617-4.4%-79.7%-86.6%-0.34-0.46-0.051000.51−$7,972−$21,851
56-2.9%-64.9%-69.9%-0.29-0.39-0.04450.25−$14,413−$24,649-2.9%-65.5%-76.9%-0.20-0.28-0.04900.61−$7,273−$26,483
59-3.1%-67.8%-73.2%-0.32-0.44-0.04440.21−$15,405−$23,896-3.3%-69.5%-79.6%-0.23-0.32-0.04880.56−$7,894−$24,778
62-2.5%-60.2%-66.8%-0.26-0.35-0.04410.27−$14,692−$24,996-2.3%-57.1%-71.1%-0.15-0.20-0.03820.67−$6,962−$29,694
65-2.0%-51.9%-59.8%-0.19-0.27-0.03380.33−$13,665−$25,989-1.3%-38.5%-58.1%-0.06-0.09-0.02760.77−$5,065−$31,418
68-2.2%-55.5%-62.1%-0.22-0.30-0.04370.27−$15,010−$26,301-1.6%-43.9%-63.2%-0.08-0.11-0.03740.73−$5,928−$30,925
71-1.5%-40.8%-54.1%-0.12-0.17-0.03330.42−$12,358−$28,230-0.2%-5.3%-52.9%0.050.06-0.00660.97−$807−$38,660
74-1.3%-37.3%-57.0%-0.11-0.14-0.02310.43−$12,041−$28,5700.2%9.1%-57.9%0.080.110.00621.06$1,469−$35,852
77-1.2%-35.0%-58.8%-0.09-0.13-0.02290.47−$12,060−$28,8700.7%27.3%-55.5%0.120.160.01581.19$4,704−$37,340
80-0.9%-26.9%-53.7%-0.05-0.07-0.02270.57−$9,967−$29,6181.1%49.4%-45.5%0.150.220.02541.32$9,155−$44,096
85-1.3%-36.9%-56.2%-0.10-0.14-0.02270.43−$13,652−$29,5970.2%9.2%-52.0%0.080.110.00541.06$1,706−$40,581
90-1.5%-41.5%-57.1%-0.13-0.17-0.03270.38−$15,390−$29,242-0.4%-13.4%-58.0%0.020.03-0.01540.91−$2,483−$36,812
95-1.3%-37.8%-59.2%-0.11-0.15-0.02250.41−$15,107−$30,5880.1%1.9%-58.0%0.060.090.00501.01$391−$40,261
100-1.2%-34.8%-57.8%-0.10-0.13-0.02240.45−$14,519−$31,542-0.1%-4.7%-57.6%0.050.06-0.00480.97−$986−$40,378

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
30-3.5%-71.8%-74.5%-0.35-0.48-0.053830.55−$1,875−$5,756-4.0%-77.0%-81.7%-0.29-0.40-0.057660.79−$1,006−$6,799
33-3.5%-72.6%-74.5%-0.36-0.49-0.053500.54−$2,075−$6,067-4.2%-78.3%-84.5%-0.30-0.42-0.057000.80−$1,118−$7,775
36-4.6%-81.8%-81.8%-0.52-0.70-0.063460.40−$2,365−$5,152-5.8%-88.4%-90.3%-0.47-0.64-0.066920.67−$1,278−$5,428
39-3.9%-76.1%-77.0%-0.43-0.58-0.053520.45−$2,162−$5,400-4.7%-82.5%-84.4%-0.37-0.51-0.067050.71−$1,170−$5,593
42-3.4%-71.4%-74.4%-0.36-0.49-0.053430.52−$2,083−$6,126-4.0%-76.4%-83.8%-0.29-0.40-0.056870.78−$1,112−$7,402
45-4.2%-78.6%-78.6%-0.47-0.63-0.053430.40−$2,291−$5,059-5.4%-86.2%-88.3%-0.43-0.58-0.066870.69−$1,255−$5,731
48-3.4%-70.6%-75.3%-0.35-0.48-0.043230.44−$2,186−$5,168-4.1%-77.7%-81.7%-0.30-0.41-0.056460.70−$1,203−$5,579
51-3.3%-69.9%-73.2%-0.35-0.48-0.043110.47−$2,247−$5,530-4.0%-77.2%-83.4%-0.30-0.41-0.056220.73−$1,241−$6,519
54-3.1%-67.6%-70.5%-0.34-0.46-0.042920.48−$2,316−$5,913-3.3%-69.7%-78.7%-0.23-0.32-0.045840.77−$1,193−$7,302
57-2.5%-59.2%-64.0%-0.25-0.35-0.042860.55−$2,070−$6,270-2.4%-58.3%-72.0%-0.15-0.21-0.035720.82−$1,019−$8,425
60-2.7%-62.1%-65.4%-0.28-0.38-0.042700.51−$2,298−$6,584-3.0%-66.7%-78.6%-0.21-0.29-0.045400.78−$1,235−$8,069
63-2.7%-62.2%-67.7%-0.28-0.39-0.042720.53−$2,288−$6,764-2.8%-64.0%-76.7%-0.19-0.26-0.045440.79−$1,177−$8,037
66-2.4%-58.9%-65.7%-0.25-0.35-0.042720.54−$2,164−$6,726-2.4%-58.7%-72.2%-0.16-0.22-0.035450.79−$1,077−$7,327
69-1.4%-40.1%-50.1%-0.13-0.17-0.032330.68−$1,722−$8,156-0.4%-12.7%-57.9%0.030.04-0.014670.97−$271−$13,691
70-1.7%-45.4%-53.7%-0.15-0.21-0.032310.64−$1,965−$7,648-1.0%-31.3%-56.0%-0.03-0.04-0.024630.91−$676−$11,511
75-1.9%-49.6%-58.7%-0.18-0.25-0.032230.60−$2,226−$7,722-1.3%-37.8%-58.3%-0.06-0.08-0.024470.88−$846−$10,038
80-1.4%-39.7%-50.9%-0.12-0.17-0.032020.69−$1,967−$8,788-0.3%-8.8%-45.8%0.040.05-0.014050.98−$216−$13,601
85-1.6%-43.2%-52.5%-0.14-0.19-0.032060.67−$2,098−$8,180-0.7%-21.7%-47.7%0.000.00-0.014120.94−$526−$12,464
90-0.7%-22.1%-53.4%-0.04-0.05-0.011980.81−$1,116−$8,1681.2%52.7%-43.3%0.160.230.033961.16$1,331−$12,439
95-1.3%-37.8%-58.3%-0.11-0.15-0.021880.65−$2,009−$7,959-0.3%-11.0%-57.6%0.030.04-0.013760.96−$293−$10,563
100-1.8%-47.9%-61.6%-0.17-0.24-0.031650.52−$2,905−$7,724-1.3%-37.0%-64.1%-0.06-0.08-0.023300.83−$1,122−$9,304
105-1.5%-41.5%-60.2%-0.13-0.18-0.021700.64−$2,440−$8,956-1.0%-30.6%-62.4%-0.03-0.04-0.023400.89−$901−$10,920
110-1.9%-49.2%-58.2%-0.17-0.24-0.031900.58−$2,590−$8,560-1.7%-46.1%-65.4%-0.09-0.12-0.033810.84−$1,211−$10,870
115-2.5%-59.7%-68.5%-0.27-0.37-0.041940.39−$3,079−$6,507-2.8%-64.4%-78.8%-0.20-0.27-0.043890.74−$1,655−$8,413
120-1.4%-39.9%-60.3%-0.13-0.18-0.021640.60−$2,431−$8,730-0.8%-24.5%-63.4%-0.01-0.02-0.013290.91−$745−$12,685

2b. EMA-170 Direction Filter On The Donchian Breakout

Client 2026-07-30. The same Donchian channel and N grid as section 2, with one extra precondition: a long may only open while the 170-period EMA is rising, a short only while it is falling. The band break is still required on top, so the filter only removes trades. Exits are untouched. The unfiltered Donchian table in section 2 is the baseline — read them side by side.

Donchian gated by the EMA-170 direction

Same lookback grid as section 2. Compare row for row against the unfiltered Donchian table above.

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
20-3.5%-72.0%-74.0%-0.42-0.57-0.05900.31−$7,999−$15,420-4.4%-80.0%-85.2%-0.39-0.53-0.052010.62−$3,978−$14,738
23-3.4%-70.7%-72.8%-0.40-0.54-0.05810.30−$8,733−$15,776-4.0%-76.8%-82.4%-0.34-0.46-0.051780.63−$4,315−$16,422
26-3.6%-73.6%-74.8%-0.43-0.57-0.05760.28−$9,680−$17,027-4.4%-80.4%-85.6%-0.38-0.51-0.051660.59−$4,841−$16,889
29-3.7%-74.4%-75.2%-0.43-0.58-0.05730.27−$10,196−$17,499-4.4%-80.2%-85.1%-0.37-0.50-0.051560.59−$5,143−$17,653
32-3.9%-76.2%-76.7%-0.46-0.61-0.05700.23−$10,881−$17,752-4.9%-83.2%-87.8%-0.41-0.56-0.061490.56−$5,586−$17,801
35-3.9%-75.9%-76.4%-0.46-0.61-0.05650.22−$11,674−$18,634-4.8%-82.9%-86.5%-0.41-0.56-0.061390.53−$5,963−$17,427
38-3.8%-74.8%-76.4%-0.45-0.60-0.05610.21−$12,267−$19,322-4.8%-83.0%-87.7%-0.41-0.56-0.051270.52−$6,532−$18,649
41-3.8%-75.2%-76.6%-0.44-0.59-0.05570.19−$13,195−$20,711-4.6%-81.4%-86.4%-0.39-0.53-0.051170.51−$6,957−$20,212
44-3.7%-73.7%-75.2%-0.41-0.55-0.05530.19−$13,913−$21,681-4.6%-81.5%-86.5%-0.38-0.52-0.051090.48−$7,479−$20,071
47-3.3%-69.9%-74.0%-0.35-0.47-0.04500.23−$13,975−$22,760-4.7%-81.9%-87.6%-0.38-0.52-0.051040.46−$7,876−$20,209
50-3.3%-69.6%-72.8%-0.34-0.47-0.04480.22−$14,506−$22,786-4.3%-79.0%-85.5%-0.34-0.46-0.05990.50−$7,977−$21,428
53-2.9%-65.2%-70.5%-0.30-0.41-0.04450.25−$14,496−$24,099-3.6%-73.1%-82.6%-0.27-0.37-0.04930.54−$7,858−$23,368
56-2.5%-59.6%-65.5%-0.25-0.34-0.04410.28−$14,527−$25,997-2.3%-55.8%-71.7%-0.14-0.20-0.03840.66−$6,647−$28,338
59-2.5%-59.9%-66.9%-0.25-0.34-0.04400.27−$14,968−$24,738-2.5%-60.3%-75.9%-0.17-0.24-0.03820.61−$7,355−$26,366
62-2.2%-55.5%-63.0%-0.22-0.30-0.04380.30−$14,613−$25,671-1.8%-48.0%-67.8%-0.10-0.14-0.03770.72−$6,235−$30,882
65-1.9%-49.2%-60.7%-0.18-0.25-0.03360.35−$13,669−$25,956-0.9%-27.1%-56.4%-0.02-0.03-0.02720.83−$3,764−$32,153
68-2.0%-51.3%-61.0%-0.19-0.26-0.03350.30−$14,648−$26,238-1.1%-33.2%-60.3%-0.04-0.06-0.02700.79−$4,743−$31,726
71-1.3%-37.2%-53.5%-0.11-0.15-0.02310.45−$11,990−$28,0400.2%8.9%-49.5%0.080.110.00631.05$1,415−$38,893
74-1.1%-32.1%-55.3%-0.08-0.11-0.02290.48−$11,063−$27,9210.5%20.0%-53.8%0.100.140.01601.14$3,334−$36,286
77-1.1%-31.8%-57.5%-0.08-0.11-0.02280.50−$11,352−$27,8860.8%32.1%-53.7%0.130.170.01571.23$5,632−$36,526
80-0.9%-28.9%-54.6%-0.06-0.09-0.02270.53−$10,692−$28,2051.1%47.2%-46.6%0.150.210.02541.31$8,735−$42,489
85-1.3%-37.5%-57.0%-0.11-0.15-0.02270.42−$13,880−$28,3220.2%6.8%-53.3%0.070.100.00541.05$1,257−$39,022
90-1.5%-41.5%-57.1%-0.13-0.17-0.03270.38−$15,390−$29,242-0.4%-13.4%-58.0%0.020.03-0.01540.91−$2,483−$36,812
95-1.3%-37.8%-59.2%-0.11-0.15-0.02250.41−$15,107−$30,5880.1%1.9%-58.0%0.060.090.00501.01$391−$40,261
100-1.2%-34.8%-57.8%-0.10-0.13-0.02240.45−$14,519−$31,542-0.1%-4.7%-57.6%0.050.06-0.00480.97−$986−$40,378

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…

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: Norgate Data continuous futures, Panama (difference) back-adjusted, rolled one business day before last trade or first notice; percentages over the real contract price (daily OHLC), truncated at 2015-12-31 — nothing after that date was read by any calculation on this page. Generated 2026-11-26 23:29:43 UTC.