OPEN-SOURCE SCRIPT
Period Marker

█ OVERVIEW
Period Marker divides a trading session into equal time intervals and draws vertical lines at each boundary. It also projects interval lines into the future, so upcoming divisions are visible before bars arrive. Useful for traders who structure their analysis around fixed time blocks within a session.
█ FEATURES
• Define a session with start time, end time, and timezone
• Subdivide the session into 30-minute or 60-minute intervals
• Vertical lines drawn at each interval boundary within the session
• Optional session boundary lines at the start and end of the session
• Future line projection draws upcoming interval lines ahead of price, updated in real time
█ HOW TO USE
1 — Enable the marker and set your timezone
2 — Define the session window with Start and End times
3 — Choose the interval: 30 or 60 minutes
4 — Toggle "Show Boundary" to include or exclude lines at the session open and close
5 — Customize color, line style, and width to your preference
█ NOTES
Future projection lines are drawn from the last bar forward and update automatically. Only one time range marker is available in this version.
Period Marker divides a trading session into equal time intervals and draws vertical lines at each boundary. It also projects interval lines into the future, so upcoming divisions are visible before bars arrive. Useful for traders who structure their analysis around fixed time blocks within a session.
█ FEATURES
• Define a session with start time, end time, and timezone
• Subdivide the session into 30-minute or 60-minute intervals
• Vertical lines drawn at each interval boundary within the session
• Optional session boundary lines at the start and end of the session
• Future line projection draws upcoming interval lines ahead of price, updated in real time
█ HOW TO USE
1 — Enable the marker and set your timezone
2 — Define the session window with Start and End times
3 — Choose the interval: 30 or 60 minutes
4 — Toggle "Show Boundary" to include or exclude lines at the session open and close
5 — Customize color, line style, and width to your preference
█ NOTES
Future projection lines are drawn from the last bar forward and update automatically. Only one time range marker is available in this version.
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.