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.
Funded entries
SMA 75, SMA 85, SMA 95, SMA 105
Direction
System A — Long Only
Plateau
none — no robust region
Efficiency ratio (20d)
0.227
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
0% of 25
Best / median / worst
-0.16 / -0.47 / -0.77

Why this direction

SystemPlateau meanCoveragePeriods in profit
System A — Long Only ✓0.0000%0%
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.624
medium(SMA 55–80)-0.411
long(SMA 81–120)-0.321

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 — 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 75medium25.0%-5.5%-89.8%-0.28-0.39-0.0622327.8%
SMA 85long25.0%-4.9%-84.6%-0.25-0.35-0.0620623.3%
SMA 95long25.0%-3.8%-86.3%-0.19-0.27-0.0418828.7%
SMA 105long25.0%-4.1%-86.2%-0.21-0.30-0.0517024.7%
Ensemble (equal weight)100.0%-4.4%-84.5%-0.24-0.33-0.05787—
Mean pairwise correlation between the members' daily returns is 0.846. The ensemble's Sortino is -0.005 against the average of its members, and its drawdown +0.022 — 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.331—4 periods from the plateau, equal weight.
Buy & hold-0.387+0.057Holding the future outright over the same window.
Median cell-0.464+0.133The 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 90-0.002-0.329The 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 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. Half is charged on entry and half on exit (a position still open at the end has paid only its entry half); on the compounding curve the cost is a share of the contract's real value at entry, so it weighs more on short, frequent trades. Profit Factor is gross profit ÷ gross loss over all trades (not the ATR target multiple sections 4–5 call “profit factor”); Avg Trade and Avg Loss are net USD per contract. Contract rolls are not charged as extra round turns.
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 a position lost more than its stake — typically a short in a contract that more than doubled before the exit — and the later numbers in that cell are not meaningful. 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 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, 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-11.0%-98.5%-98.7%-0.53-0.72-0.111240.38−$566−$1,239-16.8%-99.9%-99.9%-0.59-0.81-0.172480.54−$397−$1,212
23-10.4%-98.0%-98.3%-0.49-0.68-0.111080.39−$595−$1,283-15.7%-99.8%-99.9%-0.56-0.76-0.162160.56−$401−$1,292
26-10.2%-97.9%-98.1%-0.49-0.67-0.10970.37−$685−$1,425-15.5%-99.8%-99.9%-0.55-0.75-0.161940.54−$468−$1,436
29-9.8%-97.5%-97.7%-0.47-0.65-0.10890.35−$741−$1,483-14.7%-99.7%-99.8%-0.53-0.72-0.151780.53−$504−$1,509
32-10.4%-98.0%-98.1%-0.50-0.69-0.11830.33−$820−$1,561-15.8%-99.8%-99.9%-0.57-0.77-0.161660.50−$563−$1,581
35-10.4%-98.1%-98.1%-0.51-0.70-0.11780.30−$876−$1,583-15.8%-99.8%-99.9%-0.56-0.77-0.161560.48−$603−$1,595
38-9.9%-97.6%-97.8%-0.50-0.68-0.10700.31−$865−$1,572-15.3%-99.7%-99.8%-0.55-0.75-0.151400.51−$584−$1,638
41-9.6%-97.3%-97.5%-0.48-0.66-0.10640.27−$942−$1,662-14.9%-99.7%-99.8%-0.54-0.74-0.151280.49−$635−$1,744
44-9.4%-97.1%-97.3%-0.48-0.65-0.10590.27−$1,014−$1,733-14.5%-99.6%-99.8%-0.53-0.72-0.151180.47−$681−$1,774
47-9.2%-96.8%-97.4%-0.46-0.63-0.09560.33−$971−$1,792-13.9%-99.5%-99.7%-0.51-0.69-0.141120.52−$620−$1,758
50-8.6%-96.1%-96.9%-0.43-0.59-0.09530.31−$980−$1,758-13.0%-99.3%-99.6%-0.47-0.64-0.131060.53−$608−$1,746
53-8.3%-95.4%-96.4%-0.41-0.56-0.09500.31−$1,016−$1,849-12.2%-99.1%-99.6%-0.44-0.61-0.121000.54−$623−$1,815
56-6.5%-91.2%-93.4%-0.32-0.44-0.07450.36−$915−$1,833-8.7%-96.2%-98.2%-0.32-0.44-0.09900.63−$478−$1,842
59-7.1%-92.8%-95.1%-0.35-0.49-0.07440.34−$960−$1,769-9.8%-97.5%-98.9%-0.36-0.50-0.10880.60−$520−$1,800
62-6.4%-90.5%-93.4%-0.32-0.44-0.07410.37−$900−$1,769-8.5%-95.8%-98.2%-0.31-0.43-0.09820.67−$428−$1,806
65-5.1%-84.9%-89.6%-0.26-0.36-0.06380.41−$799−$1,728-6.1%-89.5%-95.4%-0.23-0.32-0.06760.77−$290−$1,737
68-5.2%-85.2%-89.2%-0.26-0.36-0.06370.38−$851−$1,750-6.1%-89.3%-95.0%-0.23-0.31-0.06740.74−$329−$1,780
71-3.6%-73.3%-84.1%-0.18-0.25-0.04330.52−$616−$1,697-2.6%-60.8%-83.4%-0.10-0.14-0.03660.97−$34−$1,679
74-3.2%-68.8%-86.3%-0.16-0.23-0.04310.56−$537−$1,659-1.6%-44.7%-86.8%-0.06-0.09-0.02621.08$83−$1,610
77-2.6%-61.1%-85.2%-0.13-0.18-0.03290.65−$441−$1,601-0.3%-8.8%-84.8%-0.01-0.01-0.00581.21$222−$1,537
80-2.0%-50.8%-80.3%-0.10-0.14-0.02270.70−$374−$1,5890.6%25.8%-76.3%0.030.040.01541.31$326−$1,622
85-2.8%-64.2%-82.9%-0.15-0.21-0.03270.54−$634−$1,702-1.2%-35.8%-80.4%-0.05-0.07-0.02541.04$45−$1,766
90-3.6%-73.2%-83.7%-0.19-0.27-0.04270.45−$826−$1,775-3.0%-65.8%-86.7%-0.11-0.16-0.03540.88−$157−$1,848
95-3.1%-67.8%-85.1%-0.17-0.24-0.04250.51−$720−$1,740-2.6%-61.0%-87.9%-0.10-0.14-0.03500.99−$12−$1,864
100-3.3%-69.4%-85.6%-0.18-0.25-0.04240.50−$765−$1,845-2.9%-65.2%-89.0%-0.11-0.16-0.03480.97−$35−$1,962

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-9.3%-97.0%-97.4%-0.45-0.62-0.103830.56−$155−$485-13.4%-99.4%-99.6%-0.48-0.66-0.137660.71−$99−$485
33-8.9%-96.4%-97.0%-0.43-0.60-0.093500.55−$173−$522-12.8%-99.3%-99.7%-0.46-0.64-0.137000.70−$113−$538
36-11.3%-98.7%-98.7%-0.56-0.77-0.123460.46−$214−$519-17.3%-99.9%-99.9%-0.62-0.85-0.176920.61−$153−$539
39-9.3%-96.9%-97.4%-0.45-0.63-0.103520.55−$168−$512-13.4%-99.4%-99.5%-0.49-0.67-0.137050.70−$111−$508
42-8.1%-95.2%-96.2%-0.40-0.55-0.083430.59−$145−$503-11.2%-98.6%-99.4%-0.41-0.57-0.116870.75−$86−$494
45-10.1%-97.8%-97.9%-0.50-0.69-0.103430.47−$190−$473-15.2%-99.7%-99.8%-0.55-0.75-0.156870.64−$131−$505
48-8.7%-96.2%-96.9%-0.44-0.60-0.093230.56−$155−$468-12.3%-99.1%-99.4%-0.45-0.61-0.126460.73−$92−$483
51-8.9%-96.5%-97.0%-0.45-0.62-0.093110.54−$173−$485-13.0%-99.3%-99.6%-0.48-0.65-0.136220.71−$108−$516
54-8.0%-94.9%-95.8%-0.40-0.55-0.082920.59−$155−$504-11.4%-98.7%-99.3%-0.42-0.57-0.115840.77−$86−$531
57-6.8%-92.0%-92.8%-0.34-0.47-0.072860.61−$137−$481-8.8%-96.4%-98.2%-0.32-0.45-0.095720.81−$68−$514
60-7.1%-92.8%-93.9%-0.36-0.49-0.082700.57−$164−$542-9.4%-97.1%-98.8%-0.35-0.48-0.105400.76−$90−$543
63-7.4%-93.7%-94.8%-0.38-0.52-0.082720.59−$158−$536-10.0%-97.7%-98.9%-0.37-0.51-0.105440.77−$84−$523
66-6.6%-91.5%-93.6%-0.33-0.46-0.072720.61−$149−$545-8.4%-95.8%-97.7%-0.31-0.43-0.095450.78−$77−$507
69-4.3%-79.2%-84.3%-0.22-0.30-0.052330.69−$110−$538-4.0%-76.7%-91.9%-0.15-0.21-0.044670.92−$27−$532
70-5.2%-85.2%-87.1%-0.26-0.37-0.062310.65−$141−$558-5.8%-88.4%-93.5%-0.22-0.30-0.064630.85−$56−$555
75-5.5%-87.1%-89.8%-0.28-0.39-0.062230.65−$147−$584-6.2%-90.0%-94.9%-0.23-0.32-0.074470.84−$59−$553
80-4.1%-77.6%-82.1%-0.21-0.29-0.052020.69−$130−$594-3.7%-74.2%-85.3%-0.14-0.20-0.044050.91−$35−$570
85-4.9%-83.2%-84.6%-0.25-0.35-0.062060.64−$162−$589-5.3%-85.5%-92.0%-0.20-0.28-0.064120.83−$70−$582
90-2.2%-55.4%-82.9%-0.11-0.16-0.031980.89−$41−$515-0.0%-1.5%-75.3%-0.00-0.00-0.003961.15$51−$489
95-3.8%-74.9%-86.3%-0.19-0.27-0.041880.69−$120−$551-2.9%-65.4%-87.5%-0.11-0.16-0.033760.94−$23−$529
100-4.2%-78.6%-87.4%-0.22-0.30-0.051650.66−$142−$540-3.9%-76.0%-88.3%-0.15-0.21-0.043300.91−$35−$546
105-4.1%-77.5%-86.2%-0.21-0.30-0.051700.67−$138−$556-3.9%-75.9%-90.9%-0.15-0.21-0.043400.90−$38−$545
110-5.6%-87.4%-91.7%-0.29-0.41-0.061900.56−$188−$594-7.3%-93.3%-97.2%-0.28-0.39-0.073810.75−$101−$564
115-6.6%-91.4%-94.8%-0.35-0.48-0.071940.50−$201−$512-9.6%-97.3%-99.1%-0.37-0.51-0.103890.72−$111−$532
120-4.1%-78.0%-90.1%-0.22-0.30-0.051640.70−$118−$555-4.5%-80.7%-96.4%-0.18-0.24-0.053290.96−$15−$569

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-8.2%-95.2%-95.8%-0.47-0.63-0.09900.36−$640−$1,321-12.9%-99.3%-99.6%-0.52-0.70-0.132010.55−$386−$1,215
23-7.9%-94.7%-95.3%-0.44-0.59-0.08810.37−$659−$1,333-11.6%-98.8%-99.3%-0.46-0.63-0.121780.59−$364−$1,270
26-8.2%-95.3%-95.7%-0.45-0.61-0.09760.37−$740−$1,480-12.5%-99.2%-99.5%-0.49-0.66-0.131660.56−$447−$1,443
29-8.2%-95.4%-95.7%-0.45-0.61-0.09730.34−$801−$1,516-12.4%-99.1%-99.5%-0.48-0.66-0.121560.54−$487−$1,498
32-8.7%-96.2%-96.3%-0.47-0.64-0.09700.33−$870−$1,620-13.8%-99.5%-99.7%-0.53-0.72-0.141490.51−$557−$1,591
35-8.5%-95.8%-95.9%-0.46-0.62-0.09650.31−$914−$1,653-13.2%-99.4%-99.6%-0.50-0.69-0.131390.51−$570−$1,589
38-8.4%-95.7%-96.2%-0.46-0.63-0.09610.30−$924−$1,652-12.9%-99.3%-99.6%-0.49-0.68-0.131270.53−$552−$1,624
41-8.3%-95.4%-95.9%-0.44-0.60-0.09570.27−$979−$1,706-12.4%-99.1%-99.5%-0.47-0.65-0.121170.52−$580−$1,703
44-7.8%-94.6%-95.2%-0.42-0.57-0.08530.27−$1,008−$1,749-12.1%-99.0%-99.5%-0.46-0.63-0.121090.51−$610−$1,736
47-7.3%-93.4%-94.6%-0.39-0.53-0.08500.35−$926−$1,781-12.1%-99.0%-99.5%-0.45-0.62-0.121040.54−$582−$1,764
50-7.0%-92.6%-93.9%-0.37-0.50-0.07480.34−$949−$1,765-11.3%-98.6%-99.3%-0.42-0.58-0.11990.56−$568−$1,760
53-6.5%-91.1%-93.0%-0.34-0.47-0.07450.34−$976−$1,852-10.3%-97.9%-99.2%-0.38-0.52-0.10930.58−$549−$1,805
56-5.4%-86.2%-89.6%-0.27-0.38-0.06410.39−$880−$1,833-7.3%-93.3%-97.3%-0.27-0.38-0.07840.68−$400−$1,832
59-5.6%-87.3%-91.4%-0.29-0.40-0.06400.37−$888−$1,715-7.9%-94.8%-98.2%-0.30-0.41-0.08820.67−$418−$1,751
62-5.2%-85.2%-89.8%-0.27-0.37-0.06380.40−$844−$1,715-6.9%-92.2%-97.2%-0.26-0.36-0.07770.74−$331−$1,756
65-4.4%-79.7%-87.3%-0.22-0.31-0.05360.44−$745−$1,651-4.9%-83.2%-93.8%-0.18-0.26-0.05720.84−$190−$1,668
68-4.4%-79.9%-86.7%-0.22-0.31-0.05350.41−$790−$1,662-4.8%-82.9%-93.2%-0.18-0.25-0.05700.81−$225−$1,706
71-2.8%-63.5%-80.2%-0.14-0.20-0.03310.57−$528−$1,586-1.4%-40.5%-77.3%-0.05-0.08-0.02631.07$75−$1,583
74-2.3%-57.1%-82.0%-0.12-0.17-0.03290.63−$435−$1,532-0.8%-23.9%-81.8%-0.03-0.04-0.01601.15$153−$1,540
77-2.2%-54.3%-82.6%-0.11-0.16-0.03280.68−$399−$1,5130.2%7.2%-82.1%0.010.010.00571.25$254−$1,485
80-2.1%-53.0%-81.2%-0.11-0.15-0.03270.68−$393−$1,5250.5%20.1%-77.4%0.020.030.01541.30$317−$1,582
85-2.9%-65.4%-83.5%-0.16-0.22-0.03270.53−$649−$1,636-1.3%-38.1%-81.1%-0.05-0.07-0.02541.03$38−$1,725
90-3.6%-73.2%-83.7%-0.19-0.27-0.04270.45−$826−$1,775-3.0%-65.8%-86.7%-0.11-0.16-0.03540.88−$157−$1,848
95-3.1%-67.8%-85.1%-0.17-0.24-0.04250.51−$720−$1,740-2.6%-61.0%-87.9%-0.10-0.14-0.03500.99−$12−$1,864
100-3.3%-69.4%-85.6%-0.18-0.25-0.04240.50−$765−$1,845-2.9%-65.2%-89.0%-0.11-0.16-0.03480.97−$35−$1,962

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.

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: 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-10-06 13:33:59 UTC.