OPEN-SOURCE SCRIPT
Period Range Visualizer

Period Range Visualizer is a Pine Script v6 overlay indicator that visualizes higher-period market structure directly on the chart.
It shows the active period high, low, open, bar-change value, bullish/bearish range boxes, labels, sweep markers, sweep candle coloring, current big candle projection, and previous candle projections.
Auto Timeframe Alignment:
1m chart → 15m period
5m chart → 1h period
15m chart → 4h period
1h chart → 1D period
Other chart timeframes use the manual period setting.
Key Features:
- Current period range boxes
- High, low, open, and bar-change value lines
- Previous high/low extension into the active period
- Previous high sweep and previous low sweep detection
- Sweep candle overlay coloring
- Current big candle projection
- Previous candle projections with weekday labels
- Customizable labels, colors, line styles, widths, and candle settings
This indicator is designed for traders who want a clean visual read of higher-period range behavior, liquidity sweeps, and active-period structure without manually switching timeframes.
It shows the active period high, low, open, bar-change value, bullish/bearish range boxes, labels, sweep markers, sweep candle coloring, current big candle projection, and previous candle projections.
Auto Timeframe Alignment:
1m chart → 15m period
5m chart → 1h period
15m chart → 4h period
1h chart → 1D period
Other chart timeframes use the manual period setting.
Key Features:
- Current period range boxes
- High, low, open, and bar-change value lines
- Previous high/low extension into the active period
- Previous high sweep and previous low sweep detection
- Sweep candle overlay coloring
- Current big candle projection
- Previous candle projections with weekday labels
- Customizable labels, colors, line styles, widths, and candle settings
This indicator is designed for traders who want a clean visual read of higher-period range behavior, liquidity sweeps, and active-period structure without manually switching timeframes.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。