Strategy Analytics

Brazilian Real — Moving Average & Risk Layers

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

Instrument
Brazilian Real (6L=F)
History
2003-10-14 → 2026-07-30
Trading Days / Year
252
Volatility Grid
8–24% (step 2)
Read this before the numbers. CME Brazilian real futures, quoted in USD per real, so a long position is long the real against the dollar. About a third of bars have high == low, so the intraday stop and target sections lean close-only.
How this market is calibrated. The volatility factor grid is 8–24%, 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 7.0%, p10 7.9%, p25 9.9%, p50 13.0%, p75 17.0%, p90 21.7%, p95 26.3%. Metrics annualize with 252 trading days per year. No intraday range on 34% of bars: the feed reports high == low that often, so ATR falls back to the close-to-close gap and the intraday stop and target sections (4, 6, 7, 11) behave as close-only — a stop can only be hit if the close passes it. That understates stop-outs on this card.

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 5,720 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.0%-19.9%-47.1%-0.10-0.13-0.0271-0.9%-18.4%-56.2%-0.06-0.09-0.02142
23-1.5%-28.5%-47.6%-0.14-0.20-0.0364-1.8%-34.0%-49.5%-0.13-0.18-0.04129
26-2.1%-38.4%-52.3%-0.21-0.28-0.0459-3.0%-49.9%-55.9%-0.21-0.29-0.05119
29-0.9%-18.3%-44.1%-0.09-0.12-0.0249-0.6%-13.4%-39.6%-0.04-0.06-0.0299
32-0.3%-6.2%-43.5%-0.03-0.04-0.01430.6%13.4%-46.3%0.040.050.0187
35-1.1%-22.0%-50.7%-0.11-0.15-0.0243-1.1%-21.7%-52.1%-0.07-0.10-0.0287
38-0.5%-10.1%-49.3%-0.05-0.06-0.01370.3%8.0%-50.1%0.020.030.0174
41-0.3%-6.6%-46.3%-0.03-0.04-0.01350.3%6.0%-51.3%0.020.030.0170
44-0.3%-6.0%-49.8%-0.03-0.04-0.01300.4%10.3%-57.8%0.030.040.0160
47-0.7%-14.5%-49.8%-0.07-0.09-0.0129-0.2%-5.5%-54.4%-0.02-0.02-0.0058
50-0.2%-5.4%-49.0%-0.02-0.03-0.00260.6%15.7%-51.9%0.050.060.0152
530.2%4.5%-48.3%0.020.030.00241.6%42.1%-53.6%0.110.160.0348
560.3%7.0%-46.6%0.030.040.01231.8%49.6%-54.1%0.130.180.0346
590.7%16.3%-39.4%0.070.100.02222.6%78.3%-40.9%0.190.270.0644
621.0%26.3%-42.8%0.110.150.02203.1%99.1%-46.7%0.220.320.0741
650.8%20.3%-44.2%0.090.120.02202.6%79.0%-48.8%0.190.270.0540
680.3%6.7%-48.5%0.030.040.01201.6%44.0%-55.2%0.120.160.0340
710.4%8.9%-49.4%0.040.050.01191.8%49.7%-55.2%0.130.180.0338
74-0.2%-5.1%-53.0%-0.02-0.03-0.00190.5%12.1%-61.1%0.040.050.0138
770.2%5.1%-48.0%0.020.030.00181.4%36.1%-51.7%0.100.140.0336
801.3%33.9%-40.6%0.130.190.03153.5%119.6%-43.3%0.250.360.0830
851.3%34.0%-36.8%0.130.190.04143.5%119.4%-35.8%0.250.360.1028
900.8%19.7%-41.7%0.080.110.02142.5%74.1%-45.1%0.180.250.0528
950.7%17.0%-42.2%0.070.100.02142.3%66.5%-45.8%0.160.230.0528
1000.5%10.9%-43.7%0.050.060.01141.8%48.8%-48.8%0.130.180.0428

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.7%-15.5%-40.9%-0.07-0.10-0.02233-0.4%-8.1%-49.6%-0.03-0.04-0.01467
33-0.2%-3.5%-38.8%-0.02-0.02-0.002290.8%19.4%-39.5%0.050.080.02458
36-1.3%-25.7%-54.7%-0.13-0.18-0.02215-1.7%-31.8%-55.5%-0.12-0.16-0.03430
39-0.0%-0.1%-31.1%-0.00-0.00-0.001881.0%24.0%-38.4%0.070.090.02377
42-0.8%-15.8%-49.2%-0.08-0.11-0.02199-0.4%-9.3%-54.5%-0.03-0.04-0.01399
45-1.4%-27.1%-50.3%-0.14-0.19-0.03200-1.8%-34.1%-59.9%-0.13-0.18-0.03401
48-1.6%-29.9%-64.2%-0.16-0.21-0.02209-2.0%-36.7%-68.4%-0.14-0.19-0.03419
51-1.0%-20.2%-54.0%-0.10-0.13-0.02188-0.8%-16.2%-54.8%-0.05-0.08-0.01377
540.2%3.8%-52.4%0.020.020.001841.6%43.1%-46.5%0.110.160.03369
570.1%1.2%-58.0%0.010.010.001571.3%34.5%-65.1%0.090.130.02315
600.8%19.9%-43.2%0.080.110.021622.8%88.2%-36.1%0.200.280.08324
63-0.4%-9.3%-54.2%-0.04-0.06-0.011630.3%7.1%-55.0%0.020.030.01326
660.3%6.3%-52.9%0.030.040.011581.8%48.9%-52.7%0.130.180.03316
690.4%8.4%-49.4%0.040.050.011711.9%53.5%-45.4%0.140.190.04342
700.3%8.2%-46.6%0.030.050.011671.9%52.5%-41.0%0.130.190.05334
750.8%20.4%-40.2%0.080.110.021462.7%83.9%-37.5%0.190.270.07293
800.3%7.1%-49.1%0.030.040.011471.5%41.4%-56.9%0.110.150.03294
85-0.1%-1.2%-53.2%-0.01-0.01-0.001390.9%21.4%-61.9%0.060.090.01278
901.4%38.1%-44.1%0.150.200.031253.9%136.8%-51.9%0.280.390.07250
950.2%4.4%-51.8%0.020.030.001181.0%26.0%-62.0%0.070.100.02236
100-0.2%-3.5%-51.6%-0.02-0.02-0.001250.2%5.8%-62.1%0.020.030.00250
105-1.6%-30.1%-60.7%-0.16-0.21-0.03129-2.6%-45.3%-75.2%-0.19-0.26-0.03258
1101.3%33.3%-39.0%0.130.180.031153.2%102.9%-41.1%0.230.330.08230
1150.4%9.8%-52.4%0.040.060.011191.7%45.8%-63.7%0.120.170.03238
1201.4%35.8%-37.9%0.140.190.041243.5%117.2%-51.0%0.250.360.07248

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:57:30 UTC.