Gold-only EA: XAUUSD D1 has trades locally but no trading operations in Market validation

Hello,

I am trying to understand a Market automatic-validation failure for an MT5 Expert Advisor that is designed for gold (XAUUSD) only. Service Desk told me they do not check code and asked me to ask on the forum, so I am asking here for technical help with the diagnosis.

Validation report (complete, all four tests, all hedging):

test on EURUSD,H1 (hedging)
there are no trading operations
test on XAUUSD,D1 (hedging)
there are no trading operations
test on GBPUSD,M30 (hedging)
there are no trading operations
test on EURUSD,M1 (hedging)
there are no trading operations

The same EX5 trades on XAUUSD D1 locally. Same file as uploaded (byte-identical, verified by SHA256), built-in default inputs, no .set file, MetaQuotes-Demo account (USD, hedging, 1:100), original MetaQuotes-Demo history, chart XAUUSD D1:

PeriodTick modelDepositTrades
2026.10.01 - 2026.11.01Every tick based on real ticks10000 USD167
2026.10.01 - 2026.11.011 minute OHLC10000 USD165
2026.10.01 - 2026.11.011 minute OHLC, cold start*10000 USD165
2025.01.01 - 2025.02.01Every tick (generated)10000 USD147
2025.01.01 - 2025.02.011 minute OHLC1000 USD147
2026.11.16 - 2026.11.231 minute OHLC10000 USD29
2025.01.01 - 2025.02.01Open prices only10000 USD0 (test stops on day 1)
2026.10.01 - 2026.11.01Open prices only10000 USD0 (test stops on day 1)
EURUSD H1, 2025.011 minute OHLC10000 USD0 (by design, see below)

*cold start = local history deleted before the run.
(For January 2025 the server has no real ticks; real-tick history starts 2026.10.01.)

Known technical facts about the EA:

1. It reads H1 and M15 data (fixed PERIOD_H1 and PERIOD_M15 timeframes) regardless of the chart timeframe. The chart timeframe itself is not used for signals.
2. Because of that, it cannot work in "Open prices only" mode on D1: the tester logs wrong timeframe request in Open Prices testing mode for H1/M15, then rates base receive error , and the test ends on the first day with an empty report.
3. Before every order it checks free margin with OrderCalcMargin. If the deposit is below the margin for the minimum lot (0.01 lot of XAUUSD is roughly 26-42 USD depending on price, at 1:100), it logs the reason and does not send the order. (Shown on earlier builds of the same strategy; not re-run on this exact file.)
4. It is gold-specific and places no orders on EURUSD or GBPUSD by design; it logs symbol EURUSD is not gold (XAUUSD) and stays idle. The description states that it is for XAUUSD only.

What I do not know: the validator's settings (tick model, dates, deposit, account currency, leverage) and its journal are not visible to sellers. So the real reason the XAUUSD,D1 test had no trades is still unresolved. "Open prices only" or a deposit below the minimum margin would explain it, but I cannot confirm that either was used.

I have read the earlier thread on the same symptom (https://www.mql5.com/en/forum/521855), the article "The checks a trading robot must pass before publication in the Market" and the Market rules. I am not looking to add artificial trades, special validator behaviour, or to weaken the margin checks.

Questions:

A. How can I diagnose why the validator's XAUUSD,D1 test produced no trades, when the same EX5 trades on XAUUSD D1 in my tester? Is it known which tick model, period and deposit the validator uses for this test, in particular whether it can be "Open prices only"?

B. Is a gold-only EA acceptable in the Market at all? If yes, what is expected from it in the EURUSD and GBPUSD tests, given that it is not designed to trade those symbols?

C. Is there an official way to get the journal of a failed validation test, or at least its settings?

Any first-hand experience with a similar case is welcome, especially what you changed and what the validator then reported.

Thank you.

There are some information about -

Forum on trading, automated trading systems and testing trading strategies

MQL5 Market validation — Gold-only EA and simulated XAUUSD orders from another host chart

Sergey Golubev, 2026.10.14 17:19

Solving Automatic Validation Problems Arising During Product Submission in MQL5 Market - summary blog post - 

There are no trading operations 

This error is specific for expert advisers only. The rule is: expert advisers must trade. If your robot should be used only on a specific symbol timeframe, then here is what MetaQuotes say: "Products can not apply restrictions. All limitations should be marked as recommendations in the product description."



Forum on trading, automated trading systems and testing trading strategies

Market validation: how to obtain test conditions for "no trading operations"?

Sergey Golubev, 2026.09.24 05:54

There are some more:

  1. Solving Automatic Validation Problems Arising During Product Submission in MQL5 Market - blog post with some code example which should be included to be inside EA.

  2. there are no trading operations - the forum discussion thread; the users are sharing the codes/decision which they used to pass validation sucessfully

  3. How to resolve "no trading operations" validation failure? - (solved step by step) small forum thread


---------------------------

More - 

Rules of Using the Market Service - Product Testing : 
"Products must not contain deliberate operation restrictions or change their functionality depending on the type of account, account number, name of a trading server and other similar conditions under which they are used."

The EA should trade any symbol (means: EA must trade), but all the particularities should be described in the product description.
Rules of Using the Market Service
Rules of Using the Market Service
  • www.mql5.com
General Provisions and Conditions of Use service Market