OPEN-SOURCE SCRIPT
Multi-TF Candle Levels Backtester

Marks the high and low of completed higher-timeframe candles inside a custom date-time range directly on your chart.
Built for manual backtesting and multi-timeframe analysis, this indicator lets you choose 1H, 3H, or 4H levels and displays them clearly on lower timeframes such as 15m. Each candle’s high and low share the same color so you can instantly identify which levels belong together, while highs and lows remain visually distinct for easier reading.
Key features:
• Select a custom start and end date-time range
• Mark completed 1H, 3H, or 4H candle highs and lows
• Each candle gets its own color grouping
• Optional extension of levels to the end of the selected range
• Designed for chart-based manual replay and structural backtesting
• Visible on the chosen timeframe and lower timeframes
Useful for traders who want to study how price reacts to prior higher-timeframe highs and lows without manually drawing every level.
Built for manual backtesting and multi-timeframe analysis, this indicator lets you choose 1H, 3H, or 4H levels and displays them clearly on lower timeframes such as 15m. Each candle’s high and low share the same color so you can instantly identify which levels belong together, while highs and lows remain visually distinct for easier reading.
Key features:
• Select a custom start and end date-time range
• Mark completed 1H, 3H, or 4H candle highs and lows
• Each candle gets its own color grouping
• Optional extension of levels to the end of the selected range
• Designed for chart-based manual replay and structural backtesting
• Visible on the chosen timeframe and lower timeframes
Useful for traders who want to study how price reacts to prior higher-timeframe highs and lows without manually drawing every level.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.