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...
Market Trading Sessions is a tool designed to help traders to find the best times of the day for price action trading. It displays non-overlapping visuals for the major trading sessions : Oceania, Asia, Europe, and USA.
This tool has been designed to match all the following requirements that I needed for optimal usage :
Display opening and...
study("Forex Sessions", shorttitle="SessionsFX", overlay=true)
t1 = time(period, "0700-1600")
t2 = time(period, "0200-1100")
t3 = time(period, "1800-0300")
t4 = time(period, "1600-0100")
NewYork = na(t1) ? na : green
London = na(t2) ? na : red
Tokyo = na(t3) ? na : blue
Sydney = na(t4) ? na : aqua
//white silver gray maroon red purple fuchsia...
Updated to work with Pine updates:
London DST timezone still broken. Will fix later.
As always full customization visually, with London fix I'll add more options.
Keep in mind the render resolution option
## Background ##
Simple Sessions is based on the very awesome "Sessions on Chart" by Aurocks_AIF.
I really liked how the background colours worked but wanted to simplify it by removing some parts that I didn't use. I then simplified much of the code, put it into my standard template format and re-published. Hopefully the code is a bit cleaner and easier to read...