OPEN-SOURCE SCRIPT
מעודכן

World Digital Clock

547
Original code developed by br.tradingview.com/u/you_222/
In this update I added the Frankfurt stock exchange, left the times according to Western Europe, and added another light signal to identify whether the stock exchange is open or closed.

This indicator provides a digital clock and real-time status for major financial markets, including Tokyo, London, New York, and Frankfurt. It displays whether each market is currently OPEN or CLOSED, along with the time remaining until the market opens or closes. The indicator is designed to keep traders informed about market activity at a glance.

Key Features:
Digital Clock:

Displays the current time based on a user-defined UTC offset.
Customizable text color, size, and background color.
Market Status:

Shows whether each major market is OPEN or CLOSED.
Displays a countdown timer indicating the time remaining until the market opens or closes.
Includes markets for Tokyo, London, New York, and Frankfurt.
Color Indicators:

A green dot indicates the market is open.
A red dot indicates the market is closed.
Text colors for open and closed markets can be customized.
Customizable Layout:

Choose the table position on the chart (e.g., top right, bottom left).
Adjust text sizes for both the clock and market status.
Daylight Saving Time:

Automatically adjusts market opening and closing times based on daylight saving rules (e.g., summer and winter time).
Alerts:

Optionally triggers alerts when a market opens, keeping you updated in real-time.
Use Cases:
Perfect for day traders or swing traders who need to monitor global market activity.
Useful for keeping track of trading hours and planning strategies based on market availability.
Helps avoid trading outside active market hours, reducing slippage and volatility risks.
This versatile and customizable tool ensures you're always aware of market status and time zones, enhancing your trading efficiency and decision-making.
הערות שחרור
update with clean chart.
הערות שחרור
Bug Fix
הערות שחרור
Bug Fix
הערות שחרור
Bug Fix 3.6
הערות שחרור
Correction and fix.
הערות שחרור
Fix Bugs.
הערות שחרור
Fix Time Bugs.
הערות שחרור
fix time
הערות שחרור
### **Summary of Modifications**
1. **Added Precise Market Hours**
- Adjusted **New York opening time** to support half-hour increments correctly (**15.5 instead of 15.30**).
- Implemented **daylight saving time adjustments** for each market.

2. **Improved Market Time Display**
- Replaced **time remaining** with **current local time** for each market.
- Now displays **HH:MM:SS** format for accuracy.

3. **Refined Market Status Colors**
- Restored **original green** for open markets (**#00aa00** instead of a brighter green).
- Kept **red** for closed markets (**#ff0000**).

4. **Enhanced Visual Indicators**
- **Added a colored dot** before the market name to indicate status.
- Ensured proper positioning and formatting for **better readability**.

These updates improve **accuracy, clarity, and usability** of the trading session dashboard. 🚀
הערות שחרור
Fix NY status
הערות שחרור
Fix UTC bugs

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.