PROTECTED SOURCE SCRIPT
12 Canal

12-Session Channels — Boxes with Right Extensions & Midline
This indicator plots up to 12 fully customizable intraday sessions. Each session is defined by three times (HHMM): Session Start, Session End, and Line End (how far the High/Low lines extend to the right). The session channel is drawn with two lines (high and low) plus a filled area between them; while the session is active, the channel adapts in real time to the running high/low. Once the session closes, the high/low lines are extended horizontally until the specified Line End time. An optional midline is included. Every session can use a distinct color for instant visual parsing.
Usage & benefits
Designed for intraday timeframes (< 1D).
Handles sessions that cross midnight (e.g., 21:00 → 01:00) with no time drift.
Option to use the chart’s symbol timezone (automatic DST) or a manual UTC± offset.
Filled area uses linefill (not box objects) to avoid vertical misalignment.
Historical display toggle to manage on-chart object count.
When to use
Partial opens, EU/US/Asia windows, news windows, lunch hours, pre-/post-market.
To frame tradable windows and project key levels forward to a precise cut-off time.
Tips
For equities pre-/post-market, enable Extended Hours on your chart.
Make sure your instrument actually prints bars during the configured window, otherwise no shapes will appear.
Reduce clutter by disabling history or running fewer sessions simultaneously.
Note
The indicator does not repaint: once a session ends, levels are fixed and extensions stop exactly at Line End.
This indicator plots up to 12 fully customizable intraday sessions. Each session is defined by three times (HHMM): Session Start, Session End, and Line End (how far the High/Low lines extend to the right). The session channel is drawn with two lines (high and low) plus a filled area between them; while the session is active, the channel adapts in real time to the running high/low. Once the session closes, the high/low lines are extended horizontally until the specified Line End time. An optional midline is included. Every session can use a distinct color for instant visual parsing.
Usage & benefits
Designed for intraday timeframes (< 1D).
Handles sessions that cross midnight (e.g., 21:00 → 01:00) with no time drift.
Option to use the chart’s symbol timezone (automatic DST) or a manual UTC± offset.
Filled area uses linefill (not box objects) to avoid vertical misalignment.
Historical display toggle to manage on-chart object count.
When to use
Partial opens, EU/US/Asia windows, news windows, lunch hours, pre-/post-market.
To frame tradable windows and project key levels forward to a precise cut-off time.
Tips
For equities pre-/post-market, enable Extended Hours on your chart.
Make sure your instrument actually prints bars during the configured window, otherwise no shapes will appear.
Reduce clutter by disabling history or running fewer sessions simultaneously.
Note
The indicator does not repaint: once a session ends, levels are fixed and extensions stop exactly at Line End.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Aprende y practica para convertirte en el mejor trader en varios mercados.
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ã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Aprende y practica para convertirte en el mejor trader en varios mercados.
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.