OPEN-SOURCE SCRIPT
已更新 Time Clusters - Range Projection (Fixed Capture)

Time Clusters – Range Projection (Selectable Capture TF)
Brief Description
This indicator identifies specific time-of-day slots (hourly + custom times) and captures the exact high/low range of the first bar of a user-selected timeframe (e.g. 1-minute, 5-minute, 15-minute) that occurs at the start of each slot. It then projects that range forward as a box for the rest of the session (or day).
You can run it on any chart timeframe (15s, 1m, 5m, etc.) while independently choosing which timeframe’s first bar range to capture.
Main Use Cases
Opening Range / Time-Based Range Trading: Capture the first 1-minute (or 5-minute) range of key sessions (London open, NY open, etc.) and trade breakouts or mean-reversion from that range.
Intraday Time Clusters: Track how price behaves relative to the opening range of specific hours (e.g. 09:00, 10:00, 13:30).
Multi-timeframe analysis on lower charts: Watch a 15-second or 1-minute chart while locking in the true 1-minute or 5-minute opening range of each slot.
Session profiling / statistical edge hunting: Quickly see which time slots produce reliable ranges that act as support/resistance for the rest of the day.
Ideal for traders who focus on time-of-day edges and want precise, non-repainting opening ranges without switching chart timeframes.
Brief Description
This indicator identifies specific time-of-day slots (hourly + custom times) and captures the exact high/low range of the first bar of a user-selected timeframe (e.g. 1-minute, 5-minute, 15-minute) that occurs at the start of each slot. It then projects that range forward as a box for the rest of the session (or day).
You can run it on any chart timeframe (15s, 1m, 5m, etc.) while independently choosing which timeframe’s first bar range to capture.
Main Use Cases
Opening Range / Time-Based Range Trading: Capture the first 1-minute (or 5-minute) range of key sessions (London open, NY open, etc.) and trade breakouts or mean-reversion from that range.
Intraday Time Clusters: Track how price behaves relative to the opening range of specific hours (e.g. 09:00, 10:00, 13:30).
Multi-timeframe analysis on lower charts: Watch a 15-second or 1-minute chart while locking in the true 1-minute or 5-minute opening range of each slot.
Session profiling / statistical edge hunting: Quickly see which time slots produce reliable ranges that act as support/resistance for the rest of the day.
Ideal for traders who focus on time-of-day edges and want precise, non-repainting opening ranges without switching chart timeframes.
版本注释
the custom zones weren't working correctly. fixed now. 开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。