OPEN-SOURCE SCRIPT
已更新 Previous Day High, Low + Today's Opening Price [DB]

This indicator plots horizontal reference lines showing three price levels:
Settings & Customization
Labels:
The goal of this indicator is to simplify tracking potentionally important daily levels without manual drawing.
Works on all timeframes (from 1-minute to weekly charts). The levels auto-update daily at market open and they are non-repainting (historical levels stay fixed).
- Previous Day's High (PDH) – Dark red line by default
- Previous Day's Low (PDL) – Dark green line by default
- Today's Opening Price (O.P.) – Black line by default
Settings & Customization
- Adjust line colors, width (default: 2px), and transparency (30% by default).
- Choose line styles: Solid, Dashed, or Dotted.
Labels:
- Toggle labels (PDH/PDL/O.P.) on/off.
- Optional price values below labels.
The goal of this indicator is to simplify tracking potentionally important daily levels without manual drawing.
Works on all timeframes (from 1-minute to weekly charts). The levels auto-update daily at market open and they are non-repainting (historical levels stay fixed).
發行說明
Fixed a bug where adding the indicator to the chart created a new price scale.免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。