Discussion of article "The checks a trading robot must pass before publication in the Market" - page 8

 
Vladimir Karputov:

Also for the tester there is a mention in the help: for the tester it is necessary to force symbol selection in OnInit. That is, first SymbolSelect by three symbols and only then check.

Multicurrency testing

Thank you very much!

 
Good afternoon. During the validation of the Expert Advisor I get the error "no trading operations". It turns out that the Expert Advisor must perform at least one trading operation? Do I understand it correctly? The Expert Advisor is scalping and it is assumed that the data for analysis will be taken from the M1 timeframe.
 
Alexandr Gladkiy:
Good afternoon. During the validation of the Expert Advisor I get the error "no trading operations". It turns out that the Expert Advisor must perform at least one trading operation? Do I understand it correctly? The Expert Advisor is scalping and it is assumed that the data for analysis will be taken from the M1 timeframe.

If data is taken from m1, then take it from m1 directly in the Expert Advisor.

 

Guys,

My EA is was created to trade only WDO and DOL brazialian symbols and I'm getting this erro trying to upload:


Test report for version 1.0

Validation state: Validation completed with errors

  • Errors count1
  • Started2019.03.04 01:05:55
  • Finished2019.03.04 01:07:11
  • TypeExpert Advisor
test on EURUSD,H1 (netting)
there are no trading operations
test on XAUUSD,D1 (netting)
there are no trading operations
test on GBPUSD,M30 (netting)
there are no trading operations
test on EURUSD,M1 (netting)
there are no trading operations



Any ideas on how I can ger rid of it?
 
Alexandro Pereira:

My EA is was created to trade only WDO and DOL brazialian symbols and I'm getting this erro trying to upload:

Code it to work with all symbols.

You can write in the description that it is only intended to work with WDO and DOL brazialian symbols

 

My EA receives trading signals when a new bar is formed via WebRequest.

Using 60 seconds as a timeout in my WebRequest, the Test report shows:  "tester takes too long time".

Reducing to 1-second timeouts, I get: "there are no trading operations".

This confirms my suspicion that the Automatic Validation fails because the server testing my code is not configured to perform WebRequests with my specific URL.

I see other EA products in the market which use WebRequests.

How do I pass the Automatic Validation?

Thanks.

 

Hello. How to pass validation, the Expert Advisor is multicurrency, symbols are prescribed in the code. During validation it gives the following error: unknown symbol name USDCAD for OrderSend function

Thank you.

 
Dmitriy Belovol:

Hello. How to pass validation, the Expert Advisor is multicurrency, symbols are prescribed in the code. During validation it gives the following errors: unknown symbol name USDCAD for OrderSend function

Thank you.

Step 1: First read the help: Multicurrency testing.

Step 2: Check if such a symbol really exists.

 

This is for MT5 and validation is for MT4

Thank you.

 
Dmitriy Belovol:

Hello. How to pass validation, the Expert Advisor is multicurrency, symbols are prescribed in the code. During validation it gives the following errors: unknown symbol name USDCAD for OrderSend function

Thank you.

Symbols cannot be written in the code (brokers may have different names). Everything must be specified in the input parameters. By default, only the symbol of the current chart can be taken (plus what the environment allows you to add to the market overview, but this is in case of MT5 tester).

The concept of "multi-currency" is broader than single-currency, and the Expert Advisor must show the tester that it can work on a single symbol (especially since the MT4 tester is single-currency), i.e. work out such settings correctly by trading on them. Even if the strategy is multi-currency, you can choose a demo mode for the tester. In the product description, it should be stated that the default settings are not combat settings and should be replaced with a list of selected currencies.