No Pending order near by
-
I tried to use the "no pending order nearby" block but it still opens trade when there is an open order (within 1 pip). How can I make this work.
Or is there a custom code I can apply to get it to work?
Thanks
-
@didymario7
no pending just checks if there is no pending order, if you already have an open order you should use the no order block... -
@bk7 said in No Pending order near by:
@didymario7
no pending just checks if there is no pending order, if you already have an open order you should use the no order block...Sorry I meant to say when there is a pending order (within 1 pip).
-
i would loop the orders and grab the price of the order picked in loop, then you can check if the order is far/close enough to the current marked price and act accordingly.. I hope this helps you
-
@didymario7 Can you please share the link to your project to check it out?
-
@bk7
This worked.Thanks