OPEN-SOURCE SCRIPT
Simple Sessions & Levels

What this indicator does:
This script marks out two essential types of price levels for intraday and swing traders:
How it works:
How to use it:
What makes it unique and useful:
This tool combines a flexible session opening range with classic daily reference levels in one package. You have complete control over which levels and labels are shown, making it adaptable for any trading style. It’s especially useful for day traders who want to quickly identify volatility windows and the most important price levels from the previous session.
This script marks out two essential types of price levels for intraday and swing traders:
- The high and low of a customizable 15-minute opening range after the market/session open.
- The previous day’s high, midpoint (“halfback”), and low.
How it works:
- The script lets you set the session start time (hour and minute) to match your market.
- It then calculates the high and low of the first 15 minutes after the session opens and plots those as solid lines.
- It also plots the prior day’s high, halfback (midpoint), and low on your chart for easy reference.
- Each line and each label can be toggled on or off independently in the settings for maximum customization.
- Colors for each level are also fully customizable.
How to use it:
- Add the script to your chart.
- Set the session start hour and minute to match the open of the market or instrument you trade.
- Choose which levels and labels you want displayed by using the toggles in the settings.
- The indicator will automatically draw the session range and prior day levels for you.
- Use these lines as reference for key support, resistance, and potential trade entry/exit points.
What makes it unique and useful:
This tool combines a flexible session opening range with classic daily reference levels in one package. You have complete control over which levels and labels are shown, making it adaptable for any trading style. It’s especially useful for day traders who want to quickly identify volatility windows and the most important price levels from the previous session.
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.
Simple Indicators – Premium tools & more: simpleindicators.gumroad.com/
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.
Simple Indicators – Premium tools & more: simpleindicators.gumroad.com/
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.