CTA Trend Following

Bitcoin — Concentration, Ensemble & The Twelve Sections

Kaufman's robust-region method on Bitcoin (BTC-USD), 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 2014-09-17 → 2015-12-31 (471 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 33, SMA 39, SMA 51, SMA 120
Direction
System A — Long Only
Plateau
SMA 30–51 (8/25 tested)
Efficiency ratio (20d)
0.249
Too little in-sample history — this market is not funded. The window holds 471 bars, below the 750-bar floor this tab uses. The slowest parameter on the grid is a 120-day SMA, so a window this short has tested it a handful of times at most, and whatever the surface shows is a description of one episode rather than evidence about the market. Everything below is real arithmetic on real prices; it is the *inference* that does not hold. Excluded from the funded book and from the efficiency-ratio test 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 30–51
Width
8 of 25 tested (32%)
Periods in profit
100% of 25
Best / median / worst
2.27 / 1.08 / 0.50

Why this direction

SystemPlateau meanCoveragePeriods in profit
System A — Long Only ✓1.77432%100%
System B — Long & Short2.11316%92%

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)1.736
medium(SMA 55–80)0.836
long(SMA 81–120)1.044

Efficiency ratio over this window: 10d 0.360, 20d 0.249, 60d 0.154. 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 33short25.0%23.8%-13.3%1.221.961.781154.5%
SMA 39short25.0%26.6%-13.9%1.282.011.911154.5%
SMA 51short25.0%27.6%-24.7%0.981.401.121127.3%
SMA 120long25.0%16.1%-14.1%0.911.401.151338.5%
Ensemble (equal weight)100.0%23.5%-15.4%1.131.751.5246—
Mean pairwise correlation between the members' daily returns is 0.863. The ensemble's Sortino is +0.052 against the average of its members, and its drawdown +0.011 — 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
Ensemble1.746—4 periods from the plateau, equal weight.
Buy & hold0.378+1.368Holding the future outright over the same window.
Median cell0.826+0.920The 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 362.275-0.530The 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 $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 Bitcoin is here — do not read it while choosing parameters.
Instrument
Bitcoin (BTC-USD)
History
2014-09-17 → 2015-12-31
Trading Days / Year
365 (trades every day)
Volatility Grid
30–110% (step 10)
No trading costs on this card. Bitcoin is not a futures contract, and the client's cost model — $5.00 commission + 1.5 ticks of slippage per round turn — prices futures only. Positions are sized the same way (equity × risk ÷ 20-day ATR, rounded down to whole units of the instrument). Profit Factor is gross profit ÷ gross loss over the trades taken; Avg Trade and Avg Loss are account dollars at the chosen sizing.
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 30–110%, 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 22.9%, p10 25.3%, p25 35.6%, p50 53.6%, p75 76.1%, p90 98.2%, p95 114.5%. Metrics annualize with 365 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.

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 471 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
209.9%12.9%-12.5%0.671.010.7952.29$25,785−$33,3786.3%8.2%-18.8%0.400.610.34101.40$8,202−$41,496
2331.2%41.8%-20.0%1.151.841.5655.04$83,678−$34,50725.3%33.6%-20.0%0.901.431.26102.55$33,641−$43,448
2629.3%39.2%-20.3%1.091.731.4554.29$78,471−$39,79827.1%36.2%-22.7%0.951.531.1992.82$40,179−$39,830
2931.1%41.7%-20.4%1.141.811.5245.42$104,214−$47,15535.4%47.7%-20.4%1.161.901.7375.31$68,116−$36,888
3224.9%33.2%-18.8%1.021.601.3344.52$82,987−$47,15527.6%36.9%-18.8%1.011.631.4774.25$52,748−$28,393
3524.0%31.9%-18.8%0.981.551.2844.29$79,883−$48,62225.7%34.3%-18.8%0.951.541.3773.85$49,024−$30,156
3822.7%30.1%-18.8%0.941.481.2143.75$75,327−$54,84923.7%31.5%-18.8%0.891.441.2673.37$45,054−$33,202
4122.7%30.1%-18.8%0.941.481.2143.75$75,327−$54,84923.7%31.5%-18.8%0.891.441.2673.37$45,054−$33,202
4415.5%20.4%-21.7%0.670.970.7232.27$68,162−$80,21314.6%19.2%-26.9%0.620.910.5451.85$38,458−$75,000
4715.5%20.4%-21.7%0.670.970.7232.27$68,162−$80,21314.6%19.2%-26.9%0.620.910.5451.85$38,458−$75,000
5022.1%29.3%-21.7%0.891.291.0223.98$146,762−$98,38521.2%28.1%-26.9%0.821.200.7942.67$70,124−$83,880
5322.1%29.3%-21.7%0.891.291.0223.98$146,762−$98,38521.2%28.1%-26.9%0.821.200.7942.67$70,124−$83,880
5622.1%29.3%-21.7%0.891.291.0223.98$146,762−$98,38521.2%28.1%-26.9%0.821.200.7942.67$70,124−$83,880
5922.1%29.3%-21.7%0.891.291.0223.98$146,762−$98,38521.2%28.1%-26.9%0.821.200.7942.67$70,124−$83,880
6217.9%23.6%-23.1%0.781.120.7723.40$117,851−$98,38516.0%21.0%-29.0%0.680.990.5542.19$52,533−$88,640
6517.9%23.6%-23.1%0.781.120.7723.40$117,851−$98,38516.0%21.0%-29.0%0.680.990.5542.19$52,533−$88,640
6812.4%16.2%-21.5%0.640.880.5822.65$81,052−$98,38510.2%13.3%-27.8%0.520.730.3741.73$33,173−$90,712
7113.3%17.4%-17.5%0.711.020.7622.96$87,085−$88,98110.6%13.9%-24.1%0.550.810.4441.81$34,648−$85,693
7413.3%17.4%-17.5%0.711.020.7622.96$87,085−$88,9817.7%10.1%-24.1%0.440.640.3241.61$25,134−$82,816
7711.2%14.6%-17.5%0.640.900.6422.64$73,151−$88,9814.9%6.3%-25.0%0.330.470.1941.36$15,725−$87,356
809.6%12.6%-17.5%0.580.810.5522.41$62,884−$88,9813.2%4.1%-25.2%0.250.360.1341.23$10,231−$88,562
855.5%7.1%-16.2%0.400.550.3421.78$35,746−$91,612-3.4%-4.3%-26.3%-0.07-0.10-0.1340.79−$10,812−$101,717
905.5%7.1%-16.2%0.400.550.3421.78$35,746−$91,612-3.4%-4.3%-26.3%-0.07-0.10-0.1340.79−$10,812−$101,717
955.5%7.1%-16.2%0.400.550.3421.78$35,746−$91,612-3.4%-4.3%-26.3%-0.07-0.10-0.1340.79−$10,812−$101,717
1006.1%7.9%-13.2%0.450.640.4621.93$39,659−$85,046-3.4%-4.3%-25.1%-0.08-0.12-0.1340.78−$10,744−$98,062

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
3033.3%44.8%-19.7%1.302.081.69138.83$34,427−$11,42638.9%52.6%-19.7%1.342.161.97263.85$20,244−$15,385
3323.8%31.6%-13.3%1.221.961.78116.40$28,770−$11,73129.0%38.8%-14.0%1.252.072.06223.00$17,619−$17,630
3628.3%37.8%-13.9%1.352.142.03129.02$31,504−$7,85735.7%48.2%-14.8%1.402.282.41244.05$20,072−$12,157
3926.6%35.5%-13.9%1.282.011.91116.56$32,268−$12,77335.2%47.5%-13.9%1.372.222.53223.85$21,580−$13,903
4221.5%28.5%-14.3%1.061.651.51103.73$28,522−$20,90721.1%28.0%-14.3%0.911.431.48202.23$14,001−$22,703
4510.0%13.0%-24.3%0.510.690.41111.66$11,840−$24,8562.7%3.5%-27.5%0.240.320.10221.11$1,594−$17,498
4840.6%55.1%-20.2%1.412.272.01166.59$34,424−$8,94943.5%59.2%-20.2%1.362.212.15323.98$18,514−$11,683
5127.6%36.8%-24.7%0.981.401.12113.96$33,468−$15,56124.0%31.9%-28.1%0.841.210.85222.27$14,501−$17,934
5427.8%37.2%-24.7%0.981.421.1393.78$41,328−$26,71726.6%35.5%-28.2%0.911.320.94182.49$19,727−$26,469
5727.9%37.3%-22.5%0.991.451.2464.54$62,191−$21,08930.8%41.3%-26.6%1.031.521.16123.29$34,411−$22,585
6018.9%24.9%-24.3%0.761.080.7782.92$31,135−$18,48816.0%21.0%-29.4%0.650.930.54161.91$13,149−$21,128
6313.4%17.5%-25.9%0.600.840.5282.14$21,908−$30,8059.5%12.4%-31.6%0.460.650.30161.48$7,733−$28,489
666.2%8.0%-26.4%0.360.500.23111.42$7,280−$21,402-2.5%-3.2%-35.1%0.050.07-0.07220.90−$1,439−$18,055
6910.7%14.0%-22.7%0.550.770.47111.88$12,759−$19,8627.4%9.6%-28.9%0.400.570.25221.35$4,352−$21,069
709.4%12.3%-21.6%0.520.730.44131.77$9,429−$19,9246.3%8.2%-29.3%0.370.530.21261.28$3,142−$18,265
7510.4%13.6%-19.3%0.570.810.54112.05$12,317−$18,3584.2%5.4%-25.6%0.290.420.16221.20$2,456−$18,066
805.3%6.9%-20.3%0.360.510.26161.41$4,308−$16,6701.4%1.8%-28.2%0.170.250.05321.06$555−$16,971
855.9%7.6%-16.7%0.400.570.35151.51$5,098−$15,040-1.7%-2.2%-30.2%0.030.04-0.06300.93−$729−$14,395
909.2%12.0%-17.8%0.560.780.5292.29$13,393−$23,3712.9%3.7%-26.7%0.240.340.11181.14$2,072−$24,200
9510.8%14.1%-17.8%0.610.870.6192.36$15,680−$17,3122.2%2.9%-27.3%0.210.300.08181.10$1,581−$19,922
1008.8%11.5%-17.1%0.540.780.5191.97$12,778−$23,720-4.1%-5.3%-33.2%-0.07-0.11-0.12180.84−$2,922−$27,522
1058.0%10.5%-16.8%0.520.750.48141.85$7,482−$15,342-7.0%-8.9%-34.7%-0.22-0.32-0.20280.77−$3,174−$19,943
11021.7%28.8%-16.8%1.001.521.3093.65$32,045−$21,7539.0%11.7%-27.2%0.480.700.33181.45$6,519−$23,837
11528.4%38.0%-21.0%1.061.681.35103.34$37,978−$27,03610.6%13.8%-35.0%0.490.750.30201.41$6,921−$25,777
12016.1%21.3%-14.1%0.911.401.15132.42$16,344−$18,703-0.6%-0.8%-27.5%0.070.10-0.02260.98−$299−$17,937

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 × √365. 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-11-26 23:43:20 UTC.