Walk-forward analysis: optimise on the past, trade the next period blind, repeat
Walk-forward testing

Walk-Forward Analysis Explained: The Only Backtest That Counts

What walk-forward analysis is, how the train and test windows roll, how to read the results, and why it is the only backtest that predicts anything live.