Strategy Analytics

Crude Oil — Moving Average & Risk Layers

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

Instrument
Crude Oil (CL=F)
History
2000-08-23 → 2026-07-30
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 17.2%, p10 19.9%, p25 24.8%, p50 31.2%, p75 40.4%, p90 54.3%, p95 71.3%. Metrics annualize with 252 trading days per year. 2 bar(s) excluded (2020-04-20, 2020-04-21): A compounding percentage equity curve cannot represent a non-positive price, so these bars are excluded. Crude oil's 2020-04-20 settlement (-37.63) is the only such bar across the eight markets.

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,509 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
205.8%325.0%-50.3%0.220.320.11740.6%16.8%-81.4%0.020.020.01148
233.6%149.7%-54.0%0.140.200.0767-3.1%-55.4%-85.2%-0.09-0.13-0.04134
265.6%304.3%-51.8%0.220.310.11580.6%17.2%-83.0%0.020.030.01116
295.7%314.5%-51.8%0.230.320.11510.9%25.9%-79.1%0.030.040.01103
326.7%437.7%-45.1%0.270.370.15463.2%125.3%-76.1%0.100.140.0493
355.7%319.8%-41.6%0.230.320.14431.4%43.7%-81.3%0.040.060.0287
385.7%322.3%-50.1%0.220.310.11391.4%42.9%-86.4%0.040.060.0279
415.4%286.9%-52.3%0.210.290.10371.1%34.2%-76.7%0.030.050.0175
444.7%224.5%-48.9%0.180.250.10350.1%2.9%-82.9%0.000.000.0071
474.9%247.4%-54.1%0.190.270.09330.7%19.8%-77.4%0.020.030.0167
504.0%177.3%-54.7%0.160.220.0733-0.9%-21.0%-80.3%-0.03-0.04-0.0167
533.4%138.8%-54.7%0.130.180.0632-2.2%-44.0%-86.4%-0.07-0.09-0.0365
562.2%76.5%-54.9%0.090.120.0432-4.7%-71.2%-88.2%-0.14-0.19-0.0565
592.6%93.4%-54.9%0.100.140.0530-3.6%-61.2%-85.2%-0.10-0.15-0.0461
622.7%100.3%-54.9%0.110.150.0529-3.2%-57.3%-79.3%-0.09-0.13-0.0459
653.5%140.9%-56.7%0.140.190.0627-1.9%-38.7%-79.1%-0.06-0.08-0.0255
685.6%310.3%-57.7%0.220.310.10242.9%110.7%-66.6%0.090.120.0449
714.9%245.7%-64.2%0.190.260.08231.4%43.7%-75.0%0.040.060.0247
745.7%321.1%-57.7%0.220.300.10213.1%117.6%-69.5%0.090.130.0443
774.8%237.7%-58.8%0.180.250.08211.3%38.4%-74.3%0.040.050.0243
806.8%453.0%-53.3%0.250.360.13185.8%326.9%-68.0%0.170.240.0836
855.6%312.4%-56.1%0.210.290.10183.1%122.6%-69.3%0.090.130.0536
906.0%346.4%-57.4%0.220.310.10174.0%174.7%-69.5%0.120.170.0634
955.0%256.1%-60.6%0.190.270.08172.2%74.3%-74.8%0.060.090.0334
1006.2%369.0%-60.6%0.240.340.10154.1%180.1%-74.8%0.120.180.0530

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
305.9%337.3%-53.7%0.230.330.11251-0.3%-7.4%-86.1%-0.01-0.01-0.00502
333.7%153.7%-51.9%0.140.200.07256-3.8%-62.8%-88.3%-0.11-0.15-0.04512
368.8%792.3%-55.9%0.350.500.162356.4%391.1%-69.0%0.190.270.09470
397.2%497.8%-52.3%0.280.390.142052.5%88.3%-71.2%0.070.100.03410
426.5%405.0%-56.8%0.250.350.112012.6%94.4%-72.4%0.080.110.04402
456.1%361.3%-67.0%0.240.340.092101.8%59.5%-82.1%0.050.080.02420
486.2%373.4%-69.1%0.240.340.092082.2%73.9%-83.6%0.060.090.03416
514.9%240.2%-58.7%0.190.270.08200-0.2%-4.5%-81.1%-0.01-0.01-0.00400
543.0%113.8%-65.6%0.120.160.05188-3.3%-57.9%-81.7%-0.10-0.14-0.04376
572.4%83.6%-57.9%0.090.130.04181-3.9%-64.4%-80.3%-0.12-0.16-0.05362
603.2%127.4%-49.4%0.130.180.07168-2.2%-44.1%-86.0%-0.07-0.09-0.03336
630.8%21.5%-66.1%0.030.040.01184-6.8%-83.7%-91.7%-0.20-0.29-0.07368
662.4%85.9%-63.5%0.100.130.04173-3.5%-60.5%-74.4%-0.11-0.15-0.05346
694.1%182.5%-48.4%0.160.230.08159-0.8%-18.7%-75.9%-0.02-0.03-0.01319
703.7%156.3%-50.4%0.150.200.07153-1.2%-27.1%-71.4%-0.04-0.05-0.02307
754.2%187.5%-59.0%0.160.230.07145-0.6%-14.4%-72.9%-0.02-0.03-0.01291
80-0.2%-5.3%-62.5%-0.01-0.01-0.00166-8.7%-90.5%-92.7%-0.26-0.36-0.09333
851.0%29.0%-59.9%0.040.050.02157-6.8%-83.7%-85.8%-0.20-0.28-0.08315
902.4%86.3%-67.8%0.090.130.04144-3.4%-59.5%-88.2%-0.10-0.15-0.04289
953.0%116.5%-63.0%0.120.160.05134-1.6%-34.5%-81.8%-0.05-0.07-0.02269
1001.0%29.7%-65.0%0.040.050.02148-5.3%-75.2%-84.3%-0.16-0.22-0.06297
1053.0%116.1%-59.3%0.120.160.05130-1.5%-32.2%-79.0%-0.05-0.06-0.02260
1103.5%143.1%-60.8%0.130.190.06122-0.5%-11.3%-75.0%-0.01-0.02-0.01244
1154.8%239.3%-67.1%0.180.260.071132.4%84.1%-81.7%0.070.100.03226
1204.6%217.6%-65.0%0.170.240.071072.1%69.4%-81.2%0.060.090.03214

2b. EMA-170 Direction Filter On The Donchian Breakout

Client 2026-07-30. The same Donchian channel and N grid as section 2, with one extra precondition: a long may only open while the 170-period EMA is rising, a short only while it is falling. The band break is still required on top, so the filter only removes trades. Exits are untouched. The unfiltered Donchian table in section 2 is the baseline — read them side by side.

Donchian gated by the EMA-170 direction

Same lookback grid as section 2. Compare row for row against the unfiltered Donchian table above.

NA: CAGRA: Total ReturnA: Max DDA: SharpeA: SortinoA: CalmarA: TradesB: CAGRB: Total ReturnB: Max DDB: SharpeB: SortinoB: CalmarB: Trades
203.0%113.0%-54.2%0.130.180.0566-2.7%-50.2%-81.2%-0.09-0.12-0.03126
231.2%35.3%-61.5%0.050.070.0261-4.6%-70.2%-82.6%-0.15-0.21-0.06116
261.2%37.1%-65.9%0.050.070.0256-4.0%-65.2%-79.1%-0.13-0.18-0.05105
292.0%67.7%-60.6%0.090.120.0349-3.7%-62.0%-82.8%-0.11-0.16-0.0496
323.4%135.6%-50.1%0.140.200.0744-0.9%-20.4%-80.4%-0.03-0.04-0.0187
353.0%116.1%-51.4%0.130.170.0641-1.1%-24.6%-83.2%-0.03-0.05-0.0181
383.2%124.3%-53.4%0.130.180.0637-1.3%-28.4%-86.4%-0.04-0.05-0.0175
412.7%96.9%-55.4%0.110.150.0536-1.2%-27.5%-80.7%-0.04-0.05-0.0272
442.7%97.6%-49.5%0.110.150.0534-1.6%-34.6%-83.5%-0.05-0.07-0.0269
472.9%111.6%-54.7%0.120.160.0532-1.0%-23.8%-78.2%-0.03-0.04-0.0165
502.4%85.5%-55.2%0.100.130.0432-2.3%-44.8%-81.0%-0.07-0.10-0.0365
532.0%65.7%-55.2%0.080.110.0431-3.8%-63.7%-86.8%-0.11-0.16-0.0464
560.8%23.9%-55.5%0.030.050.0131-6.2%-80.7%-88.6%-0.18-0.26-0.0764
591.8%58.0%-54.9%0.070.100.0329-4.5%-69.7%-85.7%-0.13-0.19-0.0560
622.3%77.7%-54.9%0.090.130.0428-3.7%-62.5%-79.3%-0.11-0.16-0.0558
653.0%113.7%-56.7%0.120.170.0526-2.3%-45.8%-79.1%-0.07-0.10-0.0354
685.1%264.0%-57.7%0.200.290.09232.5%86.9%-66.3%0.070.100.0448
714.6%216.3%-59.2%0.180.250.08221.1%31.5%-71.5%0.030.040.0146
745.7%318.5%-57.7%0.220.310.10203.0%116.2%-69.5%0.090.130.0442
775.0%252.7%-58.8%0.190.270.09201.4%44.6%-74.3%0.040.060.0242
807.5%541.9%-53.3%0.280.400.14176.4%395.5%-68.0%0.190.270.0935
856.3%385.7%-56.1%0.240.330.11173.8%162.2%-69.3%0.110.160.0535
906.7%435.1%-57.4%0.250.360.12164.7%229.3%-69.5%0.140.200.0733
955.9%337.4%-60.6%0.230.320.10163.0%114.1%-74.8%0.090.130.0433
1005.8%325.9%-60.6%0.220.310.10153.7%154.4%-74.8%0.110.160.0530

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 08:34:48 UTC.