OPEN-SOURCE SCRIPT
Period Separator + Future Lines

Description
This indicator draws vertical separator lines for each selected timeframe (e.g., daily or hourly) and also projects additional separator lines into the future.
It helps traders visually divide the chart into consistent time periods and see upcoming period boundaries in advance.
Features
- Draws vertical lines at the start of each chosen period (daily by default).
- Extends several separator lines into the future so you can anticipate upcoming sessions.
- Fully customizable: color, style (solid/dashed/dotted), line width, and timeframe can be adjusted from the settings.
- Lines are plotted without distorting auto-scaling, so the chart view remains clean.
Use Case
Ideal for intraday and swing traders who want clear visual time markers and the ability to prepare for upcoming trading sessions.
This indicator draws vertical separator lines for each selected timeframe (e.g., daily or hourly) and also projects additional separator lines into the future.
It helps traders visually divide the chart into consistent time periods and see upcoming period boundaries in advance.
Features
- Draws vertical lines at the start of each chosen period (daily by default).
- Extends several separator lines into the future so you can anticipate upcoming sessions.
- Fully customizable: color, style (solid/dashed/dotted), line width, and timeframe can be adjusted from the settings.
- Lines are plotted without distorting auto-scaling, so the chart view remains clean.
Use Case
Ideal for intraday and swing traders who want clear visual time markers and the ability to prepare for upcoming trading sessions.
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.