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
オープンソーススクリプト
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。