Close order using its ticket

 

Hi all, I'm trying to find a way to close an order by using its ticket, but I didn't find anything helpful in CTrade, neither in other classes. Could you help me?

 

Thank you so much 

 
kickstar:

Hi all, I'm trying to find a way to close an order by using its ticket, but I didn't find anything helpful in CTrade, neither in other classes. Could you help me?

You should read this thread: https://www.mql5.com/en/forum/8672
Close deal instead of position
Close deal instead of position
  • www.mql5.com
So when price went in my favour, can I select the individual deal in profit to close?
Reason: