OPEN-SOURCE SCRIPT

Walk-Forward Window Visualizer

145
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.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。