Quote:
Originally Posted by amatrader
Hi there,
I hope you don't mind me butting in here, I'm looking at a similar situation and I have a thaught on the issue... what about if you code a loop at the end of your program that says "if no order is open run through again". and let it loop maybe 3 or 4 times.
If it does that then any missed orders (which happens quite often) should surely get picked up. or is there something wrong with my thinking.
I think it would look something like this...
I'm still new to this so if it doesn't make sense please explain to me why.
|
Hey, that's a good idea!
I could check the time and if X seconds or minutes have elapsed then exit the loop.
THANKS!!
P.S. This was not for an EA. I don't code EAs.