INVITE-ONLY SCRIPT

3CRGANG - SESSIONS

25
This indicator monitors trading sessions for major exchanges, providing a real-time dashboard with status updates, alerts, and weekly schedules in tooltips. It supports timezone customization and holiday detection, making it a versatile tool for global market analysis.

What It Does
The 3CRGANG - Sessions indicator calculates session statuses (active, pre-open, closed) for six exchanges using timezone-specific data. It updates statuses dynamically, triggers alerts for session events, and displays a weekly schedule with holidays in tooltips, all based on user-selected timezones.

Why It’s Useful
This script combines real-time session monitoring with timezone flexibility and holiday-aware scheduling to offer a comprehensive tool. The status updates and alerts help identify active periods, while the weekly schedule tooltips allow planning around holidays. This integrated approach streamlines market hour tracking across exchanges.

How It Works
The script operates in the following steps:
  • Session Calculation: Determines statuses using current time in each exchange’s timezone (e.g., 09:30 to 16:00 for NYSE), adjusted for weekdays and holidays, with updates based on user timezone.
  • Alert Triggering: Detects session transitions (pre-open within 30/5 minutes, open, pre-close within 30/5 minutes, close) and triggers alerts if enabled, skipping holidays.
  • Tooltip Generation: Builds a weekly schedule (Monday to Sunday) for each exchange, converting times to the user’s timezone and marking holidays with an asterisk (*).
  • Output: A table displays exchange statuses with color-coded backgrounds (green for active, yellow for pre-open), and tooltips show the schedule with time until open/close.


Underlying Concepts
The script uses a timezone-based model to define active periods, adjusting for daylight savings and holidays via a library. The weekly schedule leverages this model to project sessions, ensuring consistency. The combination of real-time alerts and holiday-adjusted scheduling helps align monitoring with global hours.

Use Case
  • Session Monitoring: Check the table for active sessions (e.g., green NYSE row) to focus analysis.
  • Alert Setup: Enable pre-open alerts (e.g., 5-minute warning for London) to prepare for starts.
  • Schedule Planning: Use tooltips to review the weekly schedule (e.g., see if HKSE is closed for Lunar New Year).


Chart Notes
The chart displays the script’s output on XAUUSD (1 minute timeframe), showing:
  • Candlesticks with background colors (e.g., green for NYSE) indicating active sessions on lower timeframes.
  • A table in the bottom-center, showing Session status (e.g., grey for closed) with tooltips for weekly schedules.


Settings
  • Time Settings: Select timezone (e.g., "(UTC+3) Jerusalem") and format (Standard or Military).
  • Visualization Setup: Choose device template (Desktop, Tablet, Mobile) and color theme (Light or Dark).
  • Sessions Dashboard: Set table position (e.g., top-right).
  • Notifications Settings: Enable/disable alerts for each exchange (NYSE, LSE, FSE, ASX, TSE, HKSE).


Notes
  • Session data may not display accurately if the chart’s history is insufficient.
  • Alerts are triggered only during enabled sessions unless a holiday overrides them.


Why its Private?
The source code for this script contains a truly unique logic for handling global sessions in a way that's precise and reliable, something I haven't seen done like this anywhere else. The combination of real-time status updates, custom timezone alignment, and the holiday library (with specific additions like Lunar New Year for HKSE) isn't a basic tool—it's tailored to how I monitor markets, with the tooltip generation converting times and marking holidays in a seamless weekly schedule. The alert system integrates with DND and session filters in a proprietary manner to avoid unnecessary notifications, and the whole thing is built on principles that make it stand out from generic session indicators. Restricting access ensures it stays exclusive to those who value it through the BMAC membership. This one has no free alternatives, and that's why it's invite-only.

Disclaimer
This indicator is a tool for analyzing market sessions and does not guarantee success. Trading involves risk, and past performance is not indicative of future results. Always use proper risk management.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.