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.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.