OPEN-SOURCE SCRIPT
Diupdate Multi-Timeframe Candle Open Tracker (R2F Trading)

Multi-Timeframe Candle Open Tracker
A compact table that shows which candles are opening a fresh bar right now and which open on the next bar, across four groups of timeframes at the same time: hourly, daily, weekly, and monthly.
The table sits in the corner of your chart. Each group has a NOW row and a NEXT row. A green cell means a new candle of that timeframe is opening, and a red cell means it is not. If you are trading off the 4H and want to know whether the 8H and 12H are also turning over on the current bar, you can read it from the table instead of flipping between timeframes.
What it covers:
- HOUR: 1H through 12H
- DAY: 1D through 5D
- WEEK: 1W through 4W
- MONTH: 1M through 12M
How the timing works
The readout is calculated from the clock and the calendar rather than from the chart you happen to be on, so the table shows the same thing on a 1-minute chart and on a 6-month chart. Many candle-open tools break when the chart timeframe is higher than the candle being checked, because their data source either collapses every sub-period together or lags a full period behind. This one avoids that by deriving each candle boundary directly from the date.
Multi-period candles are anchored the way TradingView builds them. Multi-month candles align to the calendar year, so a new 6M candle opens in January and July, quarters break on January, April, July, and October, and a 12M candle opens each January. Weekly multiples align to the ISO week. Daily multiples run as a continuous Monday-to-Friday trading-day count, so a 5D candle matches a trading week while the shorter multiples cycle through without resetting every Monday.
Market closure
For markets that close, such as forex over the weekend, the hour and day rows detect when the daily candle has stopped rolling. While the market is shut, nothing reads as opening now, and the next bar is treated as the reopen, where the hourly candles all reset and open together. The same reset applies at each normal day boundary, so the final hour of the session shows every hourly candle opening next.
Settings
- Table position and text size
- A top-margin control that drops the table below the symbol overlay on mobile, with no effect on your desktop layout
- Show and hide toggles for the hour, day, week, and month sections
- An optional grey divider between sections, with adjustable thickness
- Colour control for the open and closed cells, the section headers, the dividers, and the grid
Notes
The hour and day rows assume a 24-hour daily candle, which fits forex and crypto. The daily multiples 2D, 3D, and 4D are anchored to the start of the year; 1D and 5D are exact, and you can check the in-between multiples against a 3D or 4D chart if your broker anchors them differently. The day row currently treats both Saturday and Sunday as closed, so during the Sunday forex reopen the daily section reads as closed while price is already moving.
Works on any asset and any chart timeframe.
- R2F Trading
A compact table that shows which candles are opening a fresh bar right now and which open on the next bar, across four groups of timeframes at the same time: hourly, daily, weekly, and monthly.
The table sits in the corner of your chart. Each group has a NOW row and a NEXT row. A green cell means a new candle of that timeframe is opening, and a red cell means it is not. If you are trading off the 4H and want to know whether the 8H and 12H are also turning over on the current bar, you can read it from the table instead of flipping between timeframes.
What it covers:
- HOUR: 1H through 12H
- DAY: 1D through 5D
- WEEK: 1W through 4W
- MONTH: 1M through 12M
How the timing works
The readout is calculated from the clock and the calendar rather than from the chart you happen to be on, so the table shows the same thing on a 1-minute chart and on a 6-month chart. Many candle-open tools break when the chart timeframe is higher than the candle being checked, because their data source either collapses every sub-period together or lags a full period behind. This one avoids that by deriving each candle boundary directly from the date.
Multi-period candles are anchored the way TradingView builds them. Multi-month candles align to the calendar year, so a new 6M candle opens in January and July, quarters break on January, April, July, and October, and a 12M candle opens each January. Weekly multiples align to the ISO week. Daily multiples run as a continuous Monday-to-Friday trading-day count, so a 5D candle matches a trading week while the shorter multiples cycle through without resetting every Monday.
Market closure
For markets that close, such as forex over the weekend, the hour and day rows detect when the daily candle has stopped rolling. While the market is shut, nothing reads as opening now, and the next bar is treated as the reopen, where the hourly candles all reset and open together. The same reset applies at each normal day boundary, so the final hour of the session shows every hourly candle opening next.
Settings
- Table position and text size
- A top-margin control that drops the table below the symbol overlay on mobile, with no effect on your desktop layout
- Show and hide toggles for the hour, day, week, and month sections
- An optional grey divider between sections, with adjustable thickness
- Colour control for the open and closed cells, the section headers, the dividers, and the grid
Notes
The hour and day rows assume a 24-hour daily candle, which fits forex and crypto. The daily multiples 2D, 3D, and 4D are anchored to the start of the year; 1D and 5D are exact, and you can check the in-between multiples against a 3D or 4D chart if your broker anchors them differently. The day row currently treats both Saturday and Sunday as closed, so during the Sunday forex reopen the daily section reads as closed while price is already moving.
Works on any asset and any chart timeframe.
- R2F Trading
Catatan Rilis
Fixed issue with showing correct Day and Week open.Catatan Rilis
There was an issue with timeframes, so I fixed it. I removed the 5D as it was just causing too much problems, as well as the 4W as it is basically a monthly candle anyway.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.