OrderModify TakeProfit HELP!

 
I'm having a problem in my hedge EA and would like someone to help me.
When an order reaches SELLSTOP or BUYSTOP (hedge), the EA needs to remove the Take Profit of the first order.
Thank you
Reason: