OPEN-SOURCE SCRIPT

Session breaks

By icostan
Updated
This indicator marks the start of each trading session around the world, starting with Tokyo at 0am UTC, London at 7am UTC, NY at 12pm and Sydney at 9pm, is non-intrusive (light gray vertical lines) and works with both UTC and exchanges' local time and handles DST / timezone offsets as well.

You can easily see that sometimes it acts as pivot-point especially on high volume.

And last, it is supposed to replace the "Session breaks" option that you can find in "Settings - Appearance" that only displays the end of session for the current exchange.
Release Notes
Add Frankfurt session
Release Notes
Display session breaks on lower time frames (such as 5, 15 mins) as well.

snapshot
Release Notes
hide session breaks in weekends, refactoring/cleanup the code to better handle exchange timezone

https://www.tradingview.com/x/mGjgXn6e/
Release Notes
Upgrade to Pinescript v5 and make opening hours configurable in Settings
Release Notes
add Mumbai open for Indian stock market
Release Notes
More configurable settings:
- open: session's open hour in UTC timezone
- style: line style, possible values are solid, dashed, dotted
- color: line color
breakseuropesessionfrankfurtlondonsessionnewyorksessionPivot Pointssessionssydneytokyosession

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