Quote:
Originally Posted by luxinterior
You might want to revise this line...
total = OrdersTotal();
as it returns ALL open orders not just the ones associated with your EA. Better to check for orders in the same currency and having the same magic number otherwise it throws your logic out.
|
Thanks for the input, and I know I should. I was more concerned with getting the bulk of the EA out quicker while people were still interested in it (more testers and whatnot). I actually have a pretty good magic number system in my personal, but adding it to the code instead of including a header file was more work than I wanted to do during the beta version of the EA. Thanks again for the input!
-MRE-