OPEN-SOURCE SCRIPT
Updated

XRS Previous Day Close + Session Open Levels

267
XRS Previous Day Close + Session Open Levels

XRS Previous Day Close + Session Open Levels automatically plots some of the most commonly referenced intraday reference prices used by futures, forex, and index traders.

The indicator displays:

• Previous Day Close (PDC)
• Asia Open (6:00 PM New York Time)
• Midnight Open (12:00 AM New York Time)
• London Open (3:00 AM New York Time)
• New York Open (9:30 AM New York Time)

All session opens are calculated using 1-minute data for maximum accuracy regardless of the chart timeframe being viewed.

### Features

* Accurate session open detection using 1-minute data
* Previous Day Close tracking
* Optional price labels
* Adjustable colors and line thickness
* Timezone support
* Option to display only the most recent set of levels
* Works on any timeframe

### Why These Levels Matter

Session opens and the previous day's close often act as important reference points for:

* Intraday bias
* Support and resistance
* Mean reversion setups
* Liquidity sweeps
* Session-to-session price comparisons
* Auction Market Theory analysis

Many traders monitor how price behaves around these levels to identify acceptance, rejection, continuation, and reversal opportunities throughout the trading day.

### Best Used For

* Nasdaq Futures (NQ / MNQ)
* S&P 500 Futures (ES / MES)
* Dow Futures (YM / MYM)
* Forex Markets
* Index CFDs
* Other liquid intraday markets

This indicator is designed to provide a clean and lightweight way to keep key session reference levels visible at all times without cluttering the chart.
Release Notes
Updating to fix the preview.
Release Notes
I updated PDC so it printed only the newest one and I created a setting that allows you to turn on historical levels and see previous levels from previous sessions, this helps keeps the charts clean.

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.