EA is opening too many orders at same price and time
- ..@@ need help in opening orders codes and in selectorder codes @@..
- Envelope 2.11
- [WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you.
Show the code and what do you mean by " that are no longer according to the condition"?
Show the code and what do you mean by " that are no longer according to the condition"?
EDIT your original post, please do not just post the code correctly in a new post.
The opening condition is
If(count.buy()== 0)
Open buy();
Nothing is obvious with the snippet of code that you have posted.
Anyway, as it is your intention is to open a grid, it makes no sense to limit it to a single trade.