Linking orders for automation

I’m not sure if this is possible or not but is there a way to link an order (B) to another order (A) so that both close when order A is closed? For reference I am using MT4

For example lets say I am following a reliable signal and it opens an order. A few moments later there is an opportunity for an ever better entry point and I would like to open another trade. Beyond sitting at my computer while the trades are open, how can I make sure they close at the same time? Sometimes the signal closes before the TP is hit.

Thanks.