Weird 131 error

 

Dear all,

I'm finally testing my first EA in real and something weird happens. Every time a new order should be opened a 131 error is got. I'm running it simultaneously in demo and in real. Curiously it works smoothly in demo. All orders are sent fine there, but it doesn't in real. Both accounts are on Alpari. Could please someone tell me why?

Thank you very much in advance.

David

 
Wrong volume? Probably wrong minim volume or wrong volume step. Recheck your OrderSend code.
 
forexCoder:
Wrong volume? Probably wrong minim volume or wrong volume step. Recheck your OrderSend code.

You got it! Thank you ;)