limit order and the number of open order New comment shonick 2013.02.10 15:46 so, if I have a max 2 order.I open 1 order, and like 5 pending limit order.How can I make sure that there is only 2 open order at a time? What is the code of EA look like to stop those extra pending order to be executed? Is there a limitation for the number of pending order? I can only open no more than 3 pending orders. How to get the maximum number of open positions Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes William Roeder 2013.02.10 17:29 #1 shonick: code of EA look like to stop those extra pending order to be executed? find the pending orders and delete themLoops and Closing or Deleting Orders - MQL4 forum shonick 2013.02.10 17:40 #2 I was thinking something to hold it, not to delete it. Guess, that is the only way.Wow, I didn't realize there is an order of deleting also. Thanks a lot. Thanks New comment
so, if I have a max 2 order.
I open 1 order, and like 5 pending limit order.
How can I make sure that there is only 2 open order at a time?
What is the code of EA look like to stop those extra pending order to be executed?