Download MetaTrader 5

problem validating my ea

To add comments, please log in or register
Have you found an interesting application? Publish it in Code Base - millions of traders will appreciate that!
Alessandro Boraso
1396
Alessandro Boraso 2016.11.23 02:49 
hi guys, i have an issue with the Automatic Validation Process, in the Draft stage. It ends with an error (OrderSend error 131-Invalid trade volume). The validation fails there.
Can anyone suggest me which part of my ea code should be checked and how to be corrected in order to eliminate that error? 
Backtest with Activtrades Demo do not present any error into mt4 Journal. 
Keith Watford
Moderator
9624
Keith Watford 2016.11.23 02:54  

What is the Automatic Validation Process?

If you are getting Invalid trade volume then check the lot size in the order.

Alessandro Boraso
1396
Alessandro Boraso 2016.11.23 06:10  
Keith Watford:

What is the Automatic Validation Process?

If you are getting Invalid trade volume then check the lot size in the order.

Marco vd Heijden
Moderator
4706
Marco vd Heijden 2016.11.23 07:43  
If you are getting Invalid trade volume then check the lot size in the order.
Keith Watford
Moderator
9624
Keith Watford 2016.11.23 08:36  

Oh I see, it is a process for selling an Expert in the market.

Make sure to check that the lot size is a multiple of LotStep and hopefully that will solve your problem.

To add comments, please log in or register