On the ex-date, if you have an active Super Order, your pending TP and SL orders are automatically cancelled before the market opens. You’ll also receive an email intimation about this.