OPEN-SOURCE SCRIPT
Обновлено ON sqrtRange -> RTH Open Levels

Overnight sqrtRange → RTH Open Levels
This indicator captures the overnight session range (6 PM – 9:30 AM ET), takes the square root of that range, multiplies it by a user-defined factor, and snaps the result to the nearest tick to produce a dynamic unit (U). Starting from the RTH open at 9:30 AM, it plots up to 8 levels above and below, creating a structured price map for the entire trading day.
Features:
-Auto-calculated unit size from overnight range math
-Up to 8 levels each side with color-coded band fills and midpoints
-ONH / ONL lines with breach markers
-Day type classifier at open (Trend Up / Trend Down / Two-sided)
-Gap detection above ONH or below ONL at the open
-Live info table showing range, sqrtR, unit size, nearest levels, and tick distances
-Alert conditions for every level cross, ONH/ONL breach, and gap opens
-All levels drawn with line objects — zero plot budget wasted
Best used on: ES, NQ futures, but not limited to, individual names may need to tweak the settings for individual names to avoid big or small ranges, which is what the multiplier setting is for(I typically only work with 1,2,4,8 on the multiplier)
For ES, 2x multiplier is ideal and 4x on NQ and dow
individual names vary but typically 1x-2x on the multiplier
This indicator captures the overnight session range (6 PM – 9:30 AM ET), takes the square root of that range, multiplies it by a user-defined factor, and snaps the result to the nearest tick to produce a dynamic unit (U). Starting from the RTH open at 9:30 AM, it plots up to 8 levels above and below, creating a structured price map for the entire trading day.
Features:
-Auto-calculated unit size from overnight range math
-Up to 8 levels each side with color-coded band fills and midpoints
-ONH / ONL lines with breach markers
-Day type classifier at open (Trend Up / Trend Down / Two-sided)
-Gap detection above ONH or below ONL at the open
-Live info table showing range, sqrtR, unit size, nearest levels, and tick distances
-Alert conditions for every level cross, ONH/ONL breach, and gap opens
-All levels drawn with line objects — zero plot budget wasted
Best used on: ES, NQ futures, but not limited to, individual names may need to tweak the settings for individual names to avoid big or small ranges, which is what the multiplier setting is for(I typically only work with 1,2,4,8 on the multiplier)
For ES, 2x multiplier is ideal and 4x on NQ and dow
individual names vary but typically 1x-2x on the multiplier
Информация о релизе
Overnight sqrtRange → RTH Open LevelsThis indicator captures the overnight session range (6 PM – 9:30 AM ET), takes the square root of that range, multiplies it by a user-defined factor, and snaps the result to the nearest tick to produce a dynamic unit (U). Starting from the RTH open at 9:30 AM, it plots up to 8 levels above and below, creating a structured price map for the entire trading day.
Features:
-Auto-calculated unit size from overnight range math
-Up to 8 levels each side with color-coded band fills and midpoints
-ONH / ONL lines with breach markers
-Day type classifier at open (Trend Up / Trend Down / Two-sided)
-Gap detection above ONH or below ONL at the open
-Live info table showing range, sqrtR, unit size, nearest levels, and tick distances
-Alert conditions for every level cross, ONH/ONL breach, and gap opens
-All levels drawn with line objects — zero plot budget wasted
For ES, a 2x multiplier is recommended. NQ and DOW perform well at 4x. Individual names typically fall in the 1x–2x range depending on their average overnight range.
The multiplier is the primary tuning parameter — increase it to expand levels on instruments with a compressed overnight range, or reduce it when levels are too wide. Standard values: 1, 2, 4, 8.
Информация о релизе
added cumulative delta to table toggle top 5 overnight highest vol lvls
prev day levels toggle
should be final update for a long time
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.