OPEN-SOURCE SCRIPT
Zaktualizowano

ON sqrtRange -> RTH Open Levels

1 087
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
Informacje o Wersji
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

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.
Informacje o Wersji
added cumulative delta to table toggle
top 5 overnight highest vol lvls
prev day levels toggle

should be final update for a long time

Wyłączenie odpowiedzialności

Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.