{Gunzo} Market Trading Sessions (Tokyo, London, New York)

OVERVIEW :
This tool has been designed to match all the following requirements that I needed for optimal usage :
- Display opening and closing of main markets
- See clearly market sessions (non-overlapping colors)
- Display Sydney session if wanted
- Display GMT hours and days
- Visually pleasing design and colors
- Highly configurable
As I had trouble finding a script matching all these criteria, I created this tool and I'm sharing it with the TradingView community, hoping you will find it useful too.
SETTINGS :
- Display market sessions on weekends : Display theoretical market sessions times on the weekend which can be useful for non forex markets.
- Display session for Oceania\Sydney : Display "Oceania\Sydney" trading session
- Display session for Asia\Tokyo : Display "Asia\Tokyo" trading session
- Display session for Europe\London : Display "Europe\London" trading session
- Display session for USA\New York : Display "USA\New York" trading session
- Display session names : Display names of the session on the visual
- Oceania color : Configurable color for the "Oceania\Sydney" sessions
- Asia color : Configurable color for the "Asia\Tokyo" sessions
- Europe color : Configurable color for the "Europe\London" sessions
- USA color : Configurable color for the "USA\New York" sessions
- Background color : Configurable color for the table background
- Border color : Configurable color for the table borders
- Text color : Configurable color for the table text
- Header color : Configurable color for the table header (even days)
- Header color (alternate) : Configurable color for the table header (odd days)
Changed usage of market sessions from GMT to local time (avoid daylight saving time issues).
Fixed a bug on the display of the market sessions (was painting the session one block before it really started).
- Added the option to change the displayed timezone (default GMT) to a timezone defined by the user. Unfortunately at this moment it is not possible in the scripts to recuperate the user timezone, only the exchange timezone.
- Fixed the position of the market session label
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Để truy cập nhanh vào biểu đồ, hãy thêm tập lệnh này vào mục yêu thích của bạn — tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Để truy cập nhanh vào biểu đồ, hãy thêm tập lệnh này vào mục yêu thích của bạn — tìm hiểu thêm tại đây.