Strategy Analytics

Lean Hogs — Moving Average & Risk Layers

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

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

Instrument
Lean Hogs (HE=F)
History
1978-11-14 → 2026-09-22
Trading Days / Year
252
Volatility Grid
12.5–32.5% (step 2.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. 0.05 price points at $400 per point, times the trade's contract count. Half is charged on entry and half on exit (a position still open at the end has paid only its entry half), so it weighs more on short, frequent trades. Profit Factor is gross profit ÷ gross loss over the trades the account took (not the ATR target multiple sections 4–5 call “profit factor”); Avg Trade and Avg Loss are net account dollars at the chosen sizing. Contract rolls are not charged as extra round turns.
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 12.5–32.5%, 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 12.4%, p10 13.7%, p25 16.4%, p50 20.5%, p75 25.6%, p90 31.4%, p95 35.9%. Metrics annualize with 252 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. History from 1978-11-14: 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 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 12,062 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
205.0%912.4%-22.2%0.640.930.221362.00$67,090−$138,4697.8%3516.7%-34.2%0.711.040.232731.67$128,816−$365,271
235.0%918.6%-24.8%0.650.950.201192.27$77,194−$131,4167.8%3475.3%-35.6%0.711.050.222391.82$145,411−$352,054
264.7%807.9%-19.4%0.620.910.241062.23$76,220−$133,9657.2%2737.0%-38.1%0.670.990.192131.75$128,499−$324,078
294.4%702.5%-24.3%0.570.840.18992.06$70,961−$153,5616.7%2159.3%-42.0%0.630.920.161981.64$109,058−$336,358
323.7%478.0%-25.2%0.500.720.15921.94$51,955−$107,9635.1%981.0%-40.4%0.500.720.131841.50$53,318−$190,264
353.5%425.7%-27.8%0.480.690.13851.83$50,085−$115,8854.9%868.2%-42.9%0.480.690.111701.43$51,072−$214,181
384.2%631.0%-25.0%0.550.800.17772.33$81,946−$121,2215.7%1310.4%-44.9%0.550.800.131541.58$85,087−$257,569
414.1%595.7%-23.7%0.530.770.17712.42$83,898−$119,4955.6%1268.3%-40.2%0.550.790.141421.64$89,313−$251,269
443.9%515.2%-27.0%0.500.730.14692.40$74,666−$108,4185.1%986.7%-41.3%0.500.720.121381.66$71,498−$192,790
474.4%673.3%-22.5%0.570.820.19623.00$108,599−$108,3676.1%1587.2%-42.8%0.580.850.141241.98$128,001−$235,731
504.1%585.1%-21.7%0.540.780.19592.72$99,170−$109,7055.6%1278.3%-36.7%0.550.800.151181.89$108,330−$210,523
533.9%510.7%-26.2%0.520.750.15562.60$91,201−$103,2775.4%1160.2%-39.3%0.530.770.141121.86$103,587−$200,655
563.5%425.0%-27.6%0.490.700.13532.36$80,192−$107,6555.0%938.5%-41.7%0.500.720.121061.71$88,536−$213,519
593.7%466.0%-24.6%0.500.730.15482.89$97,076−$98,5495.7%1289.6%-35.8%0.550.800.16962.20$134,336−$203,585
623.8%505.0%-24.3%0.520.750.16443.25$114,766−$101,9865.9%1435.6%-35.0%0.570.830.17882.31$163,140−$238,191
653.4%384.9%-26.8%0.460.660.13432.61$89,501−$114,0365.2%1016.3%-39.0%0.510.740.13861.92$118,177−$251,163
683.4%404.0%-27.9%0.480.690.12412.50$98,530−$141,5714.9%906.8%-39.9%0.490.720.12831.79$109,251−$274,018
713.4%398.4%-20.6%0.470.680.17392.53$102,155−$136,6565.1%959.8%-27.5%0.500.730.18791.98$121,491−$243,865
743.1%335.8%-21.9%0.440.630.14382.28$88,381−$138,4864.4%683.1%-30.5%0.450.650.14771.78$88,715−$214,035
772.8%271.7%-23.3%0.400.570.12372.10$73,428−$137,0693.6%442.6%-34.7%0.380.550.10751.57$59,007−$195,356
802.6%238.6%-24.7%0.370.530.10371.97$64,498−$129,9112.9%297.0%-37.8%0.320.460.08751.43$39,599−$161,968
852.3%203.8%-26.8%0.350.490.09361.91$56,607−$124,6652.5%222.5%-49.3%0.280.400.05731.36$30,482−$142,870
902.1%167.0%-30.8%0.310.440.07351.81$47,726−$121,2592.0%158.8%-49.8%0.240.340.04711.30$22,363−$123,484
952.0%152.6%-31.5%0.290.420.06341.74$44,877−$114,9311.6%109.9%-52.0%0.200.280.03691.21$15,935−$117,617
1001.7%123.2%-34.1%0.260.370.05341.59$36,238−$110,3670.9%52.8%-59.1%0.140.190.02691.11$7,659−$107,575

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
304.5%723.3%-28.6%0.580.850.163781.86$19,134−$33,6177.0%2406.7%-38.0%0.650.940.187561.75$31,834−$63,992
334.9%901.2%-24.0%0.630.920.213431.85$26,275−$50,0007.6%3266.2%-34.9%0.701.020.226861.62$47,612−$117,804
364.8%864.5%-23.9%0.620.910.203242.10$26,682−$37,6277.6%3214.3%-27.2%0.701.030.286481.90$49,603−$84,681
394.8%828.4%-24.6%0.610.900.193342.01$24,802−$37,8807.2%2673.3%-39.5%0.670.980.186681.71$40,019−$86,561
424.0%539.7%-25.8%0.510.750.153251.67$16,606−$38,7305.5%1194.5%-34.0%0.520.760.166501.38$18,376−$71,440
454.0%567.0%-25.2%0.530.770.163321.72$17,079−$38,5935.9%1463.7%-32.5%0.560.820.186641.45$22,044−$76,459
484.1%584.1%-33.9%0.530.780.123091.91$18,902−$32,3355.8%1383.0%-33.8%0.550.810.176181.61$22,378−$55,070
513.8%503.5%-27.0%0.500.740.142931.79$17,185−$34,2545.4%1156.4%-29.3%0.520.760.195861.49$19,734−$59,820
544.1%580.0%-25.7%0.530.780.162711.91$21,402−$36,6215.8%1377.6%-29.2%0.550.810.205421.60$25,417−$63,325
574.0%544.3%-34.9%0.520.750.112701.83$20,158−$37,5075.6%1278.2%-35.2%0.540.790.165401.56$23,671−$63,779
603.9%514.1%-26.1%0.510.740.152611.79$19,699−$39,7485.3%1071.1%-30.5%0.510.740.175221.43$20,519−$72,969
633.7%480.6%-21.5%0.500.720.172551.79$18,847−$37,0855.3%1069.9%-28.3%0.510.740.195101.44$20,979−$71,031
663.9%522.7%-27.1%0.510.750.142432.00$21,510−$33,6885.6%1274.4%-31.9%0.540.780.184861.55$26,223−$71,392
693.5%425.6%-24.2%0.470.680.152471.88$17,232−$31,0844.9%899.5%-31.5%0.480.700.164941.47$18,208−$57,848
702.8%268.1%-28.1%0.380.550.102491.67$10,768−$24,0983.6%438.0%-39.6%0.370.530.094981.39$8,794−$32,603
753.6%451.8%-23.8%0.490.700.152431.81$18,593−$39,3225.1%995.1%-35.2%0.500.720.154861.38$20,476−$89,191
803.3%368.7%-23.9%0.440.640.142081.66$17,725−$42,1944.4%669.0%-38.4%0.440.630.114161.31$16,083−$78,328
852.7%256.0%-26.0%0.370.540.102121.61$12,075−$30,0043.1%336.3%-29.1%0.330.480.114241.32$7,931−$36,601
902.9%294.8%-19.5%0.410.580.151971.68$14,964−$34,5453.4%405.5%-36.2%0.370.530.103951.34$10,265−$43,053
952.7%253.4%-22.9%0.370.530.121881.64$13,479−$33,5602.9%293.7%-39.1%0.320.450.073771.28$7,790−$41,105
1003.0%308.4%-25.2%0.410.590.121931.64$15,982−$38,9993.4%401.7%-36.6%0.360.520.093871.26$10,381−$57,240
1052.7%253.6%-32.1%0.370.530.082001.67$12,679−$30,3532.3%201.1%-41.8%0.270.380.064011.23$5,015−$32,371
1103.0%316.8%-28.3%0.400.570.111901.66$16,675−$43,8253.2%359.4%-39.0%0.340.490.083811.28$9,433−$51,742
1152.4%213.7%-36.5%0.340.480.072071.48$10,323−$34,3092.6%238.5%-40.5%0.290.410.064151.25$5,746−$34,605
1203.0%319.5%-33.9%0.410.590.091951.77$16,385−$34,1773.6%439.1%-48.3%0.380.550.073911.48$11,230−$35,980

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…

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

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…

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

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: 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 2026-09-22 — nothing after that date was read by any calculation on this page. Generated 2026-11-26 21:25:15 UTC.