cancel pending order once other one is executed
-
Hi all,
i opened one pending buy and pending sell, when one is getting activated i want the other one to be removed. thx -
@samcare2001 In the buy/sell block, you have one cancels the other (OCO), if you select this as 1 is opened, the other will delete.
-
thx for your reply, i enabled oco in that 2 positions are opened!
-
@samcare2001 Yes you use this to open both positions, otherwise on trade tab->trade created->delete pending order
-
@jstap thx buddy, it worked

-
@samcare2001 Your welcome
-
@jstap please , can you tell me how can i tell the bot if a the new conditions are meet you close the previous pending order and put a new one on the new conditions , can you please help , thanks in advance
-
Under your conditions, delete pending and, place new.
-
@jstap where can i find place new pending order , i can't find it , sorry , i really need it , thanks again
-
Is same block you used to place the 1st
-
@kimo12 thanks a lot sir really helped me , one more thing please , how can i set my tp to open but at the close of the current candle after the order is executed
-
Bes way would be to place a instant trade when conditions met.
-
@kimo12 yes but the problem is that the previous trade would still be runing since there is no tp , thats why i want to put tp at the last candle close
-
Then use different group number
-
@kimo12 alright , i'll see , thanks a lot !
-
How can I create an EA where I can place buy stop, sell limit above the running market and buy limit, sell stop below the running market?
Please guide me through this. -
Just position both 'buy/sell pending order' blocks above and below current price. The bot will automatically know which one is a stop and which one a limit.
-
how to make OCO with different setting. the current OCO is using distance. I want to be able to use specific rule. for example I am using session high and low
-
Then you need to create a specific structure for that. There is no block doing it directly.