OPEN-SOURCE SCRIPT
NQ Hourly Connected Flat Blocks

This indicator is designed for NQ (Nasdaq-100) and high-volatility futures traders who need a clean, distraction-free view of Hourly Market Structure. Unlike standard scripts that "staircase" every time a new high is hit, this script utilizes dynamic line-object management to keep hourly levels perfectly flat and connected.
Key Features
Static In-Period Ranges: The High and Low lines for the current hour remain perfectly horizontal. If a new high is hit, the entire line for that hour shifts up, maintaining a "Block" visual rather than a jagged staircase.
Vertical Connectivity: Hours are bridged by vertical connectors at the period transitions, allowing you to visualize "Liquidity Steps" as the market expands or contracts.
Midpoint (Equilibrium) Line: Includes a dashed 50% retracement level for every hour, essential for determining if price is in a "Premium" or "Discount" zone relative to the current hour's range.
Zero Offset: Levels are pinned directly to the candles that created them, providing real-time feedback on range expansion.
How to Trade It
Liquidity Sweeps: Watch for price to wick above the Green High line and immediately reclaim the previous level. This often signals a "Stop Run" before a reversal.
The "Ladder" Trend: In strong trending environments, you will see the "Blocks" create a staircase pattern. Use the Midpoint as a trailing support/resistance level.
Volatility Contraction: When the distance between the Green and Red lines is narrow compared to previous hours, anticipate an explosive breakout.
Key Features
Static In-Period Ranges: The High and Low lines for the current hour remain perfectly horizontal. If a new high is hit, the entire line for that hour shifts up, maintaining a "Block" visual rather than a jagged staircase.
Vertical Connectivity: Hours are bridged by vertical connectors at the period transitions, allowing you to visualize "Liquidity Steps" as the market expands or contracts.
Midpoint (Equilibrium) Line: Includes a dashed 50% retracement level for every hour, essential for determining if price is in a "Premium" or "Discount" zone relative to the current hour's range.
Zero Offset: Levels are pinned directly to the candles that created them, providing real-time feedback on range expansion.
How to Trade It
Liquidity Sweeps: Watch for price to wick above the Green High line and immediately reclaim the previous level. This often signals a "Stop Run" before a reversal.
The "Ladder" Trend: In strong trending environments, you will see the "Blocks" create a staircase pattern. Use the Midpoint as a trailing support/resistance level.
Volatility Contraction: When the distance between the Green and Red lines is narrow compared to previous hours, anticipate an explosive breakout.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.