OPEN-SOURCE SCRIPT

Session bars

this script marks off the extended hours trading for NY session. Shades the off hours and overnight data. Highlights the regular trading session for NY session. It can be adjusted for any particular market.

I use it specifically to show the missing data on the SPY as compared with the continuous data on the SPX500.
S&P 500 (SPX500)SPDR S&P 500 ETF (SPY)

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer