Tuesday, 28 April 2009
MT4 EA: Stupid Programming Mistakes
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
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment