Opening Price Levels (by 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.
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.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
Penafian
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.