OPEN-SOURCE SCRIPT
已更新 Opening Price Levels (by Period)

This indicator draws clean horizontal lines at the opening prices of key time periods: Year, Quarter, Month, Week, and Day.
Each line is plotted only within its own time range, so there's no visual clutter or vertical jumps between periods.
Perfect for traders who want to:
Identify and react to institutional levels.
Track price behavior relative to major opens.
Keep charts clean and easy to read.
Features:
✅ Toggle visibility for each period (Year, Quarter, Month, Week, Day).
🎯 Accurate open levels, aligned with your chart's timeframe and session settings.
✨ Clean segments — each line only spans its original period.
Each line is plotted only within its own time range, so there's no visual clutter or vertical jumps between periods.
Perfect for traders who want to:
Identify and react to institutional levels.
Track price behavior relative to major opens.
Keep charts clean and easy to read.
Features:
✅ Toggle visibility for each period (Year, Quarter, Month, Week, Day).
🎯 Accurate open levels, aligned with your chart's timeframe and session settings.
✨ Clean segments — each line only spans its original period.
發行說明
Opening Price Levels (Multi-TF)This script draws opening price levels for different time periods on the chart. It allows you to display the opening price lines for the year, quarter, month, week, and day based on your selection.
Main Features:
Year Opening Level — A line representing the opening price for the current year.
Quarter Opening Level — A line representing the opening price for the current quarter.
Month Opening Level — A line representing the opening price for the current month.
Week Opening Level — A line representing the opening price for the current week.
Day Opening Level — A line representing the opening price for the current day.
Settings:
You can enable or disable the display of opening levels for each period (Year, Quarter, Month, Week, Day).
You can choose line colors for each period.
The lines are drawn only for the current period. For example, for the month — from the first day of the month to the current day, for the week — from the first day of the week to the current day, etc.
Line Display Mode:
The lines do not extend to the end of the chart, but stop at the current bar for each period.
The lines are drawn only for the first bar of the new period (e.g., at the start of a new month, quarter, year, etc.), allowing you to clearly track changes in opening levels.
This script helps you effectively track important levels on the chart, assisting in making informed trading decisions based on the opening prices of each significant period.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。