There must be an update of LastClosePrice If the partial close is succesful.
Also i assume you are handling single orders ,the ticket changes when you partially close an order.
Also i assume you are handling single orders ,the ticket changes when you partially close an order.
Hello coders, I'm trying to implement a partialclose function to my trade manager, but I don't actually know how to make it work as expected.
With this code I get several partial closes at specified ClosePrice, what I need is to partial close at distance from the OpenPrice for first step (this does) and the following steps from the last close.
If someone can help with this, thank you in advance.