## 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...
This script shows the London and NY Sessions on your chart. Decided to publish it on demand for user yuan642 :D. Maybe other users may find it helpful.
Looking back on charts it can help to spot certain moves or patterns around certain Session open when high volumes enter the markets.
Different version of the CM one but everything is configurable and easy to manage.
Daylight savings may also be toggled, I cannot automatically toggle it yet but hopefully with a pine update I will be able to.
It had the four main sessions but version two could possibly have all of them as optional toggles
Hope it is useful
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...