Strategy Analytics

Mexican Peso — Moving Average & Risk Layers

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

Instrument
Mexican Peso (6M=F)
History
1995-04-25 → 2026-09-22
Trading Days / Year
252
Volatility Grid
6–22% (step 2)
Read this before the numbers. CME Mexican peso futures, quoted in USD per peso, so a long position is long the peso against the dollar.
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 × $5.00) = $12.50, i.e. 0.000025 price points at $500,000 per point. Half is charged on entry and half on exit (a position still open at the end has paid only its entry half); on the compounding curve the cost is a share of the contract's real value at entry, so it weighs more on short, frequent trades. Profit Factor is gross profit ÷ gross loss over all trades (not the ATR target multiple sections 4–5 call “profit factor”); Avg Trade and Avg Loss are net USD per contract. Contract rolls are not charged as extra round turns.
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 4.4%, p10 5.1%, p25 6.7%, p50 8.8%, p75 12.0%, p90 15.6%, p95 20.0%. Metrics annualize with 252 trading days per year. A cell at −100% CAGR means a position lost more than its stake — typically a short in a contract that more than doubled before the exit — and the later numbers in that cell are not meaningful. History from 1995-04-25: 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 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, trade count, profit factor and the average trade / average losing trade for every base variant of both systems over 7,900 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
201.8%76.8%-37.7%0.250.320.05831.74$403−$1,152-1.3%-34.4%-60.2%-0.12-0.17-0.021661.04$27−$1,105
232.8%135.1%-36.1%0.360.480.08682.29$611−$1,0400.5%15.5%-55.8%0.040.060.011361.23$153−$1,104
263.6%199.8%-31.2%0.460.620.11572.90$877−$1,0982.1%89.3%-44.6%0.190.260.051141.50$338−$1,201
293.2%169.8%-31.9%0.420.560.10532.80$886−$1,0861.4%53.2%-48.1%0.130.170.031061.42$306−$1,267
322.9%146.6%-35.0%0.380.500.08492.59$897−$1,2020.8%30.1%-51.0%0.080.110.02971.34$272−$1,314
353.1%156.5%-33.8%0.390.520.09432.83$1,079−$1,1511.1%41.9%-51.5%0.100.140.02851.44$368−$1,383
382.7%133.3%-33.8%0.350.470.08432.54$981−$1,2410.5%17.2%-51.9%0.050.060.01851.30$269−$1,396
412.7%131.6%-29.9%0.350.460.09412.55$1,006−$1,2650.4%13.7%-49.4%0.040.050.01811.27$259−$1,469
443.1%164.3%-17.8%0.420.560.18383.26$1,181−$9911.2%47.1%-35.6%0.110.160.03751.43$376−$1,368
473.0%153.9%-19.6%0.400.530.15362.90$1,211−$1,1441.0%36.7%-38.1%0.090.130.03711.37$362−$1,459
503.3%175.7%-21.6%0.440.590.15333.43$1,438−$1,0851.6%64.9%-38.7%0.150.210.04651.56$514−$1,377
533.2%167.4%-24.2%0.420.560.13313.20$1,441−$1,1281.5%60.5%-43.1%0.140.200.04611.51$493−$1,406
563.1%158.3%-24.3%0.410.550.13302.89$1,402−$1,3061.3%52.1%-41.7%0.120.180.03591.42$440−$1,541
592.8%134.8%-30.7%0.360.480.09292.58$1,334−$1,3610.8%27.3%-48.2%0.070.100.02571.30$349−$1,633
622.9%141.9%-27.8%0.370.500.10282.65$1,392−$1,3871.0%35.0%-43.6%0.090.120.02551.32$373−$1,686
653.1%157.1%-22.3%0.400.540.14272.84$1,494−$1,3721.4%52.6%-38.0%0.120.180.04531.38$438−$1,763
683.2%166.4%-20.3%0.420.560.16262.97$1,583−$1,3911.4%57.0%-40.4%0.140.190.04511.40$487−$1,810
712.7%131.3%-20.5%0.350.460.13262.20$1,274−$1,8360.5%17.1%-40.4%0.050.060.01511.12$172−$2,221
742.7%127.6%-20.6%0.340.450.13262.17$1,249−$1,7330.4%13.6%-40.8%0.040.050.01511.10$147−$2,165
772.5%114.3%-23.6%0.320.420.10251.96$1,160−$2,0120.0%1.4%-42.8%0.000.010.00491.01$11−$2,404
802.2%99.7%-23.6%0.290.380.09251.85$1,083−$2,115-0.4%-13.0%-44.1%-0.04-0.06-0.01490.96−$68−$2,509
852.8%140.2%-22.7%0.370.490.12222.29$1,526−$2,1680.8%28.2%-41.1%0.070.100.02431.14$225−$2,494
902.8%139.4%-24.7%0.360.480.11212.34$1,637−$2,3330.8%28.9%-35.3%0.080.100.02411.17$276−$2,578
952.7%132.6%-28.8%0.350.460.09202.33$1,684−$2,5250.6%22.5%-41.6%0.060.080.02391.15$259−$2,751
1002.4%109.6%-32.4%0.300.400.07202.09$1,485−$2,468-0.0%-1.2%-49.4%-0.00-0.00-0.00391.03$54−$2,838

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
302.4%112.9%-28.3%0.320.430.092981.64$140−$381-0.3%-7.8%-49.1%-0.02-0.03-0.015961.13$33−$390
332.4%112.9%-25.7%0.320.430.102871.64$142−$363-0.3%-8.7%-45.6%-0.03-0.04-0.015731.12$30−$382
362.8%141.2%-29.6%0.380.500.102621.74$169−$3880.6%20.5%-47.4%0.050.080.015231.19$49−$381
393.6%201.5%-30.4%0.470.640.122551.95$203−$3522.0%87.0%-32.2%0.180.260.065091.32$79−$371
423.5%194.2%-28.1%0.470.620.122321.95$211−$3671.9%80.7%-35.3%0.170.240.054631.29$76−$417
453.6%205.2%-24.1%0.490.660.152252.08$230−$3682.2%98.7%-37.3%0.200.290.064491.36$92−$395
483.8%219.3%-23.9%0.510.680.162122.11$247−$3732.5%114.6%-36.7%0.230.320.074231.39$101−$397
513.1%161.2%-26.2%0.410.540.121971.91$227−$4211.4%53.3%-38.2%0.130.170.043931.27$74−$419
543.3%174.7%-29.4%0.430.580.111912.05$246−$3821.7%70.7%-32.8%0.160.220.053811.34$91−$411
573.1%157.4%-23.4%0.410.550.131812.02$237−$3611.3%51.2%-31.2%0.120.170.043611.28$78−$402
603.3%175.5%-25.4%0.440.590.131662.25$280−$3531.7%68.1%-40.3%0.150.220.043311.35$100−$422
633.8%220.5%-25.8%0.500.670.151712.36$286−$3492.7%133.2%-36.3%0.250.360.083411.44$114−$382
663.0%154.3%-32.4%0.390.530.091602.09$271−$3911.2%47.0%-49.1%0.110.160.033191.30$88−$412
692.9%144.8%-32.9%0.380.510.091682.01$251−$4061.0%38.4%-44.3%0.100.130.023351.27$78−$407
703.3%175.5%-26.2%0.430.570.131602.07$276−$4461.8%73.9%-38.3%0.160.230.053191.32$95−$450
753.1%162.2%-35.3%0.410.540.091602.08$279−$4401.5%61.7%-48.3%0.140.200.033191.35$98−$423
802.8%138.6%-30.5%0.370.490.091462.08$285−$4040.8%26.7%-46.8%0.070.100.022911.26$86−$456
852.6%123.4%-34.1%0.330.430.081581.88$237−$4450.3%9.4%-51.5%0.030.040.013151.16$50−$475
902.2%94.9%-35.9%0.270.350.061551.62$197−$501-0.5%-13.5%-55.2%-0.04-0.06-0.013091.03$10−$501
951.3%51.6%-46.9%0.170.220.031621.41$143−$569-2.0%-47.4%-70.5%-0.19-0.25-0.033230.90−$36−$530
1001.1%39.3%-46.2%0.130.170.021701.31$104−$511-2.6%-56.5%-73.7%-0.24-0.32-0.043390.83−$65−$499
1050.9%30.7%-45.4%0.110.140.021581.24$96−$582-3.1%-63.2%-75.2%-0.29-0.38-0.043150.80−$87−$567
1102.2%98.2%-40.5%0.280.370.051541.70$216−$444-0.4%-11.4%-60.2%-0.04-0.05-0.013071.08$28−$454
1152.2%97.0%-38.0%0.270.360.061471.71$212−$501-0.5%-14.6%-57.3%-0.05-0.06-0.012931.02$8−$528
1202.1%93.9%-35.2%0.270.350.061451.65$204−$484-0.7%-19.5%-53.9%-0.06-0.09-0.012890.96−$13−$509

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.

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…

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), full available history. Generated 2026-10-06 13:30:44 UTC.