PROTECTED SOURCE SCRIPT

Previous Day High & Low (PDH / PDL) with History

447
This indicator automatically plots the Previous Day High (PDH) and Previous Day Low (PDL) on your chart.

✨ Features:

  • 📅 Multiple days of history (choose how many days to keep, or unlimited).
  • 🎨 Custom colors and line styles (solid, dashed, dotted).
  • 🔎 Show or hide levels once touched by price.
  • 🏷️ Optional labels (“PDH” and “PDL”) that follow the line to the right edge.
  • 🚀 Works on any market, any timeframe.


🔧 Use cases:

  • Identify key liquidity levels.
  • Track daily ranges for intraday trading.
  • Combine with other strategies for confluence.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.