The walk-forward optimization can be used with both the Exhaustive and Genetic optimization types. The walk-forward optimization makes it possible to run optimization on the in-sample data and then backtest the strategy on the out-sample data with the best parameters found during the previous step.