Analog/Digital World Clock by DGT

World Clocks - something for fun

Happy New Year!

ps: in case no update on the charts then the clock will not update too and will lag or stop till a new update is received
Release Notes: minor update :

added utc half/quarter hour time zones - source wikipedia List of UTC time offsets

fixed overlapping label issue for non 7/24 markets
Release Notes: Update for Forex trades

Added Forex market sessions, where Forex market is decentralized and driven by local sessions : Sydney, Tokyo, London, New York

In case a Forex currency pair is selected to be viewed the study will automatically switch to Forex display and will display all four Forex market session status and their remaining time to close or remaining time to open

The Forex market is available for trading 24 hours a day except for weekends and the highest trading volume occurs particularly when the London and New York session overlap

@Mirzya thanks a lot for your valuable suggestion
Release Notes: bug fix
Release Notes: Sydney TimeZone updated
Release Notes: a little tweak for the forex sessions calculations
Release Notes: Update

Input selection changed, now besides UTC time it also includes some Major Cities in the time zone (limited to a maximum of one city per country (within each zone)). Each city with its Standard Time, daylight saving time (DST) / Summer time shall be selected manually with the option added (if daylight saving time is observed)
Source : Wikipedia - List of UTC time offsets

Secondly, Date is added to the display
Release Notes: typo correction
Release Notes: Special thanks to @midtownsk8rguy, who not only suggested but also dedicated his time to make this study better. With this updated version you will find mixture of methods of mine and @midtownsk8rguy's applied (different approaches for the same purpose).

Special thanks to the trades/coders that shared their valuable and highly motivating kind comments

Special thanks to @PineCoders for being listed in Editors' Picks

With this updated version, the code is made cleaner and easy to read/modify. user friendly variable declarations, aligned input declarations etc
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


I can't help but admire digital art within an indicator. I genuinely admire your efforts and inspiration provided to TV members. ❤︎ Cheers!!
100 coins
+8 Svara
dgtrd midtownsk8rguy
@midtownsk8rguy, Made me incredibly happy :-), I don't know how to express my feelings of happiness, sincerely thank you ❤︎. This community is amazing and being among you, being a part of it is wonderful feeling
Happy New Year!
+3 Svara
100 coins
+2 Svara
dgtrd admin
😃 thank you @admin 🙏
dgtrd, I want you to have this donation. All the best my friend 😝
100 coins
dgtrd racer8
;-) you are so kind, thank you very much @racer8, all the best to you too and keep up the great publications you share with the community
+1 Svara
500 coins
dgtrd PineCoders
Thank You @PineCoders :-)
That's an awesome work!

And +1 to zzzcrypto123 request, we need to add UTC + 5:30 option ^^
+3 Svara
dgtrd Pratik_4Clover
thank you @Pratik_4Clover 🙏

the latest update includes the full list that apears on wikipedia
+1 Svara
Hem Aktie-screener Forex-screener Krypto-screener Ekonomisk kalender Om Diagramfunktioner Priser Tipsa en vän Ordningsregler Hjälpcenter Webbsidor och mäklarlösningar Widgets Diagramlösningar Lightweight Charting Library Blogg och nyheter Twitter