You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register

Hi,
I'm seeking assistance with listing my Expert Advisor (EA) on the MetaTrader 5 Marketplace.
The EA is specifically designed to trade XAUUSD (Gold) and compiles without any errors or warnings in MetaEditor.
However, when I attempt to submit the EA, the automatic validation fails with the following error:
It appears that the issue arises because the EA is not intended to operate on EURUSD, which is used by default during the Marketplace validation process. Since my EA is restricted to XAUUSD, it exits in OnInit() if the symbol does not match.
How can I modify the EA to pass Marketplace validation while still keeping it limited to XAUUSD in real use?