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 aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.