How to avoid entry in a set which has runs in loop?

I have multiple sets
and 2 sets have dynamic hedging
i want to limit my loss to -2500 only for those 2 sets.
and rest of the sets have static SL

how to create this ?