A 'For each trade' block should do the job. It's a llop block. It can search for all open trades right now (not only the last one) an apply any condition block connected to it. Can you please share your project?