Optimization tries many parameter sets and keeps the one with the best score in the chosen period. That score is measured on the same data that was used to pick the parameters (in-sample). Part of it is luck: the best parameters also fit the noise of this particular history. This is called overfitting, and the more parameter sets you try, the more optimistic the best score gets.
In real trading you never get that result. You pick parameters with the data you have today and trade them on data that does not exist yet. Walk-forward optimization repeats this situation many times in the past: optimize on a training window, trade the next test window with the parameters found, move both windows forward and repeat. Every trade in the test windows is made with parameters chosen without seeing that data (out-of-sample).
Point at Research โพ in the top bar and choose Walk-forward. Market data must be loaded.


Click Start. Under the settings you can see which window is being optimized and how many backtests it took (Window 3 / 8 ยท iterations 120), and then the progress of the final backtest. The Windows tab lists every window as soon as its optimization ends.
Stop ends the optimization of the current window. Alis leaves that window out and backtests the windows that were optimized in full. Like other jobs, a walk-forward runs in Alis, not in the browser: you can close the tab and come back to the results later.
The Equity tab shows the equity and statistics of the test windows only. This is the out-of-sample result, with the same statistics as a backtest. The Trades and Orders tabs list every trade and order of the test windows.

The Windows tab has one row per window:

The screenshots above show the BuyATH example strategy, which has one parameter (sessions, from 5 to 250). It was optimized for the Sharpe ratio with full permutation, on 36-month training windows, with 12-month test windows from January 2019 to November 2026.
| 2019-01-02 โ 2026-11-09 | Sharpe ratio | Final NAV | Parameters |
|---|---|---|---|
| Optimization of the whole period (in-sample) | 1.52 | 1.71 million | sessions = 69 |
| Walk-forward (out-of-sample) | 1.30 | 1.07 million | from 15 to 42, a new value every year |
The optimization of the whole period looks better, but it knew the future: sessions = 69 is the best value only in hindsight, and no training window ever chose it. The walk-forward result is what the process of optimizing every year and trading the next year would really have given. Here it is lower, but still good, which suggests that the strategy's result is not only the effect of fitting. The parameters were also fairly stable: 33, 42, 35, 38, 34, 15, 41 and 42, with one outlier.
If you trust the walk-forward result, trade the way it was simulated: run a normal optimization on the most recent training window (for example, the last 36 months up to the latest session), with the same scorer and settings, and use its best parameters for the length of one test window (for example, 12 months). Then optimize again.
Click View next to the best result and then Copy to get the parameters as Java code for the strategy's source code. The parameters of every walk-forward window can be copied the same way, from the Windows tab.