Error code Ordersend error 131

 

Dear Friends I just build an EA for autotrade. But I cant upload it to Market due to this Error 131 occur. Please help me to resolve this. What should I do for overcome this Error.

thank you.

 
Chathusanka Yamasinghe:

Dear Friends I just build an EA for autotrade. But I cant upload it to Market due to this Error 131 occur. Please help me to resolve this. What should I do for overcome this Error.

thank you.


use

NormalizeDouble(Lots,2);

for your lot size

 
Mohammad Soubra:


use

for your lot size

Where should I add this.
 
Mohammad Soubra:


use

for your lot size

That's not a correct solution.

 
Chathusanka Yamasinghe:

Dear Friends I just build an EA for autotrade. But I cant upload it to Market due to this Error 131 occur. Please help me to resolve this. What should I do for overcome this Error.

thank you.

There are dozens of threads about this. Please do some search before asking.
 
Chathusanka Yamasinghe:

Dear Friends I just build an EA for autotrade. But I cant upload it to Market due to this Error 131 occur. Please help me to resolve this. What should I do for overcome this Error.

thank you.

Its a error from Your size lot