OPEN-SOURCE SCRIPT
Session Range & Expansion

A general-purpose tool for measuring session range expansion relative to a historical baseline.
The indicator tracks the high-low range of a selected trading session and compares it with the average range of previous sessions.
The current environment is classified into four regimes: Compressed, Normal, Expanding, and Extreme Expansion.
Session high and low levels can also be displayed directly on the chart for additional context.
I designed this as a market research tool for observing changes in trading activity and identifying periods when range expansion becomes significantly different from normal conditions.
It can be applied across forex, commodities, indices, and crypto markets.
This indicator is intended for market research and analysis, not as a standalone trading signal.
The indicator tracks the high-low range of a selected trading session and compares it with the average range of previous sessions.
The current environment is classified into four regimes: Compressed, Normal, Expanding, and Extreme Expansion.
Session high and low levels can also be displayed directly on the chart for additional context.
I designed this as a market research tool for observing changes in trading activity and identifying periods when range expansion becomes significantly different from normal conditions.
It can be applied across forex, commodities, indices, and crypto markets.
This indicator is intended for market research and analysis, not as a standalone trading signal.
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.