{"id":4896,"date":"2014-05-18T22:04:42","date_gmt":"2014-05-19T02:04:42","guid":{"rendered":"http:\/\/nycphantom.com\/journal\/?p=4896"},"modified":"2014-05-18T22:04:42","modified_gmt":"2014-05-19T02:04:42","slug":"mql4-error-code-138-for-orderclose","status":"publish","type":"post","link":"https:\/\/nycphantom.com\/journal\/?p=4896","title":{"rendered":"MQL4 Error code 138 for OrderClose"},"content":{"rendered":"<p>Looked <a href=\"http:\/\/forum.mql4.com\/53747\" target=\"_blank\">around <\/a>for a while,<\/p>\n<p>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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &hellip; <a href=\"https:\/\/nycphantom.com\/journal\/?p=4896\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-4896","post","type-post","status-publish","format-standard","hentry","category-technical"],"_links":{"self":[{"href":"https:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/posts\/4896","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nycphantom.com\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4896"}],"version-history":[{"count":1,"href":"https:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/posts\/4896\/revisions"}],"predecessor-version":[{"id":4897,"href":"https:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/posts\/4896\/revisions\/4897"}],"wp:attachment":[{"href":"https:\/\/nycphantom.com\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4896"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nycphantom.com\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4896"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nycphantom.com\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4896"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}