בחירות העורכיםOPEN-SOURCE SCRIPT

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
הערות שחרור
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
הערות שחרור
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
הערות שחרור
bug fix
הערות שחרור
Sydney TimeZone updated
הערות שחרור
a little tweak for the forex sessions calculations
הערות שחרור
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
הערות שחרור
typo correction
הערות שחרור
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
הערות שחרור
Converted to Pine v5
Replaced labels with a table

Happy Holidays 🎅
Average True Range (ATR)clockDATEDGTForexforexsessionslinesTIMEUTC

סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יוכלו להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אבל השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?

כתב ויתור