OPEN-SOURCE SCRIPT
Mis à jour

World Digital Clock

546
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.
Notes de version
update with clean chart.
Notes de version
Bug Fix
Notes de version
Bug Fix
Notes de version
Bug Fix 3.6
Notes de version
Correction and fix.
Notes de version
Fix Bugs.
Notes de version
Fix Time Bugs.
Notes de version
fix time
Notes de version
### **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. 🚀
Notes de version
Fix NY status

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.