OPEN-SOURCE SCRIPT

Walk-Forward Window Visualizer

146
Visualises rolling or anchored walk-forward train/test windows over chart history at a fixed train-size + test-size cadence. It shades alternating training and out-of-sample test segments so you can see how an honest walk-forward evaluation would carve up your data. It does NOT generate buy or sell signals.

How to read it
Rolling mode steps a fixed train window then tests on the following block, repeatedly. Anchored mode keeps an expanding training prefix and tests on the contiguous out-of-sample region after it.

Honest by design
- No buy/sell signals. This is a layout/visualisation tool.
- Non-repainting: bands are a deterministic function of the bar index.

Open-source and MIT licensed.

Disclaimer: impersonal educational and analytics tool. This is not investment advice, not a personalised recommendation, and carries no performance guarantee. Past results do not predict future results. You are solely responsible for your own trading decisions.

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.