28 Apr 2009

MT4 EA: Stupid Programming Mistakes

| | 0 comments
Well, I spent last evening tracking down some problems in my next foray into programming expert advisers.It turns our that a simple logical test was using an '&' instead of an '&&' between two terms.This little horseshoe nail caused some position closing attempts to fail with an error 138 -- meaning that the price being used to close the position was too far away from the market price.I also ran

0 comments:

Posting Komentar

Archives

 
Twitter Facebook Dribbble Tumblr Last FM Flickr Behance