OPEN-SOURCE SCRIPT
Kim Lisa – Accurate PDH/PDL + PWH/PWL + Weekend Gap (EST)

This indicator provides highly accurate market structure reference levels using official New York (EST) session data. It is designed for traders who rely on precise daily and weekly highs/lows as well as the weekly opening gap between Friday’s close and Monday’s open.
✔ Accurate Daily & Weekly Levels (EST)
The indicator fetches all levels directly from the D and W timeframes using request.security().
This ensures the levels are always correct, regardless of:
your broker
your chart’s timezone
your instrument
or your platform settings
You will always see the true official market structure:
PDH – Previous Day High
PDL – Previous Day Low
PWH – Previous Week High
PWL – Previous Week Low
These levels are essential for liquidity targeting, reversals, sweeps, and intraday trading.
✔ Clean Visual Lines + Labels
Each level is displayed as a clean, thin line on the chart with a small label for quick identification:
PDH (red)
PDL (green)
PWH (purple)
PWL (light purple)
The labels automatically update and move with the chart.
✔ New Week Opening Gap (Friday Close → Monday Open)
The indicator also identifies and highlights the Weekend Opening Gap, which forms between:
Friday’s official NY close (17:00 EST)
Monday’s official NY open
If a gap exists, the indicator draws a shaded box across the chart and labels it:
“NEW WEEK OPENING GAP”
This makes it easy to spot imbalances that often act as magnets for price during the new trading week.
✔ Works on ALL Timeframes
Intraday (1m–15m), swing trading, and even higher timeframes.
The levels always come from the correct higher timeframe data.
⭐ Ideal For:
Smart Money Concepts (SMC)
ICT trading
Liquidity strategies
Reversal traders
Scalpers
Gap traders
Market structure analysis
Opening week setups
💡 Why This Indicator Is Better
Most PDH/PDL indicators recalc levels from the local chart timezone, which leads to incorrect values.
This one pulls official NY session data, giving you:
✔ Consistency
✔ Accuracy
✔ Institutional-grade levels
✔ Perfect alignment with professional trading models
✔ Accurate Daily & Weekly Levels (EST)
The indicator fetches all levels directly from the D and W timeframes using request.security().
This ensures the levels are always correct, regardless of:
your broker
your chart’s timezone
your instrument
or your platform settings
You will always see the true official market structure:
PDH – Previous Day High
PDL – Previous Day Low
PWH – Previous Week High
PWL – Previous Week Low
These levels are essential for liquidity targeting, reversals, sweeps, and intraday trading.
✔ Clean Visual Lines + Labels
Each level is displayed as a clean, thin line on the chart with a small label for quick identification:
PDH (red)
PDL (green)
PWH (purple)
PWL (light purple)
The labels automatically update and move with the chart.
✔ New Week Opening Gap (Friday Close → Monday Open)
The indicator also identifies and highlights the Weekend Opening Gap, which forms between:
Friday’s official NY close (17:00 EST)
Monday’s official NY open
If a gap exists, the indicator draws a shaded box across the chart and labels it:
“NEW WEEK OPENING GAP”
This makes it easy to spot imbalances that often act as magnets for price during the new trading week.
✔ Works on ALL Timeframes
Intraday (1m–15m), swing trading, and even higher timeframes.
The levels always come from the correct higher timeframe data.
⭐ Ideal For:
Smart Money Concepts (SMC)
ICT trading
Liquidity strategies
Reversal traders
Scalpers
Gap traders
Market structure analysis
Opening week setups
💡 Why This Indicator Is Better
Most PDH/PDL indicators recalc levels from the local chart timezone, which leads to incorrect values.
This one pulls official NY session data, giving you:
✔ Consistency
✔ Accuracy
✔ Institutional-grade levels
✔ Perfect alignment with professional trading models
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.