OPEN-SOURCE SCRIPT
Ladder Levels

The Dynamic 100s & 20pt Increment Grid System is a purely mechanical, price-tracking visualizer that automatically surrounds the current price action with a highly structured, institutional-style number grid.
Instead of manually drawing horizontal levels for psychological numbers, this engine mathematically locks onto the nearest 100-point level and dynamically projects a 2,000-point grid (1,000 points above and 1,000 points below) that moves with the market in real-time.
Core Features
Major Psychological Levels (100s): The script automatically identifies the nearest whole 100-point boundary (e.g., 4100, 4200, 4300) and plots prominent, solid red lines to mark these heavy institutional and psychological barriers.
Minor Increments (20s): Within every 100-point block, the engine generates four minor sub-levels (20, 40, 60, and 80) drawn as subtle, dotted gray lines. These act as high-probability reaction zones for intraday scalps and lower-timeframe liquidity sweeps.
Dynamic Price Tracking: As the price trends upward or downward, the grid automatically shifts to ensure you are always framed perfectly in the center of the 1000-point range, preventing lines from rendering completely off-screen.
Memory Optimized: To prevent TradingView from lagging or collapsing under the weight of hundreds of drawings, the indicator utilizes a strict array-based cleanup function (barstate.islast). It only draws the grid on the live, active bar—constantly deleting and redrawing the lines without polluting your chart's history.
Best Used For:
Indices & Futures: Excellent for assets like NQ, ES, US30, or SPX where 100-point boundaries act as major support/resistance, and 20-point increments act as intraday structural steps.
ICT / Smart Money Concepts: Provides a rigid framework to anticipate liquidity sweeps (e.g., price sweeping a 20-point increment line before reversing back to the 100-point baseline).
Options Trading: Visually mapping out heavy strike price clusters which typically land on whole or 20-point increment numbers.
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.