Take a look at this reply, it is very similar to what you want, at least block 7. You should get the idea: https://fxdreema.com/forum/topic/6700/multiple-trades-once-t-p1-hit-remaining-open-trades-moved-to-be/3