Strategy Analytics

30-Year T-Bond — Moving Average & Risk Layers

The same sections as the Corn MA page, on 30-Year T-Bond (ZB=F). Volatility ranges are calibrated to this market rather than copied from Corn.

Instrument
30-Year T-Bond (ZB=F)
History
2000-09-21 → 2026-07-30
Trading Days / Year
252
Volatility Grid
6–22% (step 2)
How this market is calibrated. The volatility factor grid is 6–22%, 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 5.7%, p10 6.2%, p25 7.3%, p50 9.3%, p75 11.8%, p90 14.7%, p95 16.7%. 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,498 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
200.2%5.9%-22.1%0.030.040.0178-0.2%-6.2%-26.0%-0.02-0.03-0.01156
23-0.3%-7.9%-23.8%-0.04-0.06-0.0172-1.3%-28.2%-45.5%-0.12-0.18-0.03144
26-0.8%-19.7%-27.2%-0.12-0.16-0.0367-2.4%-46.2%-60.0%-0.23-0.31-0.04134
29-0.8%-19.7%-26.7%-0.11-0.16-0.0361-2.4%-46.0%-57.6%-0.23-0.31-0.04122
32-1.3%-29.4%-34.1%-0.18-0.25-0.0456-3.4%-58.5%-67.6%-0.32-0.44-0.05112
35-1.1%-25.6%-35.2%-0.15-0.21-0.0349-3.0%-53.8%-60.6%-0.28-0.39-0.0598
38-1.0%-22.5%-32.5%-0.13-0.18-0.0346-2.7%-50.0%-59.1%-0.25-0.35-0.0492
41-1.0%-22.8%-33.5%-0.13-0.18-0.0343-2.7%-50.1%-57.0%-0.25-0.35-0.0586
44-1.0%-22.3%-32.4%-0.13-0.17-0.0341-2.6%-49.9%-60.3%-0.25-0.34-0.0482
47-0.8%-17.7%-34.2%-0.09-0.13-0.0239-2.1%-42.3%-50.6%-0.20-0.29-0.0478
50-1.1%-24.9%-39.2%-0.14-0.20-0.0338-2.7%-51.0%-54.8%-0.26-0.37-0.0576
53-0.8%-19.6%-39.8%-0.11-0.15-0.0235-2.2%-43.0%-50.6%-0.21-0.29-0.0470
56-1.0%-23.3%-38.2%-0.13-0.18-0.0334-2.5%-48.0%-54.7%-0.24-0.34-0.0568
59-0.6%-15.3%-35.5%-0.08-0.11-0.0231-1.7%-35.8%-45.0%-0.16-0.23-0.0462
62-0.7%-15.9%-36.3%-0.08-0.12-0.0230-1.7%-36.0%-44.2%-0.16-0.23-0.0460
65-0.5%-13.1%-37.7%-0.07-0.10-0.0128-1.4%-31.2%-45.8%-0.14-0.20-0.0356
68-0.8%-18.6%-38.2%-0.10-0.14-0.0227-1.9%-39.6%-46.7%-0.19-0.26-0.0454
71-0.3%-7.0%-38.9%-0.03-0.05-0.0124-1.1%-24.3%-46.8%-0.10-0.15-0.0249
74-0.2%-6.2%-39.8%-0.03-0.04-0.0123-1.0%-23.2%-48.3%-0.10-0.14-0.0247
77-0.1%-2.3%-34.6%-0.01-0.02-0.0022-0.8%-17.9%-44.2%-0.07-0.11-0.0245
80-0.2%-4.3%-35.7%-0.02-0.03-0.0022-0.9%-21.2%-45.1%-0.09-0.13-0.0245
850.2%5.8%-34.2%0.030.040.0120-0.1%-2.3%-43.9%-0.01-0.01-0.0041
900.2%5.4%-34.0%0.020.040.0119-0.1%-2.4%-39.9%-0.01-0.01-0.0039
950.3%6.8%-34.8%0.030.040.0118-0.0%-0.8%-40.8%-0.00-0.00-0.0037
100-0.1%-3.4%-37.9%-0.02-0.02-0.0018-0.8%-19.0%-44.1%-0.08-0.11-0.0237

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-1.0%-22.8%-35.1%-0.13-0.19-0.03302-2.8%-51.9%-63.3%-0.27-0.37-0.04604
33-0.7%-17.4%-33.1%-0.10-0.14-0.02268-2.3%-44.9%-56.7%-0.22-0.30-0.04536
36-0.5%-11.0%-25.1%-0.06-0.08-0.02257-1.7%-36.2%-59.7%-0.17-0.23-0.03514
39-0.0%-0.1%-24.6%-0.00-0.00-0.00239-0.8%-18.2%-54.0%-0.07-0.10-0.01478
420.4%9.5%-18.3%0.050.070.02232-0.1%-1.4%-48.9%-0.01-0.01-0.00464
450.6%15.5%-20.3%0.070.100.032230.4%9.8%-43.9%0.030.050.01446
48-0.5%-11.9%-23.6%-0.06-0.09-0.02238-1.6%-33.9%-55.4%-0.15-0.22-0.03476
51-0.2%-5.2%-25.0%-0.03-0.04-0.01205-1.0%-22.7%-41.5%-0.10-0.14-0.02410
540.1%2.8%-29.2%0.010.020.00198-0.3%-7.1%-32.0%-0.03-0.04-0.01396
570.0%0.2%-25.9%0.000.000.00200-0.5%-12.6%-33.0%-0.05-0.07-0.02400
60-0.3%-7.5%-29.6%-0.04-0.05-0.01203-1.1%-24.0%-41.1%-0.10-0.15-0.03406
630.3%8.5%-30.8%0.040.060.011850.2%6.2%-28.6%0.020.030.01370
660.3%9.4%-28.2%0.040.060.011690.2%6.4%-30.8%0.020.030.01338
690.8%23.5%-22.9%0.100.150.041551.2%34.8%-26.5%0.110.160.04310
700.7%20.8%-23.5%0.090.130.031491.0%30.4%-30.6%0.100.150.03298
750.7%18.5%-29.5%0.080.120.021640.8%24.2%-34.3%0.080.120.02328
800.4%9.9%-27.8%0.050.070.011610.3%7.5%-35.5%0.030.040.01322
850.4%11.4%-28.2%0.050.080.011610.3%8.1%-36.4%0.030.040.01322
90-0.2%-5.1%-30.6%-0.03-0.04-0.01167-0.9%-20.8%-41.2%-0.09-0.13-0.02334
950.5%13.1%-28.1%0.060.090.021480.4%11.7%-33.7%0.040.060.01296
1000.2%6.3%-24.1%0.030.040.01144-0.2%-4.2%-33.6%-0.02-0.02-0.00288
105-0.6%-14.9%-31.6%-0.08-0.11-0.02142-1.8%-38.1%-48.8%-0.18-0.26-0.04284
110-0.5%-12.6%-30.0%-0.07-0.09-0.02150-1.5%-32.7%-40.8%-0.15-0.21-0.04300
115-0.7%-17.4%-28.2%-0.09-0.13-0.03130-2.0%-40.1%-55.8%-0.19-0.28-0.04260
120-0.1%-2.0%-28.5%-0.01-0.01-0.00128-0.6%-14.4%-52.9%-0.06-0.09-0.01256

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-30 09:06:47 UTC.