@eliecerjesus why not simply give all the orders the same TP, if they are all in the same direction as the first trade?
If for some reason you do not want to do that then I suggest using blocks under the Loop for Trades and Orders heading. For example you could use the "For each closed trade" block set to only look at the most recently closed trade and then the "check how it was closed" block set to by TP and use that to trigger a block to close all open trades. However, I can't see why you don't simply set all the orders to have the same TP.