Hello! I'm trying to upload the robot to the marketplace but I get this message : tester takes too long time - what does it mean? - page 2

 
@Thong Chee Sing #: Out of curiosity, how would the Validator react, says for example, when EA detected that there is "insufficient-funds-to-perform-trade-operation" issue? 

Your EA should not even attempt to trade if there are insufficient funds. Calculate and check your risk and margin requirements beforehand.

Also, use OrderCheck before attempting to send out an order to make sure there will be no other problems.

Thong Chee Sing #: EA will only keep "printing" error message on every tick. Without rectification, no order will get to be sent.

Keep track of your prints, and don't repeat redundant log messages.

Documentation on MQL5: Trade Functions / OrderCheck
Documentation on MQL5: Trade Functions / OrderCheck
  • www.mql5.com
The OrderCheck() function checks if there are enough money to execute a required trade operation . The check results are placed to the fields of...
 

Here's a concise blog wherein Stanislav Korotky posted a defensive workaround for product validation. He explains that the MQL5 Market validator uses the logic of the MT5 tester, and how to exclude non-tester-compliant code from executing during validation. If your code has genuine bugs in it, you obviously should not use the workaround because it will only cause problems with your customers in the Market. If however your code simply has a dozen or so moving Objects such as floating price labels, it can be handy.

Solving Automatic Validation Problems Arising During Product Submission in MQL5 Market - Other - 11 January 2017 - Traders' Blogs
Solving Automatic Validation Problems Arising During Product Submission in MQL5 Market
Solving Automatic Validation Problems Arising During Product Submission in MQL5 Market
  • 2017.08.07
  • www.mql5.com
If you're distributing some products for MetaTrader 4/5 via the Market, you probably know that a special "welcome" stage of automatic product validation has been added recently by MetaQuotes on the