Aurocks_AIF

Sessions on Chart

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.
Remove from Favorite Scripts Add to Favorite Scripts
study("Sessions", overlay=true)
t1 = time(period, "0300-1200")
t2 = time(period, "0800-1700")
London = na(t1) ? na : green
NY = na(t2) ? na : red

bgcolor(London, title="London")
bgcolor(NY, title="New York")
Is it me or is the session chart off by 4hour candles the US market has just opened well it’s daylight savings but usually it opens around this time
Reply
How do you get around the fact that TradingView shows "redundant" Sunday candles (i.e. opening at 22.00 and closing at 23.00 GMT)?
Reply
@MRZSKV, it is plotted based on the time when the market is open. Btw, if you are interested also plotting in the background the week start, I could publish that script as well. Regards!
+1 Reply
Thanks for this. You rock!
+1 Reply
Due to hour change, at the moment, following corrections in the code for London and NY sessions are neccesary:

t1 = time(period, "0400-1300")
t2 = time(period, "0900-1800")
+4 Reply
pashd Aurocks_AIF
@Aurocks_AIF, ソースを変更できません。
方法を教えてください。
Reply
Will this session indicator auto 1 hour +/- for DST?
Reply
Aurocks_AIF Trader_Andy
@Trader_Andy, I have updated in the comment above.
Reply
thank you!
+1 Reply
Thank you for this
+2 Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar Shows How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Help Center Refer a friend Feature Request Blog & News FAQ Wiki Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out