Strategy Analytics
Corn Moving Average & Profit Factors
SMA-slope optimization on Corn, CAGR / drawdown / Sharpe for the Donchian and MA systems, and an ATR profit-factor sweep.
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
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, profit factor and the average trade / average losing trade for every base variant (no ATR target) of both systems, on the $1,000,000 account over 12,273 daily bars. System A = Long Only, System B = Long & Short (stop-and-reverse). Returns are percentages of the starting $1,000,000; CAGR annualizes the same equity curve, so CAGR and Total Return always move in the same direction.
Donchian Breakout — Pure Channel
Lookback N grid 20–80 step 3, then 85, 90, 95, 100. Exit on the opposite N-period band break.
| N | A: CAGR | A: Total Return | A: Max DD | A: Sharpe | A: Sortino | A: Calmar | A: Profit Factor | A: Avg Trade | A: Avg Loss | B: CAGR | B: Total Return | B: Max DD | B: Sharpe | B: Sortino | B: Calmar | B: Profit Factor | B: Avg Trade | B: Avg Loss |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 20 | 1.4% | 92.1% | -55.3% | 0.18 | 0.26 | 0.02 | 1.21 | $6,874 | −$49,291 | 3.5% | 431.3% | -45.8% | 0.33 | 0.48 | 0.08 | 1.25 | $16,095 | −$107,172 |
| 23 | 1.4% | 100.8% | -55.0% | 0.19 | 0.27 | 0.03 | 1.22 | $8,331 | −$54,943 | 3.8% | 512.1% | -45.6% | 0.35 | 0.51 | 0.08 | 1.28 | $21,249 | −$129,176 |
| 26 | 2.3% | 199.4% | -44.3% | 0.27 | 0.39 | 0.05 | 1.38 | $19,550 | −$75,283 | 5.3% | 1145.1% | -47.5% | 0.47 | 0.68 | 0.11 | 1.41 | $56,407 | −$237,027 |
| 29 | 1.4% | 100.6% | -44.0% | 0.19 | 0.27 | 0.03 | 1.25 | $10,584 | −$61,057 | 4.0% | 574.5% | -45.4% | 0.37 | 0.53 | 0.09 | 1.35 | $30,394 | −$155,414 |
| 32 | 1.6% | 117.1% | -45.7% | 0.20 | 0.29 | 0.04 | 1.29 | $13,012 | −$64,294 | 4.0% | 570.6% | -43.6% | 0.36 | 0.52 | 0.09 | 1.36 | $31,880 | −$151,378 |
| 35 | 1.5% | 101.7% | -51.1% | 0.19 | 0.27 | 0.03 | 1.24 | $12,106 | −$71,793 | 3.4% | 400.6% | -47.8% | 0.32 | 0.45 | 0.07 | 1.26 | $23,991 | −$156,343 |
| 38 | 1.3% | 87.9% | -56.7% | 0.18 | 0.25 | 0.02 | 1.22 | $11,126 | −$72,998 | 3.3% | 385.7% | -53.8% | 0.31 | 0.45 | 0.06 | 1.25 | $24,564 | −$165,319 |
| 41 | 1.6% | 117.6% | -55.0% | 0.20 | 0.29 | 0.03 | 1.29 | $16,115 | −$85,400 | 3.9% | 552.3% | -46.7% | 0.36 | 0.52 | 0.08 | 1.30 | $38,089 | −$222,236 |
| 44 | 1.3% | 89.9% | -57.0% | 0.18 | 0.25 | 0.02 | 1.28 | $13,218 | −$72,919 | 3.6% | 452.2% | -42.7% | 0.33 | 0.48 | 0.08 | 1.34 | $33,494 | −$170,397 |
| 47 | 1.0% | 64.4% | -59.1% | 0.15 | 0.21 | 0.02 | 1.23 | $9,761 | −$61,993 | 3.3% | 395.8% | -45.7% | 0.31 | 0.45 | 0.07 | 1.32 | $30,211 | −$156,699 |
| 50 | 1.0% | 59.5% | -62.1% | 0.14 | 0.20 | 0.02 | 1.22 | $9,593 | −$62,320 | 3.1% | 350.0% | -52.5% | 0.30 | 0.43 | 0.06 | 1.34 | $28,454 | −$135,420 |
| 53 | 1.1% | 67.8% | -57.6% | 0.15 | 0.22 | 0.02 | 1.27 | $11,489 | −$63,858 | 3.4% | 414.3% | -43.1% | 0.32 | 0.46 | 0.08 | 1.42 | $35,410 | −$141,606 |
| 56 | 0.7% | 41.4% | -62.9% | 0.12 | 0.17 | 0.01 | 1.17 | $7,135 | −$61,335 | 2.7% | 257.7% | -49.6% | 0.26 | 0.38 | 0.05 | 1.31 | $22,411 | −$118,890 |
| 59 | 0.6% | 34.9% | -60.9% | 0.11 | 0.16 | 0.01 | 1.15 | $6,234 | −$61,422 | 2.5% | 231.3% | -44.9% | 0.25 | 0.36 | 0.06 | 1.32 | $20,839 | −$109,501 |
| 62 | 0.4% | 21.0% | -63.5% | 0.09 | 0.13 | 0.01 | 1.09 | $3,811 | −$60,030 | 2.1% | 178.8% | -47.7% | 0.23 | 0.32 | 0.04 | 1.27 | $16,406 | −$100,703 |
| 65 | 0.1% | 5.5% | -65.8% | 0.06 | 0.09 | 0.00 | 1.02 | $997 | −$57,378 | 1.5% | 103.0% | -56.5% | 0.18 | 0.25 | 0.03 | 1.17 | $9,448 | −$89,282 |
| 68 | 0.4% | 23.8% | -66.0% | 0.09 | 0.13 | 0.01 | 1.10 | $4,585 | −$67,221 | 2.5% | 231.8% | -57.6% | 0.25 | 0.36 | 0.04 | 1.26 | $22,505 | −$150,655 |
| 71 | 0.5% | 25.6% | -70.3% | 0.10 | 0.14 | 0.01 | 1.10 | $5,025 | −$70,989 | 2.2% | 193.5% | -65.5% | 0.23 | 0.33 | 0.03 | 1.21 | $19,163 | −$151,453 |
| 74 | 0.8% | 44.3% | -66.5% | 0.12 | 0.18 | 0.01 | 1.17 | $9,238 | −$76,048 | 2.7% | 273.4% | -57.4% | 0.27 | 0.38 | 0.05 | 1.27 | $28,784 | −$177,819 |
| 77 | 0.6% | 33.6% | -67.4% | 0.11 | 0.16 | 0.01 | 1.13 | $6,994 | −$71,956 | 2.4% | 220.0% | -59.4% | 0.24 | 0.35 | 0.04 | 1.24 | $23,158 | −$156,900 |
| 80 | 0.6% | 34.3% | -66.6% | 0.11 | 0.16 | 0.01 | 1.15 | $7,624 | −$73,492 | 2.7% | 264.7% | -54.1% | 0.26 | 0.38 | 0.05 | 1.34 | $29,740 | −$148,030 |
| 85 | 0.4% | 19.7% | -65.4% | 0.09 | 0.13 | 0.01 | 1.09 | $4,587 | −$71,462 | 2.4% | 211.7% | -51.8% | 0.24 | 0.34 | 0.05 | 1.32 | $24,908 | −$136,718 |
| 90 | 0.2% | 12.7% | -66.1% | 0.08 | 0.11 | 0.00 | 1.06 | $3,021 | −$72,264 | 2.2% | 187.8% | -51.0% | 0.23 | 0.33 | 0.04 | 1.30 | $22,624 | −$130,776 |
| 95 | 0.5% | 30.1% | -67.1% | 0.10 | 0.15 | 0.01 | 1.15 | $7,931 | −$82,574 | 2.8% | 280.2% | -53.0% | 0.27 | 0.39 | 0.05 | 1.45 | $37,360 | −$154,466 |
| 100 | 0.3% | 16.5% | -70.2% | 0.08 | 0.12 | 0.00 | 1.08 | $4,469 | −$83,555 | 2.4% | 214.9% | -60.7% | 0.24 | 0.35 | 0.04 | 1.34 | $29,441 | −$152,047 |
Moving Average — SMA Slope
SMA period grid 30→70 step 3, then 70→120 step 5. Exit/reverse when the SMA slope flips. Trades = the trades the account took at the chosen sizing (a signal that rounds to zero contracts is not taken).
| SMA | A: CAGR | A: Total Return | A: Max DD | A: Sharpe | A: Sortino | A: Calmar | A: Trades | A: Profit Factor | A: Avg Trade | A: Avg Loss | B: CAGR | B: Total Return | B: Max DD | B: Sharpe | B: Sortino | B: Calmar | B: Trades | B: Profit Factor | B: Avg Trade | B: Avg Loss |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 30 | 0.2% | 11.7% | -64.7% | 0.07 | 0.10 | 0.00 | 437 | 1.02 | $268 | −$17,751 | 1.6% | 113.3% | -66.8% | 0.19 | 0.26 | 0.02 | 874 | 1.06 | $1,296 | −$31,616 |
| 33 | 0.2% | 9.9% | -60.8% | 0.07 | 0.10 | 0.00 | 430 | 1.02 | $231 | −$15,767 | 1.9% | 147.2% | -61.2% | 0.21 | 0.30 | 0.03 | 860 | 1.07 | $1,712 | −$34,269 |
| 36 | 0.7% | 42.5% | -52.6% | 0.12 | 0.18 | 0.01 | 406 | 1.08 | $1,046 | −$19,068 | 2.9% | 296.9% | -57.4% | 0.29 | 0.41 | 0.05 | 812 | 1.11 | $3,656 | −$48,790 |
| 39 | 1.6% | 121.3% | -40.0% | 0.22 | 0.31 | 0.04 | 370 | 1.22 | $3,278 | −$20,797 | 4.5% | 768.4% | -39.2% | 0.41 | 0.60 | 0.12 | 739 | 1.27 | $10,398 | −$58,871 |
| 42 | 1.6% | 112.8% | -42.2% | 0.21 | 0.30 | 0.04 | 343 | 1.23 | $3,288 | −$19,709 | 4.4% | 706.4% | -41.1% | 0.40 | 0.57 | 0.11 | 685 | 1.25 | $10,313 | −$61,472 |
| 45 | 1.7% | 122.0% | -41.3% | 0.21 | 0.31 | 0.04 | 332 | 1.26 | $3,676 | −$20,578 | 4.6% | 801.1% | -34.1% | 0.41 | 0.59 | 0.14 | 663 | 1.28 | $12,082 | −$64,065 |
| 48 | 2.6% | 247.2% | -38.1% | 0.30 | 0.44 | 0.07 | 327 | 1.37 | $7,560 | −$28,852 | 6.0% | 1575.3% | -35.7% | 0.51 | 0.74 | 0.17 | 653 | 1.33 | $24,125 | −$109,468 |
| 51 | 1.5% | 102.1% | -54.7% | 0.19 | 0.28 | 0.03 | 303 | 1.20 | $3,369 | −$21,921 | 3.8% | 503.5% | -60.9% | 0.35 | 0.50 | 0.06 | 605 | 1.19 | $8,322 | −$60,844 |
| 54 | 2.1% | 178.2% | -50.5% | 0.25 | 0.36 | 0.04 | 290 | 1.29 | $6,145 | −$28,412 | 4.8% | 892.5% | -55.3% | 0.42 | 0.61 | 0.09 | 579 | 1.24 | $15,415 | −$93,214 |
| 57 | 2.2% | 184.4% | -56.4% | 0.26 | 0.38 | 0.04 | 279 | 1.30 | $6,609 | −$29,972 | 5.2% | 1066.0% | -63.0% | 0.45 | 0.65 | 0.08 | 557 | 1.24 | $19,139 | −$116,738 |
| 60 | 1.1% | 73.2% | -65.2% | 0.16 | 0.23 | 0.02 | 297 | 1.15 | $2,464 | −$20,880 | 3.2% | 354.8% | -67.6% | 0.30 | 0.43 | 0.05 | 593 | 1.16 | $5,983 | −$51,876 |
| 63 | 1.0% | 66.3% | -61.1% | 0.15 | 0.22 | 0.02 | 307 | 1.14 | $2,158 | −$19,760 | 3.0% | 324.6% | -62.8% | 0.30 | 0.42 | 0.05 | 613 | 1.14 | $5,296 | −$51,429 |
| 66 | 1.2% | 82.5% | -51.9% | 0.17 | 0.25 | 0.02 | 291 | 1.19 | $2,837 | −$18,928 | 3.3% | 390.6% | -60.6% | 0.32 | 0.45 | 0.05 | 581 | 1.21 | $6,723 | −$44,931 |
| 69 | 1.6% | 117.5% | -48.8% | 0.21 | 0.30 | 0.03 | 266 | 1.26 | $4,418 | −$22,468 | 4.0% | 576.1% | -52.2% | 0.37 | 0.53 | 0.08 | 531 | 1.25 | $10,850 | −$61,378 |
| 70 | 2.0% | 168.1% | -40.1% | 0.25 | 0.36 | 0.05 | 259 | 1.35 | $6,490 | −$25,033 | 5.1% | 1021.5% | -43.1% | 0.45 | 0.64 | 0.12 | 517 | 1.33 | $19,759 | −$87,743 |
| 75 | 1.6% | 111.7% | -46.0% | 0.20 | 0.29 | 0.03 | 250 | 1.27 | $4,468 | −$21,335 | 4.6% | 792.2% | -56.5% | 0.41 | 0.59 | 0.08 | 499 | 1.30 | $15,876 | −$74,816 |
| 80 | 1.8% | 134.5% | -46.7% | 0.22 | 0.32 | 0.04 | 239 | 1.30 | $5,626 | −$24,581 | 4.4% | 696.7% | -49.4% | 0.39 | 0.56 | 0.09 | 477 | 1.29 | $14,606 | −$72,248 |
| 85 | 0.6% | 33.4% | -57.5% | 0.11 | 0.16 | 0.01 | 247 | 1.10 | $1,352 | −$17,202 | 2.1% | 173.4% | -56.8% | 0.22 | 0.32 | 0.04 | 493 | 1.16 | $3,517 | −$30,574 |
| 90 | 0.2% | 11.9% | -64.8% | 0.07 | 0.11 | 0.00 | 252 | 1.04 | $473 | −$16,504 | 1.5% | 108.2% | -61.4% | 0.18 | 0.26 | 0.02 | 503 | 1.10 | $2,152 | −$30,372 |
| 95 | 0.7% | 41.3% | -55.4% | 0.12 | 0.17 | 0.01 | 254 | 1.12 | $1,627 | −$17,550 | 2.3% | 202.2% | -59.1% | 0.24 | 0.34 | 0.04 | 507 | 1.16 | $3,987 | −$35,322 |
| 100 | 1.2% | 82.1% | -52.8% | 0.17 | 0.24 | 0.02 | 249 | 1.24 | $3,299 | −$18,666 | 3.3% | 382.7% | -52.1% | 0.31 | 0.44 | 0.06 | 497 | 1.29 | $7,700 | −$38,447 |
| 105 | 1.2% | 82.7% | -54.0% | 0.17 | 0.24 | 0.02 | 219 | 1.28 | $3,775 | −$18,981 | 3.3% | 385.5% | -53.7% | 0.31 | 0.44 | 0.06 | 437 | 1.35 | $8,821 | −$35,986 |
| 110 | 0.4% | 20.7% | -64.2% | 0.09 | 0.13 | 0.01 | 211 | 1.08 | $981 | −$16,710 | 1.7% | 127.4% | -50.6% | 0.19 | 0.28 | 0.03 | 421 | 1.19 | $3,025 | −$24,663 |
| 115 | -0.3% | -14.9% | -70.5% | 0.02 | 0.03 | -0.00 | 221 | 0.94 | −$673 | −$15,038 | -0.2% | -7.3% | -68.9% | 0.05 | 0.08 | -0.00 | 441 | 0.99 | −$165 | −$16,302 |
| 120 | -0.7% | -27.4% | -76.0% | -0.01 | -0.01 | -0.01 | 219 | 0.88 | −$1,252 | −$14,143 | -0.6% | -24.2% | -77.9% | 0.02 | 0.03 | -0.01 | 437 | 0.95 | −$554 | −$15,445 |
3. Equity Curve Explorer
Pick any strategy — system, variant, direction, and ATR profit target (or Base) — to see its equity curve: month-end cumulative return of the $1,000,000 account at the chosen sizing, starting at 0% — or, with “Show as”, the account in dollars. Use “Compare A vs B” to overlay long-only against long & short.
Equity curves for every strategy (system × variant × direction × profit target) are loaded on demand (~1 MB per position sizing).
4. Profit Factor Sweep
For every Donchian variant and every MA variant, an ATR profit target is swept from 1.5 to 10.0 (step 0.5) — 900 Donchian strategies and 900 MA strategies. Pick a system, variant, and direction to see how CAGR, Sharpe, and total return respond to the target distance. The swept multiple is labelled ATR Target in the charts and tables, so it is not confused with the Profit Factor column (gross profit ÷ gross loss).
5. Volatility-Adjusted Profit Target (Dynamic)
SMA system only. The same ATR profit-target sweep as section 4, but the target is recomputed each day from the current ATR (target = entry ± PF × ATR₂₀ today) instead of being frozen at entry. Because it stays measured from the original entry price it only expands or contracts modestly as volatility changes — a more dynamic take-profit that adapts to the market. Pick a variant and direction to compare its CAGR, Sharpe, and total return against the static target above. Click an ATR target under the charts to take it off them, so the axis rescales to the rest.
6. Stop Loss Sweep
SMA system only. For every MA variant a protective ATR stop is swept from 1.5 to 10.0 (step 0.5) — 900 MA strategies. 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. Tighter stops cap per-trade losses to try to reduce max drawdown. Pick a variant and direction to see how max drawdown, CAGR, and Sharpe respond to the stop distance.
7. ATR Trailing Stop Sweep
SMA system only. A trailing ATR stop, distinct from the fixed stop in section 6: stop = best price reached since entry ∓ f × ATR₂₀, recomputed every day. It ratchets in the trade's favour as the move extends and retreats when volatility rises, giving the trade room. After a stop-out the strategy waits for the next SMA-slope signal to re-enter. The factor is swept 1.0 → 10.0 (step 0.5) — 950 MA strategies. Pick a variant and direction to see how max drawdown, CAGR, and Sharpe respond to the trail distance.
7b. ATR Trailing Stop — Equity Curve
Section 7 as an equity curve: pick an SMA period, direction and trailing factor to see the strategy's month-end cumulative return, net of costs, against the plain SMA system with no stop. Every factor of the section-7 sweep is here, so any row of its table can be looked at as a curve.
Loading equity curves…
8. Stop Loss + Time Stop — Equity Curves
SMA system only. The full strategy is now: enter on the SMA slope, exit on the opposite signal, ATR stop loss (entry ∓ SL × ATR₂₀), and a time stop — exit a trade still not in profit 5/10/15/20/30/40 days after entry. Pick an SMA period, direction, and ATR SL factor to overlay the equity curve of the ATR stop alone against the 5/10/15/20/30/40-day time-stop upgrades, with CAGR / max drawdown / Sharpe for each.
Equity curves for the SMA stop-loss / time-stop family (every period × direction × ATR SL factor × time stop) are loaded on demand.
9. Time Stop Only — Equity Curves
SMA system only, with no ATR stop — the only risk control is the time stop, so you can judge it on its own as an alternative to the ATR exit. Each line exits a trade still underwater 5/10/15/20/30/40 days after entry; the baseline holds every trade until the SMA slope flips. Pick an SMA period and direction to overlay the equity curve of the plain SMA system against each time-stop-only variant, with CAGR / max drawdown / Sharpe for each.
Equity curves for the SMA time-stop-only family (every period × direction × time stop) are loaded on demand.
10. Volatility Filter Sweep
SMA system only, and the filter is judged on its own — no ATR stop, no target, no time stop. Volatility is the annualized standard deviation of daily returns: the standard deviation of the last 20 daily returns × √252. The volatility factor is swept from 20% to 60% (step 5) as a maximum: a new position is only opened on a day whose volatility sits at or below the factor, so the strategy stands aside in turbulent markets. An open trade is never closed by the filter, which keeps every row directly comparable to the unfiltered system — shown as the dashed “no filter” line on each chart and as the first table row. 450 MA strategies in total.
11. Volatility Filter + ATR Trailing Stop
SMA system only. The first combined risk layer on this page: the volatility filter from section 10 and the ATR trailing stop from section 7 running in the same strategy, with both dimensions swept together. A new position is opened only on a day whose annualized 20-day volatility is at or below the volatility factor, and once open the trade exits on the trailing stop (best price reached since entry ∓ f × ATR₂₀, recomputed daily) or on the opposite SMA-slope signal, whichever comes first. That is 19 trailing factors × 9 volatility factors × 25 SMA periods × 2 directions = 8,550 strategies. The dashed line and the last table column are section 7 on its own, so you can read directly whether adding the filter to the trailing stop helps.
11b. Volatility Filter + ATR Trailing Stop — Equity Curve
Section 11 as an equity curve: pick an SMA period, direction, trailing factor and volatility cap to see the combined strategy's month-end cumulative return, net of costs, against the trailing stop alone (section 7, same factor) and the plain SMA system. Trailing factors 1, 2, 3, 4, 5, 6, 7, 8, 9, 10; the section-11 matrix above keeps every half-step.
Loading equity curves…
12. Volatility Regime Switch
SMA system only, judged on its own — no ATR stop, no target, no time stop. Same volatility measure and same 20–60% factors as section 10, but the factor now acts as a regime switch rather than an entry filter: when volatility rises above it the open position is closed at that day's close, no new position is opened while volatility stays above it, and as soon as volatility falls back to the factor or below the position is re-opened on the first day the SMA slope still points the right way — no fresh signal flip required. Each chart draws section 12 against section 10 at the same factor, plus the unfiltered “no filter” baseline, which isolates what closing the trade adds on top of merely standing aside.
13. Reset / No Reset
The section-7 ATR trailing stop again, with the client's 2026-08-04 question layered on top: what should happen after a stop-out? No Reset treats the stop-out as final — that side stays shut until the SMA slope has flipped away and back, so if prices keep falling the saved profit stays saved. Reset waits for a new high instead: the side re-opens as soon as the market closes back above the highest high the stopped-out trade had reached, even though that is a worse price than the exit, because otherwise a reversal straight after the stop is missed entirely. Immediate is what sections 6, 7 and 11 have always done and is here as the honest third reading: the entry signal is a state rather than an event, so the very next bar re-enters while the slope still points the same way. Both directions are swept, so System A only ever resets long and System B resets whichever side was stopped out. 19 factors × 25 SMA periods × 2 directions × 3 rules = 2,850 strategies.
14. Trade Log — Entry & Exit Dates
The dated trade list behind the sweeps, so a volatility setting can be read as dates rather than as a summary metric: when each position was opened and closed, at what price, what closed it, and how long the system then sat flat before the next entry. Corn only for now, on the client's instruction. Four risk layers are covered — the ATR trailing stop under all three re-entry rules from section 13, the section-10 volatility filter, the section-12 regime switch, and the plain SMA system. The trailing-stop factors here are the whole numbers 1–10 rather than all nineteen half-steps; a trade log is two orders of magnitude bulkier per setting than a sweep row, and section 13 keeps the full resolution for the metrics.
Source: Norgate Data continuous futures, Panama (difference) back-adjusted, rolled one business day before first notice (daily OHLC), full available history. Generated 2026-11-26 19:43:37 UTC.