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:
test on EURUSD,H1 (hedging)
not synchronized with trade server
tester stopped because OnInit returns non-zero code 1
disconnected
there are no trading operations
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?
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?