MQL5 Market: No trades on XAUUSD D1, but the same EX5 trades on MetaQuotes-Demo
- Market validation: how to obtain test conditions for "no trading operations"?
- Market validation of a multi-symbol EA when BTCUSD is unavailable
- Market validation: v1.30 passed, v1.41 reports no trades - how can I obtain diagnostic details?
It is impossible to validate the EA which is design to trade on one symbol only -
Forum on trading, automated trading systems and testing trading strategies
Market validation of a multi-symbol EA when BTCUSD is unavailable
Sergey Golubev, 2026.10.19 19:12
All available information are the following:
1.
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."
----------------
2. The checks a trading robot must pass before publication in the Market - the article
----------------
3. Solving Automatic Validation Problems Arising During Product Submission in MQL5 Market - blog post
================
It is all the information that I found about.
MetaQuotes does not expose the raw agent journal for failed Market checks, so reproducing the validator's edge cases locally in Strategy Tester is the cleanest way to separate zero signals from silent volume or margin skips.
On XAUUSD D1 specifically, two validator conditions usually trigger "no trading operations" even when a multi-month run on MetaQuotes-Demo trades normally: short 1-3 month test slices (only ~20-65 daily bars, which can starve long indicator warmups) and smaller test accounts ( 100 , 500 , or 1000 USD at 1:30 to 1:100 leverage, across both Hedging and Netting modes). Because D1 Gold stops are wide, dynamic risk-percent lot sizing frequently rounds below SYMBOL_VOLUME_MIN ( 0.01 ) and skips the trade instead of clamping to SYMBOL_VOLUME_MIN whenever OrderCalcMargin() still fits inside ACCOUNT_MARGIN_FREE .
To pinpoint the exact blocker locally, print three counters inside OnDeinit() (raw entry signals, skips below SYMBOL_VOLUME_MIN , and skips from OrderCalcMargin() or OrderCheck() ) while testing short 2-month D1 windows on low deposits and Netting mode.