You will need two structures for both conditions. The first one will need three blocks headed by a 'For each trade' on top. The second one can use a normal trailing stop block. You wil need to coordinate both of them properly so that the second will not interefere the first one.
On your last question, you will need a 'once per bar' block on top of the launching structure. That will not necessarily avoid that the the fisrt time you run the EA on the chart a trade will be immediately open if conditions are met.