OPEN-SOURCE SCRIPT
CME Trading Day Separator

CME Trading Day Separator helps visualize the start of each CME trading day by drawing clean vertical dashed separator lines on intraday charts.
By default, the indicator uses the official CME futures session rollover at 18:00 New York time (America/New_York), automatically handling Daylight Saving Time (DST). This makes it ideal for traders analyzing Nasdaq (NQ), S&P 500 (ES), Gold (GC), Crude Oil (CL), and other CME futures.
Features:
📅 Draws a vertical dashed line at the beginning of every CME trading day.
🕕 Default session start at 18:00 New York time, fully customizable.
🌎 Uses the America/New_York timezone to automatically adjust for DST.
🎨 Customize line color and line width.
🗓️ Optionally display weekday labels.
🔤 Choose between short (Mon, Tue, Wed...) or full (Monday, Tuesday...) weekday names.
📉 Option to display only Monday–Friday trading days.
⚡ Lightweight and optimized for intraday trading.
This indicator is designed to provide a clean visual separation between trading days without cluttering your charts, making session analysis, ICT concepts, and daily market structure significantly easier.
By default, the indicator uses the official CME futures session rollover at 18:00 New York time (America/New_York), automatically handling Daylight Saving Time (DST). This makes it ideal for traders analyzing Nasdaq (NQ), S&P 500 (ES), Gold (GC), Crude Oil (CL), and other CME futures.
Features:
📅 Draws a vertical dashed line at the beginning of every CME trading day.
🕕 Default session start at 18:00 New York time, fully customizable.
🌎 Uses the America/New_York timezone to automatically adjust for DST.
🎨 Customize line color and line width.
🗓️ Optionally display weekday labels.
🔤 Choose between short (Mon, Tue, Wed...) or full (Monday, Tuesday...) weekday names.
📉 Option to display only Monday–Friday trading days.
⚡ Lightweight and optimized for intraday trading.
This indicator is designed to provide a clean visual separation between trading days without cluttering your charts, making session analysis, ICT concepts, and daily market structure significantly easier.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.