Do not connect thar trailing stop block on that position. Create a separate block tree headed by a 'Pass' block. On the other hand, that 'once per bar' block will mess your martingale. What you need is a constant ckecking process of your conditions so that a new trade is immediately open if the current one hits SL or TP.
H