OPEN-SOURCE SCRIPT
已更新 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
版本注释
Fixed issue with showing correct Day and Week open.版本注释
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.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。