OPEN-SOURCE SCRIPT
PDHL + Current Day HL Tracker V1.1

PDHL + Current Day HL Tracker — Release Notes
Version: 1.1
Date: 2025-05-17
Summary
This update improves the timing accuracy of the current day high/low (CDH/CDL) lines drawing logic by syncing it precisely to the chart’s exchange timezone, including automatic handling of daylight saving time (DST). This ensures the 30-minute post-open trigger fires exactly as expected in all time zones.
Key Changes
30-Minute Trigger Accuracy:
The current day high/low lines are now drawn exactly 30 minutes after the market open (e.g., 10:00 AM Eastern for US markets), regardless of the user’s location or DST.
Behavior Preservation:
Original behavior of prior day high/low (PDH/PDL) lines and their breach logic remain unchanged. Current day lines still appear either on breach or automatically after 30 minutes.
Impact
More reliable visualization of intraday support/resistance levels based on prior and current day price extremes.
Avoids late or early drawing of current day lines due to timezone mismatches.
Improves usability for traders operating in different time zones or during DST transitions.
Notes
No other functional or stylistic changes have been made.
The indicator remains lightweight and easy to read on charts.
Works on any symbol and timeframe supported by TradingView.
Version: 1.1
Date: 2025-05-17
Summary
This update improves the timing accuracy of the current day high/low (CDH/CDL) lines drawing logic by syncing it precisely to the chart’s exchange timezone, including automatic handling of daylight saving time (DST). This ensures the 30-minute post-open trigger fires exactly as expected in all time zones.
Key Changes
30-Minute Trigger Accuracy:
The current day high/low lines are now drawn exactly 30 minutes after the market open (e.g., 10:00 AM Eastern for US markets), regardless of the user’s location or DST.
Behavior Preservation:
Original behavior of prior day high/low (PDH/PDL) lines and their breach logic remain unchanged. Current day lines still appear either on breach or automatically after 30 minutes.
Impact
More reliable visualization of intraday support/resistance levels based on prior and current day price extremes.
Avoids late or early drawing of current day lines due to timezone mismatches.
Improves usability for traders operating in different time zones or during DST transitions.
Notes
No other functional or stylistic changes have been made.
The indicator remains lightweight and easy to read on charts.
Works on any symbol and timeframe supported by TradingView.
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.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
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.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.