help me please
-
https://fxdreema.com/shared/YPqPTydfe
i need a help, i want to close the order when the other order are open .
i try for it but it isnt work with me. it change the zone -
What do you exactly mean by 'when the other order are open'? I see potentially you can have unlimited open trades at the same time.
-

like this -
@Gerges12 Assign a group number for each trade as a variable (1st Trade - 1ST, 2nd Trade 2ND ) then Add a Trade Opened Block to a Close Trades Block
For example...
Trade Open Block (For the Group Number right click and select the variable 2ND as this is the assigned Group Number!) to a Close Trade Block (For the Group Number of this Block right click and select the variable 1ST)
As the Second trade is Activated the First trade will be closed.
-
I am very sorry. I tried to implement this, but there were some things I did not understand.
Can you send a screenshot of the edited screen? I'm really sorry because I'm new and haven't learned much yet -
Group numbers are not the way to create this, close trade and open a new one, this way group 0 is always available.
-
i tried that, but he opened 2 order with me
-
Then something wasn't right
-
I was frustrated by that. I tried for two weeks and couldn't find a solution