Looping Query - Variable loops

Hi There! Forgive me if this is obvious as I am a newbie to Knime.

I am having an issue with a ‘variable’ loop. The process is that I have a dataset of generic financial information and I have created a testing environment by inserting logic. Through a ‘table row to variable loop start’, I tag certain rows that meet the required logic. It will then provide the information such as when the ‘trade’ opened > When ‘trade’ closed > How long/many rows until close (See Screenshot). That specific loop runs well very well.

I am getting stuck on the next part. I need to ‘lock out’ trades so only one is valid at a time. This means that if a ‘trade’ is opened on row 1 and closes on row 3 - Row 2 cannot open a trade. I was trying it with a recursive loop, generic loop start with no luck.

I have been stuck on this for quite some time - hence my Hail Mary for a post.

Any help would be very appreciative.