Want to backtest a positional strategy with entering the position of next weekly expiry in current week.
But the available entry selection is only 4 days before expiry.

Can someone please suggest a suitable selection or solution on this?
eg. I want to enter trade on 05.02.2024 for a NIFTY weekly expiry of 15.02.2024.