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.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.