OPEN-SOURCE SCRIPT
Mis à jour

Previous Day High, Low + Today's Opening Price [DB]

511
This indicator plots horizontal reference lines showing three price levels:
  1. Previous Day's High (PDH) – Dark red line by default
  2. Previous Day's Low (PDL) – Dark green line by default
  3. 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).
Notes de version
Fixed a bug where adding the indicator to the chart created a new price scale.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.