OPEN-SOURCE SCRIPT

Past and Upcoming Forex and NYSE Start/End Bar Highlighter

This script highlights the start and end of past sessions and also for upcoming sessions of the current day. Additionally, the start/end bars of the current day can be marked with a text label.

Time zone parameters are available for all time parameters, so that local exchange times can be configured, without the need for manual time zone or daylight saving time (DST) adjustments. Tradingview’s internal time calculations take care of the conversion.

For ease of use, the script comes preconfigured with the start/end times of the Forex and NYSE trading sessions. If you need more highlighted bars, just add the script multiple times and adapt the configuration as needed.
Candlestick Analysis

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?

Disclaimer