10013 error while placing order

 

Hi All,

I have written a logic in MQL5 in Meta trader 5 but when I backtest this strategy I get this error:

  failed  [Invalid request]

Error opening order: 10013


I tried so many things but the error is not getting resolved.

Need some help
 
baburao tendulkar:

Hi All,

I have written a logic in MQL5 in Meta trader 5 but when I backtest this strategy I get this error:

  failed  [Invalid request]

Error opening order: 10013


I tried so many things but the error is not getting resolved.

Need some help
So post your code. Use code button <|> or alt-s
 
Your topic has been moved to the section: Expert Advisors and Automated Trading
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
 

Hi

Probably is something wrong with your order send request. Try using the examples from mql5 documentation.

You might have used wrong values, used prices may not be normalized properly, or there is a wrong lot size. We can help you if we see the code.

Have a nice weekend👍📊