TradingView
icostan
1 avr. 2020 09:12

Session breaks 

Bitcoin / United States DollarCoinbase

Description

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.

Notes de version

Add Frankfurt session

Notes de version

Display session breaks on lower time frames (such as 5, 15 mins) as well.

Notes de version

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

Notes de version

Upgrade to Pinescript v5 and make opening hours configurable in Settings

Notes de version

add Mumbai open for Indian stock market

Notes de version

More configurable settings:
- open: session's open hour in UTC timezone
- style: line style, possible values are solid, dashed, dotted
- color: line color
Commentaires
NinetoFive_Guy
Hello, how can I change into my timezone for example UTC+7?
Thanks mate!
icostan
@NinetoFive_Guy, you can change the chart's timezone and see your local times instead of UTC. EU session has just started and it shows 13:45 (UTC+7) instead of 6:45 (UTC).
charaka_p
Thanks for this script. It is well done.
Is it possible to make it visible on other time frame such as 15min.
icostan
@charaka_p, here you go, session breaks on 15, 5, etc mins.
charaka_p
@icostan, Great stuff. Thank you
n00bita
i love your indicator, however can you also include types of lines like dashed and dotted line , and also can include too the daily open (e.g. new york open or UTC daily open) presented by a horizontal line and printed whole day?, thank you in advance bro.
icostan
@n00bita, I updated the script with configurable line style/color settings; for daily open horizontal line please check my "Price Breaks" indicator: tradingview.com/script/g8tZWz2Q-Price-breaks/
n00bita
@icostan, and also brother, is it possible to combine this two indicator , price breaks and session breaks, in one single indicator?
Plus