OPEN-SOURCE SCRIPT
CandelaCharts - Session Opening

📝 Overview
The CandelaCharts – Session Opening indicator highlights a custom session window, builds the live high/low as the session unfolds, and then publishes finalized Range High, Range Low, and Consequent Encroachment (Mid) levels once the window closes. A subtle one‑bar divider marks each new session start, and a shaded box visualizes the evolving range while the session is active.
📦 Features
Discover the core tools this indicator provides—from live range tracking to post‑session levels and alerts.
⚙️ Settings
Configure timing, timezone alignment, visuals, and toggles to match your market and workflow.
⚡️ Showcase
Preview a simple chart example with Session Opening applied.

🚨 Alerts
Set notifications for key moments: when a session begins and when it ends.
⚠️ Disclaimer
This section clarifies the risks and intended use.
Trading involves significant risk, and many participants may incur losses. The content on this site is not intended as financial advice and should not be interpreted as such. Decisions to buy, sell, hold, or trade securities, commodities, or other financial instruments carry inherent risks and are best made with guidance from qualified financial professionals. Past performance is not indicative of future results.
The CandelaCharts – Session Opening indicator highlights a custom session window, builds the live high/low as the session unfolds, and then publishes finalized Range High, Range Low, and Consequent Encroachment (Mid) levels once the window closes. A subtle one‑bar divider marks each new session start, and a shaded box visualizes the evolving range while the session is active.
📦 Features
Discover the core tools this indicator provides—from live range tracking to post‑session levels and alerts.
- Custom Session Window – Track any intraday opening window you define (e.g., 09:00–10:00).
- Timezone Control – Align sessions precisely with your market using selectable timezones (e.g., America/New_York, GMT±X).
- Live Session Box – A translucent box expands in real time as highs/lows update during the session.
- Post‑Session Levels – Finalized Range High, Range Low, and CE (Mid) lines print only after the session completes to avoid interim noise.
- Session Divider – A one‑bar background tint clearly marks the first bar of each session.
- Alerts – Receive notifications at session start and end.
⚙️ Settings
Configure timing, timezone alignment, visuals, and toggles to match your market and workflow.
- Session – Defines the specific time range for the session window (e.g., 0900-1000). During this window the indicator tracks the running high/low.
- Timezone – Specifies the timezone used to interpret the session window, ensuring alignment with exchange hours.
- Colors – Selects the colors for Range High (Up), Range Low (Down), and the session Background box/divider.
- Session Range – Shows the finalized Range High/Low/Mid lines outside of the session; lines appear starting one bar after the session closes.
- Session Dividers – Enables the one‑bar background tint on the session’s first bar.
⚡️ Showcase
Preview a simple chart example with Session Opening applied.
🚨 Alerts
Set notifications for key moments: when a session begins and when it ends.
- Session Start: Triggers on the first bar inside the configured session window.
- Session End: Triggers on the first bar after the session window closes.
⚠️ Disclaimer
This section clarifies the risks and intended use.
Trading involves significant risk, and many participants may incur losses. The content on this site is not intended as financial advice and should not be interpreted as such. Decisions to buy, sell, hold, or trade securities, commodities, or other financial instruments carry inherent risks and are best made with guidance from qualified financial professionals. Past performance is not indicative of future results.
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.
Get access to our exclusive tools: candelacharts.com
Join our community: discord.gg/etGSTepqbu
All content provided by CandelaCharts is for informational & educational purposes only.
Join our community: discord.gg/etGSTepqbu
All content provided by CandelaCharts is for informational & educational purposes only.
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.
Get access to our exclusive tools: candelacharts.com
Join our community: discord.gg/etGSTepqbu
All content provided by CandelaCharts is for informational & educational purposes only.
Join our community: discord.gg/etGSTepqbu
All content provided by CandelaCharts is for informational & educational purposes only.
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.