In the Backtest Optimizer, add DTE (per leg) as a parameter you can iterate on.