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.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.