OPEN-SOURCE SCRIPT
Weekly Session Divider

This indicator plots vertical divider lines at the start of each new weekly trading session (Sunday 8 PM ET / Monday 00:00 UTC in crypto).
It helps traders quickly spot the opening point of every weekly candle when viewing intraday charts.
Features:
Automatically detects the start of a new week using TradingView’s weekly time stamps.
Customizable line color, width, and style (solid, dashed, dotted).
Only displays on intraday timeframes to keep higher-timeframe charts clean.
Extends divider lines above and below the current chart for easy visibility.
Use case:
Great for crypto and futures traders who want to align intraday trading setups with higher-timeframe weekly opens, track session-to-session structure, or mark where the market’s new weekly trend may begin.
It helps traders quickly spot the opening point of every weekly candle when viewing intraday charts.
Features:
Automatically detects the start of a new week using TradingView’s weekly time stamps.
Customizable line color, width, and style (solid, dashed, dotted).
Only displays on intraday timeframes to keep higher-timeframe charts clean.
Extends divider lines above and below the current chart for easy visibility.
Use case:
Great for crypto and futures traders who want to align intraday trading setups with higher-timeframe weekly opens, track session-to-session structure, or mark where the market’s new weekly trend may begin.
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.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
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.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.