OPEN-SOURCE SCRIPT
已更新

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
版本注释
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.
版本注释
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提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。