Strategy Analytics

Wheat — Moving Average & Risk Layers

The same sections as the Corn MA page, on Wheat (ZW=F). Volatility ranges are calibrated to this market rather than copied from Corn.

Instrument
Wheat (ZW=F)
History
2000-07-17 → 2026-07-31
Trading Days / Year
252
Volatility Grid
20–60% (step 5)
How this market is calibrated. The volatility factor grid is 20–60%, 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 16.7%, p10 19.0%, p25 23.3%, p50 28.4%, p75 35.8%, p90 42.9%, p95 49.8%. 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 6,527 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
20-4.8%-72.1%-80.3%-0.21-0.30-0.0692-14.8%-98.4%-98.6%-0.47-0.66-0.15183
23-3.2%-56.4%-73.5%-0.14-0.20-0.0476-11.6%-95.9%-96.3%-0.37-0.52-0.12151
26-4.1%-66.6%-78.1%-0.18-0.26-0.0570-13.4%-97.6%-97.9%-0.43-0.60-0.14139
29-5.4%-76.2%-85.8%-0.23-0.34-0.0667-15.8%-98.8%-99.0%-0.51-0.70-0.16133
32-6.6%-82.9%-89.0%-0.28-0.41-0.0764-18.0%-99.4%-99.5%-0.58-0.80-0.18127
35-6.6%-83.0%-88.6%-0.28-0.41-0.0761-18.0%-99.4%-99.5%-0.58-0.80-0.18121
38-5.9%-79.0%-88.0%-0.24-0.36-0.0754-16.5%-99.1%-99.1%-0.53-0.74-0.17107
41-6.1%-80.7%-89.1%-0.25-0.37-0.0751-17.0%-99.2%-99.3%-0.54-0.76-0.17101
44-5.2%-74.7%-87.0%-0.22-0.32-0.0647-15.3%-98.6%-98.7%-0.49-0.68-0.1593
47-6.0%-79.8%-88.3%-0.25-0.37-0.0745-16.8%-99.1%-99.2%-0.53-0.75-0.1789
50-3.7%-62.6%-82.6%-0.16-0.23-0.0540-12.8%-97.1%-97.4%-0.41-0.58-0.1379
53-3.8%-63.4%-84.0%-0.16-0.24-0.0538-12.7%-97.0%-97.2%-0.41-0.58-0.1375
56-3.9%-64.4%-87.1%-0.16-0.24-0.0437-12.6%-97.0%-97.7%-0.41-0.57-0.1373
59-3.6%-61.3%-87.6%-0.15-0.23-0.0434-12.1%-96.5%-97.6%-0.39-0.55-0.1267
62-3.4%-59.5%-88.8%-0.14-0.22-0.0433-11.6%-95.9%-98.0%-0.37-0.53-0.1265
65-3.3%-58.1%-88.0%-0.14-0.21-0.0432-11.7%-96.0%-98.1%-0.38-0.54-0.1263
68-2.7%-50.7%-85.3%-0.12-0.17-0.0330-10.1%-93.7%-96.5%-0.33-0.47-0.1159
71-3.2%-57.1%-87.2%-0.13-0.20-0.0430-11.2%-95.4%-97.4%-0.36-0.51-0.1159
74-3.0%-54.8%-85.4%-0.13-0.19-0.0428-10.9%-94.9%-96.7%-0.35-0.50-0.1155
77-2.0%-40.8%-78.8%-0.08-0.13-0.0326-8.8%-90.9%-93.1%-0.28-0.41-0.0951
80-1.6%-34.1%-76.4%-0.07-0.10-0.0225-8.0%-88.4%-91.7%-0.26-0.37-0.0949
85-1.7%-36.4%-77.2%-0.07-0.11-0.0224-8.2%-89.1%-92.7%-0.26-0.38-0.0947
90-2.3%-45.6%-78.1%-0.10-0.15-0.0323-9.3%-91.9%-94.1%-0.29-0.42-0.1045
95-2.2%-43.3%-79.8%-0.09-0.14-0.0321-8.5%-90.1%-93.4%-0.27-0.39-0.0941
100-2.2%-43.4%-79.8%-0.09-0.14-0.0321-8.6%-90.1%-93.4%-0.27-0.39-0.0941

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-2.3%-45.7%-79.7%-0.10-0.15-0.03297-10.4%-94.1%-95.2%-0.34-0.48-0.11594
33-4.5%-69.5%-82.9%-0.19-0.28-0.05297-14.3%-98.2%-98.2%-0.46-0.66-0.15593
36-3.0%-55.0%-71.7%-0.13-0.19-0.04288-11.9%-96.3%-96.3%-0.39-0.55-0.12575
39-5.0%-73.8%-81.9%-0.21-0.31-0.06276-15.2%-98.6%-98.6%-0.50-0.70-0.15551
42-6.0%-79.7%-84.9%-0.25-0.37-0.07266-17.0%-99.2%-99.3%-0.55-0.78-0.17531
45-3.9%-64.5%-85.6%-0.16-0.25-0.05258-13.2%-97.4%-98.2%-0.43-0.61-0.13515
48-2.5%-48.3%-81.1%-0.10-0.16-0.03234-10.2%-93.9%-95.0%-0.33-0.48-0.11468
51-6.3%-81.6%-91.8%-0.26-0.39-0.07238-17.1%-99.2%-99.3%-0.56-0.79-0.17476
54-7.0%-84.5%-93.4%-0.29-0.42-0.07232-18.1%-99.4%-99.5%-0.59-0.83-0.18464
57-6.1%-80.4%-92.2%-0.25-0.37-0.07228-16.5%-99.1%-99.2%-0.53-0.76-0.17455
60-2.8%-52.5%-84.9%-0.12-0.18-0.03232-10.2%-93.8%-96.2%-0.33-0.48-0.11463
63-4.8%-71.6%-91.7%-0.20-0.29-0.05223-13.7%-97.8%-98.8%-0.45-0.63-0.14445
66-6.0%-80.0%-92.8%-0.25-0.37-0.06231-16.3%-99.0%-99.2%-0.53-0.74-0.16461
69-3.8%-63.6%-89.5%-0.16-0.24-0.04213-12.4%-96.7%-98.1%-0.40-0.57-0.13425
70-4.9%-72.4%-90.5%-0.20-0.30-0.05214-14.3%-98.1%-98.5%-0.46-0.66-0.14427
75-5.5%-77.1%-92.3%-0.23-0.34-0.06216-15.3%-98.7%-99.0%-0.50-0.71-0.15431
80-5.0%-73.3%-89.2%-0.21-0.31-0.06215-14.4%-98.2%-98.4%-0.47-0.67-0.15429
85-3.7%-62.2%-88.4%-0.16-0.23-0.04219-12.3%-96.7%-97.8%-0.40-0.58-0.13437
90-3.3%-57.5%-88.5%-0.14-0.20-0.04195-11.6%-95.9%-98.0%-0.38-0.54-0.12389
95-4.1%-65.9%-89.3%-0.17-0.25-0.05198-12.9%-97.2%-98.2%-0.42-0.60-0.13395
100-1.7%-36.6%-83.0%-0.07-0.11-0.02185-8.6%-90.3%-95.5%-0.28-0.40-0.09369
105-3.6%-61.5%-87.3%-0.15-0.22-0.04196-11.9%-96.3%-97.5%-0.39-0.55-0.12391
110-1.9%-39.7%-81.4%-0.08-0.12-0.02183-8.9%-91.0%-94.9%-0.29-0.42-0.09365
115-2.4%-46.1%-79.7%-0.10-0.15-0.03177-9.6%-92.7%-94.0%-0.31-0.45-0.10353
120-0.5%-12.6%-70.3%-0.02-0.03-0.01169-5.8%-78.5%-85.0%-0.19-0.27-0.07337

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…

13. Reset / No Reset

Section 7's trailing stop with the client's 2026-08-04 question on top: after a stop-out, does re-entering beat staying out? No Reset shuts that side until the SMA slope has flipped away and back, so a market that keeps falling leaves the saved profit saved. Reset waits for a new high — the side re-opens when the market closes back above the stopped-out trade's highest high, at a worse price than the exit, so that a reversal is not missed. Immediate is what section 7 itself does, since its entry signal is a state and not an event: the next bar re-enters while the slope still points the same way. Both directions are swept, so System A only resets long and System B resets whichever side was stopped out.

Loading reset-rule grid…

Source: Yahoo Finance daily OHLC, full available history. Generated 2026-07-31 15:28:52 UTC.