Another script enabling coloring of sessions. Variables for all session timings and colors are exposed. Backgrounds and/or dividers can be enabled. If you only want dividers, just uncheck all of the background sections.
Note: Due to the way weekends are handled on some exchanges, displaying the divider on Friday is not possible.
Note: Displaying backgrounds or...
Trading sessions for crypto markets - the major time segments: London, NYC, Beijing. Times are set in UTC.
Quick experiment for now, may be edited.
More granular data around session breaks for these time zones at www.altcointrading.net or as CSVs daily updated on Keybase keybase.pub
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