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

XAUUSD H1 — Optimised Settings

In-sample 2025-03-11 → 2026-03-04 · out-of-sample 2026-03-04 → 2026-09-18 · 5,328 configurations evaluated · 0 finalists · 1 robust
XAUUSD H17,913 barspaper 64 TP275 SLmodel: slowlabel 38p / 15pregime OFFtrend ONOOS profitable

Out-of-sample confirmed

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

Net profit
$1,773.89
+17.74% on $10,000.00
Min. account
$3,871.46
for 0.01 lot at 1:500, drawdown budget
Max drawdown
16.94%
$1,935.73 peak-to-trough
Profit factor
1.33
recovery 0.92
Trades
341
292W / 49L
Win rate
85.6%
exp $5.20/trade
Sharpe
0.91
sortino 0.72
Exposure
41%
of bars holding
Worst streak
4
consecutive losses

Equity curve

9,37210,01310,65311,29411,934 2025-05-122025-10-092026-02-202026-06-052026-09-18 deposit 10,000

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

Capital requirement

Minimum account balance — $3,871.46

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

Burn-in note: this is a grid with a stop loss (InpStopLoss = 165) at 41% exposure, so the tail is bounded by the stop. The figure above is sized on this 19-month sample; a sustained trend can exceed it.

Drawdown

19%10%0%

Monthly P&L

459 -956 25-0525-0625-0725-0825-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$1,252.26$521.63
Return %12.52%5.22%OOS must stay positive
Max drawdown %4.80%19.03%
Profit factor2.011.12
Trades111230OOS window 2026-03-04 to 2026-09-18
Win rate89.2%83.9%
Sharpe1.550.54
Exposure24%68%

Monthly breakdown

MonthP&L
2025-05+109.36
2025-06+21.50
2025-07+5.84
2025-08+10.70
2025-10+267.13
2025-11+146.55
2025-12-136.14
2026-01+287.58
2026-02+458.50
2026-03-955.84
2026-04-86.35
2026-05+396.09
2026-06+386.30
2026-07+338.19
2026-08+276.35
2026-09+248.13

How the minimum balance is derived

ItemAmountBasis
Leverage assumed1:500your account setting
Peak simultaneous position0.07 lots5 (up to 7) grid slots x 0.01 lot
Margin per 1.00 lot$1,005.97$502,985.00 notional at the effective price
Margin for the whole stack$70.42at the effective price 5029.85 that reproduces the peak notional
Worst floating loss-$519.91largest unrealised drawdown of the open stack
Margin + floating loss$590.33margin is not released while the stack is underwater
Drawdown budget (x2.0)$3,871.46worst backtest drawdown $1,935.73
Pip value per 0.01 lot$1.00$100.00 per pip per 1.00 lot
Margin level at the worst moment47.60equity / 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 (5029.85) — 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_H1.set

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

InputValueInterpretation
InpStopLoss distance165165.0 pips
InpTakeProfit distance154154.0 pips
InpLotSize0.01
InpTrailing distance1111.0 pips
InpGridDistance distance2525.0 pips
InpMaxGrid5
InpBuyEnabletrue
InpSellEnabletrue
InpFixedLottrue
InpLotRatio1
InpWindow12
InpBack15
InpLabelSL distance1515.0 pips
InpLabelTP distance37.537.5 pips
InpTrainBars2000
InpRetrainBars48
InpForestTrees20
InpMaxDepth8
InpMinSamples10
InpClassWeight2
InpTrendFiltertrue
InpTrendSMA200
InpTrendADXMin18
InpTrendStrength0.3
InpProtectEnabletrue
InpMaxDrawdownPct30
InpMaxDailyLoss0
InpStopOnProtecttrue
InpRegimeAdaptfalse
InpRegimePeriod20
InpRangeADXMax22
InpTrendADXExit30
InpBBRangeMin0.001
InpBBRangeMax0.008
InpGridATRmult0
InpRangeLotMult1
InpTrendLotMult0.2
InpRangeMaxGridMult1.5
InpTrendMaxGridMult0.3
InpGridMaxLoss0

EA defaults vs optimised

MetricEA defaultsOptimised
Net profit-$2,666.44$1,773.89
Return-26.66%17.74%
Max drawdown30.18%16.94%
Profit factor0.231.33
Trades121341
Win rate66.1%85.6%

First 200 of 341 closed trades

OpenedSideLotsEntryExitReasonP&LClosed
2025-05-15 14:00BUY0.013179.323240.12SL+60.502025-05-16
2025-05-16 03:00BUY0.013243.303292.46SL+48.862025-05-21
2025-05-23 15:00BUY0.013357.223379.02SL+21.502025-06-03
2025-06-24 05:00BUY0.013352.043358.18SL+5.842025-07-14
2025-08-01 17:00BUY0.013346.033352.23SL+5.902025-08-04
2025-08-27 15:00BUY0.013381.283386.38SL+4.802025-08-28
2025-10-15 20:00BUY0.014197.864228.48SL+30.322025-10-16
2025-10-17 06:00BUY0.014366.774201.77SL-165.302025-10-17
2025-10-20 08:00BUY0.014240.134249.73SL+9.302025-10-20
2025-10-20 09:00BUY0.014236.524249.73SL+12.912025-10-20
2025-10-17 12:00BUY0.014340.294295.96TP-44.632025-10-20
2025-10-20 05:00BUY0.014255.884295.96TP+39.782025-10-20
2025-10-20 06:00BUY0.014264.844295.96TP+30.822025-10-20
2025-10-20 07:00BUY0.014266.544295.96TP+29.122025-10-20
2025-10-20 10:00BUY0.014255.304295.96TP+40.362025-10-20
2025-10-20 13:00BUY0.014255.164295.96TP+40.502025-10-20
2025-10-20 14:00BUY0.014279.714295.96TP+15.952025-10-20
2025-10-20 15:00BUY0.014323.804338.20SL+14.102025-10-20
2025-10-20 20:00BUY0.014347.524367.13SL+19.312025-10-20
2025-10-20 23:00BUY0.014356.404357.89SL+1.192025-10-21
2025-10-21 04:00BUY0.014350.724185.72SL-165.302025-10-21
2025-10-23 04:00BUY0.014073.344080.15SL+6.512025-10-23
2025-10-22 09:00BUY0.014156.164122.08TP-34.382025-10-23
2025-10-23 02:00BUY0.014087.944122.08TP+33.842025-10-23
2025-10-23 03:00BUY0.014081.974122.08TP+39.812025-10-23
2025-10-23 05:00BUY0.014082.704122.08TP+39.082025-10-23
2025-10-23 06:00BUY0.014091.304122.08TP+30.482025-10-23
2025-10-23 07:00BUY0.014090.024122.08TP+31.762025-10-23
2025-10-23 08:00BUY0.014110.444122.08TP+11.342025-10-23
2025-10-23 11:00BUY0.014116.194137.21SL+20.722025-10-23
2025-10-27 17:00BUY0.013990.143995.45SL+5.012025-10-27
2025-10-27 22:00BUY0.013981.173987.46SL+5.992025-10-28
2025-10-27 18:00BUY0.013999.134000.03SL+0.602025-10-28
2025-10-27 21:00BUY0.013990.244000.03SL+9.492025-10-28
2025-10-28 00:00BUY0.013989.934000.03SL+9.802025-10-28
2025-10-28 01:00BUY0.013998.614000.03SL+1.122025-10-28
2025-10-24 03:00BUY0.014132.743967.74SL-165.302025-10-28
2025-10-28 09:00BUY0.013932.523953.83SL+21.012025-10-28
2025-10-28 12:00BUY0.013926.603953.83SL+26.932025-10-28
2025-10-28 13:00BUY0.013923.323953.83SL+30.212025-10-28
2025-10-28 14:00BUY0.013913.253953.83SL+40.282025-10-28
2025-10-28 21:00BUY0.013960.433964.83SL+4.102025-10-29
2025-10-27 19:00BUY0.014006.604005.56TP-1.342025-10-29
2025-10-28 02:00BUY0.014007.034005.56TP-1.772025-10-29
2025-10-28 05:00BUY0.013992.994005.56TP+12.272025-10-29
2025-10-29 01:00BUY0.013964.954005.56TP+40.312025-10-29
2025-10-29 02:00BUY0.013975.984005.56TP+29.282025-10-29
2025-10-29 03:00BUY0.013973.864005.56TP+31.402025-10-29
2025-10-29 05:00BUY0.013963.524005.56TP+41.742025-10-29
2025-10-30 13:00BUY0.013974.504013.23SL+38.432025-10-31
2025-11-13 12:00BUY0.014225.174231.61SL+6.142025-11-13
2025-11-13 21:00BUY0.014164.064174.99SL+10.632025-11-14
2025-11-18 06:00BUY0.014010.624033.30SL+22.382025-11-18
2025-11-18 09:00BUY0.014013.804033.30SL+19.202025-11-18
2025-11-18 17:00BUY0.014053.074070.14SL+16.772025-11-18
2025-11-18 18:00BUY0.014067.024070.14SL+2.822025-11-18
2025-11-14 18:00BUY0.014105.204116.88SL+11.382025-11-19
2025-11-24 01:00BUY0.014075.344132.87SL+57.232025-11-25
2025-12-01 08:00BUY0.014237.194244.57SL+7.082025-12-01
2025-12-15 05:00BUY0.014327.404335.78SL+8.082025-12-15
2025-12-30 13:00BUY0.014384.474390.23SL+5.462025-12-30
2025-12-29 14:00BUY0.014464.524299.52SL-165.302025-12-31
2025-12-31 11:00BUY0.014326.034334.87SL+8.542025-12-31
2026-01-02 20:00BUY0.014315.364390.86SL+75.202026-01-05
2026-01-12 12:00BUY0.014594.374604.88SL+10.212026-01-12
2026-01-19 04:00BUY0.014662.574666.98SL+4.112026-01-19
2026-01-19 09:00BUY0.014665.254665.59SL+0.042026-01-20
2026-01-22 02:00BUY0.014798.294821.67SL+23.082026-01-22
2026-01-26 09:00SELL0.015089.015079.64SL+9.072026-01-26
2026-01-26 02:00SELL0.015041.555039.74SL+1.512026-01-26
2026-01-26 03:00SELL0.015070.755039.74SL+30.712026-01-26
2026-01-27 07:00BUY0.015083.145087.73SL+4.292026-01-27
2026-01-27 13:00BUY0.015077.025079.96SL+2.642026-01-27
2026-01-27 22:00BUY0.015176.855282.63SL+105.482026-01-28
2026-01-28 22:00BUY0.015377.015531.01TP+153.702026-01-29
2026-01-29 22:00BUY0.015394.265427.40SL+32.842026-01-30
2026-01-30 09:00BUY0.015181.425016.42SL-165.302026-01-30
2026-02-02 21:00BUY0.014685.674749.21TP+63.242026-02-03
2026-02-02 23:00BUY0.014658.754749.21TP+90.162026-02-03
2026-02-03 01:00BUY0.014774.364830.67SL+56.012026-02-03
2026-02-03 19:00SELL0.014928.934919.45SL+9.182026-02-03
2026-02-03 21:00BUY0.014927.314935.26SL+7.652026-02-04
2026-02-04 02:00BUY0.015015.875035.62SL+19.452026-02-04
2026-02-04 04:00BUY0.015040.655059.11SL+18.162026-02-04
2026-02-04 15:00BUY0.015054.134889.13SL-165.302026-02-04
2026-02-05 12:00BUY0.014877.134904.42TP+26.992026-02-05
2026-02-05 15:00BUY0.014835.844904.42TP+68.282026-02-05
2026-02-05 16:00BUY0.014846.284904.42TP+57.842026-02-05
2026-02-09 13:00BUY0.015011.085026.82SL+15.442026-02-09
2026-02-11 12:00BUY0.015093.565100.76SL+6.902026-02-11
2026-02-11 17:00BUY0.015060.385080.60SL+19.922026-02-11
2026-02-11 21:00BUY0.015082.274917.27SL-165.302026-02-12
2026-02-13 03:00BUY0.014980.974984.71SL+3.442026-02-13
2026-02-17 09:00BUY0.014917.274921.13SL+3.562026-02-17
2026-02-17 10:00BUY0.014920.974921.13SL-0.142026-02-17
2026-02-17 17:00BUY0.014878.704887.98SL+8.982026-02-17
2026-02-17 18:00BUY0.014869.454887.98SL+18.232026-02-17
2026-02-17 19:00BUY0.014865.304887.98SL+22.382026-02-17
2026-02-17 22:00BUY0.014878.094923.07SL+44.682026-02-18
2026-02-17 23:00BUY0.014878.044923.07SL+44.732026-02-18
2026-02-17 03:00BUY0.014958.034989.26TP+30.932026-02-18
2026-02-17 11:00BUY0.014926.194989.26TP+62.772026-02-18
2026-02-17 13:00BUY0.014929.564989.26TP+59.402026-02-18
2026-02-18 16:00BUY0.014991.905007.35SL+15.152026-02-19
2026-02-23 01:00BUY0.015165.545181.62SL+15.782026-02-23
2026-03-02 02:00BUY0.015347.605355.49SL+7.592026-03-02
2026-03-02 03:00BUY0.015325.195355.49SL+30.002026-03-02
2026-03-02 04:00BUY0.015346.655355.49SL+8.542026-03-02
2026-03-02 01:00BUY0.015387.225397.12SL+9.602026-03-02
2026-03-02 20:00BUY0.015315.705321.55SL+5.552026-03-02
2026-03-04 08:00BUY0.015160.975181.23SL+19.962026-03-04
2026-03-05 20:00BUY0.015069.655075.23SL+5.282026-03-06
2026-03-05 21:00BUY0.015066.265075.23SL+8.672026-03-06
2026-03-05 17:00BUY0.015102.715123.76SL+20.752026-03-06
2026-03-05 22:00BUY0.015076.865123.76SL+46.602026-03-06
2026-03-06 12:00BUY0.015091.245130.88SL+39.342026-03-06
2026-03-09 09:00BUY0.015099.275130.02SL+30.452026-03-10
2026-03-10 03:00BUY0.015184.505194.61SL+9.812026-03-10
2026-03-10 17:00BUY0.015228.775063.77SL-165.302026-03-12
2026-03-12 22:00BUY0.015079.365113.20SL+33.542026-03-13
2026-03-16 04:00BUY0.015003.755008.14SL+4.092026-03-16
2026-03-13 18:00BUY0.015046.155037.52TP-8.932026-03-16
2026-03-13 22:00BUY0.015019.135037.52TP+18.092026-03-16
2026-03-16 03:00BUY0.015016.185018.85SL+2.372026-03-16
2026-03-16 05:00BUY0.015019.295037.52TP+17.932026-03-16
2026-03-16 07:00BUY0.015017.665018.85SL+0.892026-03-16
2026-03-16 10:00BUY0.014991.275018.85SL+27.282026-03-16
2026-03-16 12:00BUY0.014998.965018.85SL+19.592026-03-16
2026-03-16 19:00BUY0.014991.445001.90SL+10.162026-03-17
2026-03-18 02:00BUY0.015004.424839.42SL-165.302026-03-18
2026-03-19 00:00BUY0.014834.854847.75SL+12.602026-03-19
2026-03-19 01:00BUY0.014837.024847.75SL+10.432026-03-19
2026-03-19 02:00BUY0.014841.414847.75SL+6.042026-03-19
2026-03-18 18:00BUY0.014887.084722.08SL-165.302026-03-19
2026-03-19 03:00BUY0.014850.084685.08SL-165.302026-03-19
2026-03-19 06:00BUY0.014849.984684.98SL-165.302026-03-19
2026-03-19 19:00BUY0.014616.164637.73SL+21.272026-03-20
2026-03-20 03:00BUY0.014677.474714.64SL+36.872026-03-20
2026-03-20 09:00BUY0.014706.494541.49SL-165.302026-03-20
2026-03-20 13:00BUY0.014671.804506.80SL-165.302026-03-20
2026-03-20 14:00BUY0.014678.544513.54SL-165.302026-03-20
2026-03-20 18:00BUY0.014583.444418.44SL-165.302026-03-23
2026-03-23 18:00BUY0.014375.524415.23SL+39.412026-03-23
2026-03-23 19:00BUY0.014426.384438.03SL+11.352026-03-23
2026-03-24 00:00BUY0.014427.054429.98SL+2.632026-03-24
2026-03-23 14:00BUY0.014478.404313.40SL-165.302026-03-24
2026-03-23 20:00BUY0.014449.184431.35TP-18.132026-03-24
2026-03-24 01:00BUY0.014441.134431.35TP-10.082026-03-24
2026-03-24 06:00BUY0.014333.654431.35TP+97.402026-03-24
2026-03-24 07:00BUY0.014347.444431.35TP+83.612026-03-24