PROTECTED SOURCE SCRIPT
Previous Day High / Low / Equilibrium

This indicator plots Previous Day High (PDH), Previous Day Low (PDL), and Previous Day Equilibrium (PD-EQ) anchored to the candles that formed these levels.
🔥 Key Features
Candle-Anchored Levels
PDH/PDL aren’t placed at the midnight candle or the daily bar open. They’re anchored to the actual intraday candle that made the previous day’s high or low.
Session-Aware (17:00 or 18:00 NY)
Set your preferred daily session open (17:00 for Forex, 18:00 for indices/futures) for correct cross-timeframe behavior, including Daily and H4.
Dynamic Line Extension
Lines extend only up to the current candle
Adjustable Line Styles
Choose between Solid, Dashed, or Dotted lines for PDH, PDL, and PD-EQ.
⚙️ Inputs Overview
Session Settings
Daily Session Open Hour (NY Time)
Line Settings
PDH Line Color
PDL Line Color
PD-EQ Line Color
Line Style (Solid / Dashed / Dotted)
Label Settings
Show/Hide Labels
Label Font Size
Label Text Colors
Label Offset (bars to the right)
🛡️ Non-Repainting
The indicator does not repaint.
Levels are locked in once the new session begins.
🔥 Key Features
Candle-Anchored Levels
PDH/PDL aren’t placed at the midnight candle or the daily bar open. They’re anchored to the actual intraday candle that made the previous day’s high or low.
Session-Aware (17:00 or 18:00 NY)
Set your preferred daily session open (17:00 for Forex, 18:00 for indices/futures) for correct cross-timeframe behavior, including Daily and H4.
Dynamic Line Extension
Lines extend only up to the current candle
Adjustable Line Styles
Choose between Solid, Dashed, or Dotted lines for PDH, PDL, and PD-EQ.
⚙️ Inputs Overview
Session Settings
Daily Session Open Hour (NY Time)
Line Settings
PDH Line Color
PDL Line Color
PD-EQ Line Color
Line Style (Solid / Dashed / Dotted)
Label Settings
Show/Hide Labels
Label Font Size
Label Text Colors
Label Offset (bars to the right)
🛡️ Non-Repainting
The indicator does not repaint.
Levels are locked in once the new session begins.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.