Download MetaTrader 5

problem validating my ea

To add comments, please log in or register
Alessandro Boraso
1328
Alessandro Boraso  
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
9982
Keith Watford  

What is the Automatic Validation Process?

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

Alessandro Boraso
1328
Alessandro Boraso  
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
4798
Marco vd Heijden  
If you are getting Invalid trade volume then check the lot size in the order.
Keith Watford
Moderator
9982
Keith Watford  

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