Forum

Getting Partial Close to add ticket to array so it does not try to partial close the same trade twice

Hello, I asked a question earlier and got enough to write this. What I'm trying to do is to Trail Stop and Partial Close on a Ticket and only do it once. As currently its closing partially twice. How do I add the ticket to the array and check if ticket[i] != array then we can move sl and close

Partial Close Isnt letting other half run?

Hello, I'm modifying a position once profit reaches a certain level and taking 2 lots of volume out of 4 lots and letting the trade ride. However I'm getting some odd behavior that it will close my second position as well a short time later. Anyone got any ideas