when order "x" profit and same time opposite direction open order.

for example,

open buy order and then 20 pip take profit but initial order still open
20 pip profit at same time oppsite direction "sell" order and

sell order will close at same time with initial order sl-tp.