MQL4 Error code 138 for OrderClose

Looked around for a while,

It actually has to do with the simple "how do you know what parameter (for Buy or Sell) to use in the OrderClose. I had used Bid price all the time, so for a sell order, it couldn't close as it needs Ask price, instead of Bid.

This entry was posted in Technical. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

ERROR: si-captcha.php plugin: GD image support not detected in PHP!

Contact your web host and ask them to enable GD image support for PHP.

ERROR: si-captcha.php plugin: imagepng function not detected in PHP!

Contact your web host and ask them to enable imagepng for PHP.

This site uses Akismet to reduce spam. Learn how your comment data is processed.