OPEN-SOURCE SCRIPT
Walk-Forward Window Visualizer

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.
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一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。