← All strategies|FxMath Elite ProXAUUSD H2live-validated preset
FxMath Elite Pro · optimiser output

XAUUSD H2 — Optimised Settings

In-sample 2025-05-21 → 2026-04-02 · out-of-sample 2026-04-02 → 2026-09-18 · 5,328 configurations evaluated · 0 finalists · 9 robust
XAUUSD H24,513 barspaper 852 TP111 SLmodel: fastlabel 26p / 14pregime OFFtrend OFFpip x1.43 vs H1 (measured)OOS profitable

Out-of-sample confirmed

This configuration stayed profitable on the untouched 2026-04-02 → 2026-09-18 slice (+17.69%).

Net profit
$5,943.02
+59.43% on $10,000.00
Min. account
$3,271.14
for 0.01 lot at 1:500, drawdown budget
Max drawdown
12.92%
$1,635.57 peak-to-trough
Profit factor
2.43
recovery 3.63
Trades
969
885W / 84L
Win rate
91.3%
exp $6.13/trade
Sharpe
2.09
sortino 2.05
Exposure
76%
of bars holding
Worst streak
6
consecutive losses

Equity curve

8,60310,55412,50514,45616,407 2025-04-032025-08-222026-01-022026-05-142026-09-18 deposit 10,000

Dashed grey line = buy & hold over the same window (+39.15%). Dotted line = starting deposit.

Capital requirement

Minimum account balance — $3,271.14

Running 0.01 lot on XAUUSD at 1:500 leverage needs about $3,271.14 of balance. The binding constraint is drawdown budget.

Burn-in note: this is a grid with no stop loss (InpStopLoss = 0, so losses are only closed by the basket TP or the protection switch) at 76% exposure, so the tail is unbounded in principle. The figure above is sized on this 19-month sample; a sustained trend can exceed it.

Drawdown

15%7%0%

Monthly P&L

821 -3 25-0425-0525-0625-0725-0825-0925-1025-1125-1226-0126-0226-0326-0426-0526-0626-0726-0826-09
Metrics
Capital
Inputs
Validation
Trades

In-sample vs out-of-sample

MetricIn-sampleOut-of-sampleNote
Net profit$3,504.95$1,769.18
Return %35.05%17.69%OOS must stay positive
Max drawdown %10.45%13.42%
Profit factor2.481.99
Trades569344OOS window 2026-04-02 to 2026-09-18
Win rate91.9%90.1%
Sharpe2.491.91
Exposure73%82%

Monthly breakdown

MonthP&L
2025-04+150.70
2025-05+243.16
2025-06+170.89
2025-07+101.20
2025-08+96.20
2025-09+286.41
2025-10+570.59
2025-11+204.65
2025-12+331.20
2026-01+580.46
2026-02+821.03
2026-03+510.94
2026-04+354.48
2026-05+285.11
2026-06+369.40
2026-07+461.45
2026-08+408.27
2026-09-3.12

How the minimum balance is derived

ItemAmountBasis
Leverage assumed1:500your account setting
Peak simultaneous position0.08 lots5 (up to 7) grid slots x 0.01 lot
Margin per 1.00 lot$1,030.92$515,458.00 notional at the effective price
Margin for the whole stack$82.47at the effective price 5154.58 that reproduces the peak notional
Worst floating loss-$1,707.08largest unrealised drawdown of the open stack
Margin + floating loss$1,789.55margin is not released while the stack is underwater
Drawdown budget (x2.0)$3,271.14worst backtest drawdown $1,635.57
Pip value per 0.01 lot$1.00$100.00 per pip per 1.00 lot
Margin level at the worst moment18.96equity / used margin if funded with exactly the minimum; 1.00 = margin still fully covered

Margin arithmetic: contract × lots × price ÷ leverage — the quote currency is USD, so the notional is already in the account currency. The price used for the total is the effective peak price (5154.58) — the single price that reproduces the peak notional actually carried — not the last bar's, because the margin was charged bar by bar as the position grew.

Shipped settings — XAUUSD_H2.set

Distance inputs are price offsets, matching the EA's NormalizeDouble(price ± input, digits). The pip equivalent is shown for reference.

InputValueInterpretation
InpStopLoss distance00.0 pips
InpTakeProfit distance7.77.7 pips
InpLotSize0.01
InpTrailing distance1111.0 pips
InpGridDistance distance38.538.5 pips
InpMaxGrid5
InpBuyEnabletrue
InpSellEnabletrue
InpFixedLottrue
InpLotRatio1
InpWindow12
InpBack15
InpLabelSL distance1414.0 pips
InpLabelTP distance26.2526.2 pips
InpTrainBars400
InpRetrainBars8
InpForestTrees20
InpMaxDepth8
InpMinSamples10
InpClassWeight2
InpTrendFilterfalse
InpTrendSMA200
InpTrendADXMin18
InpTrendStrength0.3
InpProtectEnabletrue
InpMaxDrawdownPct30
InpMaxDailyLoss0
InpStopOnProtecttrue
InpRegimeAdaptfalse
InpRegimePeriod20
InpRangeADXMax22
InpTrendADXExit30
InpBBRangeMin0.001
InpBBRangeMax0.008
InpGridATRmult1
InpRangeLotMult1
InpTrendLotMult0.2
InpRangeMaxGridMult1.5
InpTrendMaxGridMult0.3
InpGridMaxLoss0

EA defaults vs optimised

MetricEA defaultsOptimised
Net profit-$2,539.22$5,943.02
Return-25.39%59.43%
Max drawdown31.69%12.92%
Profit factor0.432.43
Trades248969
Win rate67.3%91.3%

First 200 of 969 closed trades

OpenedSideLotsEntryExitReasonP&LClosed
2025-04-09 08:00BUY0.013039.273046.97TP+7.402025-04-09
2025-04-16 02:00BUY0.013264.593272.29TP+7.402025-04-16
2025-04-16 06:00BUY0.013283.803291.50TP+7.402025-04-16
2025-04-16 08:00BUY0.013291.963299.66TP+7.402025-04-16
2025-04-16 10:00BUY0.013307.113314.81TP+7.402025-04-16
2025-04-16 16:00BUY0.013308.573316.27TP+7.402025-04-16
2025-04-16 18:00BUY0.013327.393335.09TP+7.402025-04-16
2025-04-16 20:00BUY0.013338.513346.21TP+7.402025-04-17
2025-04-17 00:00BUY0.013351.203358.90TP+7.402025-04-21
2025-04-21 02:00BUY0.013368.883376.58TP+7.402025-04-21
2025-04-21 04:00BUY0.013384.863392.56TP+7.402025-04-21
2025-04-21 08:00BUY0.013392.413400.11TP+7.402025-04-21
2025-04-21 14:00BUY0.013415.093422.79TP+7.402025-04-21
2025-04-21 16:00BUY0.013416.873424.57TP+7.402025-04-21
2025-04-21 18:00BUY0.013414.693422.39TP+7.402025-04-21
2025-04-22 04:00BUY0.013473.383481.08TP+7.402025-04-22
2025-04-22 06:00BUY0.013484.543492.24TP+7.402025-04-22
2025-04-24 22:00BUY0.013348.733356.08SL+7.052025-04-25
2025-04-25 10:00BUY0.013303.813307.62SL+3.512025-04-28
2025-04-28 16:00BUY0.013328.723338.01SL+8.992025-04-29
2025-04-28 18:00BUY0.013336.783338.01SL+0.932025-04-29
2025-04-29 12:00BUY0.013312.943317.66SL+4.422025-04-29
2025-04-22 08:00BUY0.013479.893364.93TP-115.262025-05-06
2025-04-25 00:00BUY0.013367.233364.93TP-2.602025-05-06
2025-04-25 02:00BUY0.013358.033364.93TP+6.602025-05-06
2025-04-28 20:00BUY0.013349.163364.93TP+15.472025-05-06
2025-04-28 22:00BUY0.013344.143364.93TP+20.492025-05-06
2025-04-29 00:00BUY0.013338.233364.93TP+26.402025-05-06
2025-04-30 16:00BUY0.013310.113364.93TP+54.522025-05-06
2025-05-06 04:00BUY0.013358.493366.19TP+7.402025-05-06
2025-05-06 06:00BUY0.013363.323371.02TP+7.402025-05-06
2025-05-06 10:00BUY0.013377.343385.04TP+7.402025-05-06
2025-05-06 14:00BUY0.013391.163398.86TP+7.402025-05-06
2025-05-06 18:00BUY0.013409.033416.73TP+7.402025-05-06
2025-05-06 20:00BUY0.013415.783423.48TP+7.402025-05-06
2025-05-09 04:00BUY0.013308.443313.64SL+4.902025-05-09
2025-05-12 14:00BUY0.013233.853251.14SL+16.992025-05-13
2025-05-19 06:00SELL0.013215.743208.04TP+7.402025-05-20
2025-05-12 04:00BUY0.013272.193292.46SL+19.972025-05-21
2025-05-12 06:00BUY0.013279.053292.46SL+13.112025-05-21
2025-05-12 08:00BUY0.013277.673292.46SL+14.492025-05-21
2025-05-14 00:00BUY0.013254.703292.46SL+37.462025-05-21
2025-05-21 04:00BUY0.013301.913309.02SL+6.812025-05-21
2025-05-21 08:00BUY0.013320.173330.11SL+9.642025-05-22
2025-05-22 02:00BUY0.013323.923330.11SL+5.892025-05-22
2025-05-06 22:00BUY0.013430.613349.74TP-81.172025-05-23
2025-05-08 06:00BUY0.013382.293349.74TP-32.852025-05-23
2025-05-09 20:00BUY0.013338.983349.74TP+10.462025-05-23
2025-05-22 04:00BUY0.013341.263349.74TP+8.182025-05-23
2025-05-22 06:00BUY0.013338.713349.74TP+10.732025-05-23
2025-05-22 22:00BUY0.013294.863349.74TP+54.582025-05-23
2025-05-23 06:00BUY0.013313.753349.74TP+35.692025-05-23
2025-05-23 14:00BUY0.013357.223364.92TP+7.402025-05-23
2025-05-23 20:00BUY0.013362.213317.78TP-44.732025-05-28
2025-05-27 16:00BUY0.013300.023317.78TP+17.462025-05-28
2025-05-27 18:00BUY0.013297.943317.78TP+19.542025-05-28
2025-05-27 20:00BUY0.013303.243317.78TP+14.242025-05-28
2025-05-28 16:00SELL0.013302.433294.73TP+7.402025-05-28
2025-05-28 20:00SELL0.013302.123294.42TP+7.402025-05-28
2025-05-29 00:00BUY0.013286.803294.50TP+7.402025-05-29
2025-05-29 12:00BUY0.013296.833304.53TP+7.402025-05-29
2025-05-29 14:00BUY0.013316.603324.30TP+7.402025-05-29
2025-05-29 18:00BUY0.013322.413330.11TP+7.402025-06-02
2025-06-02 08:00BUY0.013344.553352.25TP+7.402025-06-02
2025-06-02 10:00BUY0.013352.243359.94TP+7.402025-06-02
2025-06-02 14:00BUY0.013355.593363.29TP+7.402025-06-02
2025-06-02 16:00BUY0.013376.213383.91TP+7.402025-06-03
2025-06-03 16:00BUY0.013346.673354.37TP+7.402025-06-03
2025-06-03 20:00BUY0.013353.703361.40TP+7.402025-06-04
2025-06-04 06:00SELL0.013354.653346.95TP+7.402025-06-04
2025-06-04 14:00SELL0.013358.683350.98TP+7.402025-06-04
2025-06-04 22:00SELL0.013372.453364.75TP+7.402025-06-05
2025-06-05 06:00SELL0.013368.253360.55TP+7.402025-06-05
2025-06-05 22:00BUY0.013352.753360.45TP+7.402025-06-06
2025-06-06 00:00BUY0.013359.213366.91TP+7.402025-06-06
2025-06-06 04:00BUY0.013364.103371.80TP+7.402025-06-06
2025-06-09 04:00BUY0.013305.693313.39TP+7.402025-06-09
2025-06-09 06:00BUY0.013311.873319.57TP+7.402025-06-09
2025-06-09 20:00SELL0.013333.023325.32TP+7.402025-06-09
2025-06-09 22:00SELL0.013325.243317.54TP+7.402025-06-10
2025-06-10 02:00SELL0.013316.443308.74TP+7.402025-06-10
2025-06-11 06:00SELL0.013341.703334.00TP+7.402025-06-11
2025-06-13 06:00BUY0.013425.473433.17TP+7.402025-06-13
2025-06-19 02:00BUY0.013379.603387.30TP+7.402025-06-19
2025-06-27 16:00BUY0.013272.553280.94SL+8.092025-06-30
2025-06-24 02:00BUY0.013351.233358.93TP+7.402025-07-02
2025-07-03 02:00SELL0.013346.233338.53TP+7.402025-07-03
2025-07-04 00:00BUY0.013329.303337.00TP+7.402025-07-04
2025-07-08 18:00BUY0.013300.523308.22TP+7.402025-07-08
2025-07-09 00:00BUY0.013301.733309.43TP+7.402025-07-09
2025-07-10 00:00SELL0.013319.413311.71TP+7.402025-07-10
2025-07-10 20:00SELL0.013321.333344.88TP-23.852025-07-15
2025-07-15 06:00SELL0.013360.113344.88TP+14.932025-07-15
2025-07-15 10:00SELL0.013360.903344.88TP+15.722025-07-15
2025-07-16 10:00SELL0.013341.993334.29TP+7.402025-07-16
2025-07-17 08:00SELL0.013335.293327.59TP+7.402025-07-17
2025-07-21 14:00BUY0.013387.353395.05TP+7.402025-07-21
2025-07-23 08:00BUY0.013425.213432.91TP+7.402025-07-23
2025-07-18 10:00SELL0.013347.283339.58TP+7.402025-07-25
2025-07-25 08:00BUY0.013359.613320.44TP-39.472025-07-29
2025-07-28 16:00BUY0.013308.103320.44TP+12.042025-07-29
2025-07-28 18:00BUY0.013312.403320.44TP+7.742025-07-29
2025-07-28 20:00BUY0.013313.783320.44TP+6.362025-07-29
2025-07-28 22:00BUY0.013314.933320.44TP+5.212025-07-29
2025-07-29 00:00BUY0.013314.733320.44TP+5.412025-07-29
2025-07-29 02:00BUY0.013311.813320.44TP+8.332025-07-29
2025-07-29 14:00BUY0.013323.413331.11TP+7.402025-07-29
2025-07-30 08:00BUY0.013327.303335.00TP+7.402025-08-01
2025-08-05 08:00BUY0.013366.423374.12TP+7.402025-08-05
2025-08-05 10:00BUY0.013366.243373.94TP+7.402025-08-05
2025-08-05 22:00SELL0.013380.323372.62TP+7.402025-08-06
2025-08-06 16:00SELL0.013379.173371.47TP+7.402025-08-06
2025-08-06 22:00SELL0.013368.253360.55TP+7.402025-08-11
2025-08-12 14:00BUY0.013350.133357.83TP+7.402025-08-12
2025-08-19 00:00BUY0.013334.583342.28TP+7.402025-08-19
2025-08-21 02:00BUY0.013342.453350.15TP+7.402025-08-22
2025-08-25 14:00BUY0.013364.653372.35TP+7.402025-08-25
2025-08-28 06:00BUY0.013390.303398.00TP+7.402025-08-28
2025-08-28 14:00BUY0.013397.133404.83TP+7.402025-08-28
2025-08-29 08:00BUY0.013410.413418.11TP+7.402025-08-29
2025-09-02 18:00BUY0.013527.853535.55TP+7.402025-09-02
2025-09-03 10:00BUY0.013540.223547.92TP+7.402025-09-03
2025-09-03 14:00BUY0.013550.553558.25TP+7.402025-09-03
2025-09-03 22:00BUY0.013560.773568.47TP+7.402025-09-05
2025-09-05 14:00BUY0.013580.393588.09TP+7.402025-09-05
2025-09-05 16:00BUY0.013590.193597.89TP+7.402025-09-05
2025-09-05 18:00BUY0.013595.403603.10TP+7.402025-09-08
2025-09-08 10:00BUY0.013611.513619.21TP+7.402025-09-08
2025-09-08 12:00BUY0.013617.123624.82TP+7.402025-09-08
2025-09-08 14:00BUY0.013624.353632.05TP+7.402025-09-08
2025-09-08 18:00BUY0.013640.743648.44TP+7.402025-09-09
2025-09-09 04:00BUY0.013647.823655.52TP+7.402025-09-09
2025-09-09 10:00BUY0.013648.333656.03TP+7.402025-09-09
2025-09-09 12:00BUY0.013651.973659.67TP+7.402025-09-09
2025-09-09 16:00BUY0.013645.203652.90TP+7.402025-09-10
2025-09-10 12:00BUY0.013655.293662.99TP+7.402025-09-15
2025-09-16 00:00BUY0.013678.943686.64TP+7.402025-09-16
2025-09-16 02:00BUY0.013686.583694.28TP+7.402025-09-16
2025-09-16 10:00BUY0.013694.493702.19TP+7.402025-09-16
2025-09-16 16:00BUY0.013686.473694.17TP+7.402025-09-17
2025-09-17 06:00BUY0.013680.923688.62TP+7.402025-09-17
2025-09-22 02:00BUY0.013690.773698.47TP+7.402025-09-22
2025-09-22 08:00BUY0.013714.453722.15TP+7.402025-09-22
2025-09-22 10:00BUY0.013720.583728.28TP+7.402025-09-22
2025-09-22 18:00BUY0.013737.293744.99TP+7.402025-09-22
2025-09-22 20:00BUY0.013747.763755.46TP+7.402025-09-23
2025-09-23 04:00BUY0.013741.723749.42TP+7.402025-09-23
2025-09-23 08:00BUY0.013754.063761.76TP+7.402025-09-23
2025-09-23 10:00BUY0.013774.463782.16TP+7.402025-09-23
2025-09-25 06:00BUY0.013738.243746.19SL+7.652025-09-25