NYSE extended session background

This script adds background to the chart to highlight different time areas in any chart.

The time areas are in relation to the open/close time of NYSE , both regular and extended session.

The background colors are the following by default:
  • NO COLOR : NYSE is open
  • DARK BLUE : NYSE is closed
  • LIGHT BLUE : NYSE post market session
  • ORANGE : NYSE pre market session

In addition, previous day close price line is shown during extended and closed sessions (orange line).

This script is useful to visualize any chart in relation to the NYSE timetable.
Release Notes:
bug that caused wrong background timing
Release Notes:
Chart update
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.


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.

Want to use this script on a chart?