Strategy Analytics

Japanese Yen — Moving Average & Risk Layers

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

Instrument
Japanese Yen (6J=F)
History
2000-09-13 → 2026-07-30
Trading Days / Year
252
Volatility Grid
6–22% (step 2)
Read this before the numbers. CME Japanese yen futures, quoted in USD per yen, so a long position is long the yen against the dollar — not the USD/JPY spot convention, where long means the opposite.
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.6%, p10 5.3%, p25 6.7%, p50 8.7%, p75 11.0%, p90 13.8%, p95 16.0%. 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,455 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-1.3%-29.3%-40.2%-0.19-0.27-0.0377-1.7%-35.2%-69.0%-0.08-0.15-0.02155
23-1.7%-35.4%-43.2%-0.23-0.34-0.0471-2.4%-46.9%-73.5%-0.12-0.22-0.03143
26-0.0%-0.8%-21.8%-0.00-0.01-0.00560.9%24.7%-54.0%0.040.080.02113
29-0.3%-8.1%-20.3%-0.05-0.07-0.02530.3%7.4%-62.9%0.010.020.00107
32-0.5%-11.1%-26.3%-0.06-0.09-0.0248-0.2%-3.9%-66.4%-0.01-0.01-0.0097
35-0.7%-16.7%-25.5%-0.10-0.14-0.0345-0.6%-14.9%-71.6%-0.03-0.06-0.0191
38-0.4%-9.8%-21.6%-0.06-0.08-0.02400.0%0.2%-65.3%0.000.000.0081
41-0.4%-8.6%-21.2%-0.05-0.07-0.02380.1%2.5%-65.9%0.000.010.0077
44-0.3%-7.9%-22.4%-0.04-0.06-0.01350.1%3.6%-67.4%0.010.010.0071
47-0.7%-15.9%-23.6%-0.10-0.14-0.0334-0.7%-15.7%-68.0%-0.03-0.06-0.0169
50-0.4%-9.7%-24.2%-0.06-0.08-0.0231-0.4%-10.8%-69.6%-0.02-0.04-0.0163
53-0.3%-6.4%-23.9%-0.04-0.05-0.0129-0.1%-3.0%-66.2%-0.01-0.01-0.0059
56-0.1%-1.5%-20.9%-0.01-0.01-0.00270.2%5.1%-64.0%0.010.020.0055
590.3%7.6%-17.3%0.040.060.02240.9%25.0%-59.1%0.040.080.0149
62-0.0%-0.3%-19.2%-0.00-0.00-0.00240.2%5.6%-61.6%0.010.020.0049
65-0.0%-0.6%-19.2%-0.00-0.01-0.00230.2%4.8%-61.8%0.010.020.0047
68-0.1%-2.4%-19.2%-0.01-0.02-0.01230.0%0.8%-63.2%0.000.000.0047
71-0.3%-7.2%-20.9%-0.04-0.06-0.0123-0.4%-8.7%-65.0%-0.02-0.03-0.0147
74-0.5%-11.3%-21.9%-0.07-0.10-0.0222-0.7%-15.9%-67.3%-0.03-0.06-0.0145
77-0.6%-13.7%-22.0%-0.08-0.12-0.0322-0.9%-20.7%-69.1%-0.04-0.08-0.0145
80-0.8%-19.4%-24.9%-0.12-0.17-0.0322-1.4%-30.6%-71.1%-0.07-0.12-0.0245
85-0.5%-12.1%-18.2%-0.07-0.10-0.0319-0.8%-18.0%-70.1%-0.04-0.07-0.0139
90-0.8%-18.0%-22.4%-0.11-0.16-0.0319-1.3%-28.4%-72.2%-0.06-0.11-0.0239
95-0.9%-20.1%-28.2%-0.13-0.18-0.0318-1.4%-31.0%-71.2%-0.07-0.13-0.0237
100-1.1%-25.2%-32.8%-0.17-0.23-0.0318-1.9%-39.6%-72.6%-0.09-0.17-0.0337

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-0.2%-4.2%-23.8%-0.02-0.03-0.012770.6%16.3%-55.9%0.030.050.01555
33-1.5%-32.1%-39.4%-0.21-0.30-0.04282-2.0%-40.9%-73.9%-0.10-0.18-0.03565
36-0.6%-14.4%-34.9%-0.08-0.12-0.02256-0.3%-7.9%-58.8%-0.02-0.03-0.01513
39-0.1%-3.6%-26.8%-0.02-0.03-0.012430.6%17.2%-56.9%0.030.060.01487
420.2%6.5%-20.7%0.030.050.012311.3%40.1%-55.4%0.060.120.02463
450.2%4.9%-22.0%0.030.040.012211.2%35.9%-52.4%0.060.110.02443
480.4%11.6%-17.3%0.060.090.022061.6%49.9%-56.3%0.080.140.03413
510.8%21.9%-15.9%0.110.160.051932.3%77.3%-51.5%0.110.210.04387
541.2%34.1%-13.9%0.160.240.081863.0%111.1%-45.5%0.140.270.07373
571.0%29.0%-16.0%0.140.210.061822.7%97.0%-49.5%0.130.240.05365
600.7%21.0%-20.8%0.110.150.041792.1%68.7%-54.2%0.100.190.04359
630.7%20.9%-18.5%0.100.150.041572.1%69.6%-57.1%0.100.190.04315
660.2%4.4%-21.5%0.020.030.011630.9%25.9%-59.5%0.040.080.02327
69-0.3%-6.3%-23.4%-0.04-0.05-0.011590.2%4.3%-55.9%0.010.010.00319
700.2%6.3%-18.1%0.030.050.011561.1%32.7%-50.3%0.050.100.02313
75-0.4%-10.5%-23.9%-0.06-0.09-0.02158-0.2%-5.5%-61.0%-0.01-0.02-0.00317
80-0.8%-18.9%-28.7%-0.12-0.17-0.03159-1.0%-22.4%-62.1%-0.05-0.09-0.02319
85-0.6%-14.3%-27.5%-0.09-0.12-0.02171-0.6%-14.5%-61.4%-0.03-0.05-0.01343
90-0.4%-9.4%-24.7%-0.06-0.08-0.02141-0.1%-2.9%-58.8%-0.01-0.01-0.00283
95-0.1%-1.4%-26.7%-0.01-0.01-0.001330.6%15.8%-56.8%0.030.050.01267
100-0.3%-8.0%-27.5%-0.05-0.07-0.011430.1%2.3%-58.8%0.000.010.00287
105-0.5%-11.7%-25.0%-0.07-0.10-0.02145-0.3%-8.2%-60.8%-0.02-0.03-0.01291
110-0.2%-5.8%-26.3%-0.03-0.05-0.011340.1%3.7%-56.5%0.010.010.00269
115-0.3%-8.1%-30.1%-0.05-0.07-0.01121-0.1%-1.8%-55.6%-0.00-0.01-0.00243
120-0.1%-1.6%-25.2%-0.01-0.01-0.00970.5%13.2%-58.0%0.020.040.01195

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:09:10 UTC.