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 open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.