OPEN-SOURCE SCRIPT
Updated Previous Day Close - Exact

This indicator plots a dashed horizontal line at the exact closing price of the previous trading day. Unlike versions that rely on daily data, it uses the actual close of the last intraday bar from the previous regular session, ensuring the line matches the chart precisely.
Features:
Exact previous day's closing price
Dashed horizontal line extending into the current session
Automatically updates each trading day
Lightweight and clean
Designed for regular trading hours (RTH)
Perfect for traders who use the previous day's close as a key support/resistance or reference level during intraday trading.
Features:
Exact previous day's closing price
Dashed horizontal line extending into the current session
Automatically updates each trading day
Lightweight and clean
Designed for regular trading hours (RTH)
Perfect for traders who use the previous day's close as a key support/resistance or reference level during intraday trading.
Release Notes
Better confirmation and update right away after market closes at 4pm.Open-source script
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.
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.
Open-source script
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.
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.