Validation Failed

[Deleted]  

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:

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?

 
"Since my EA is restricted to XAUUSD". That is not allowed
[Deleted]  

solved the 1st issue.. now this pop up. what does this mean?

[Deleted]  
Jason Smith #:
"Since my EA is restricted to XAUUSD". That is not allowed
my bad...correction, ea is "optimized" to xauusd. it can run on any symbol