OPEN-SOURCE SCRIPT
Marks Key Times + Order Blocks + EQH/EQL

Step 1 – Define the Three Key Times
Your script is set to mark these three moments every day (timezone = America/New_York):
· 2:00 AM – Early Asian/late US session transition.
· 5:00 AM – Just before London open, often sees liquidity sweeps.
· 10:30 AM – Mid‑morning in US, after the first hour of cash equities.
At each of these times, the script draws:
· A horizontal line at the opening price of that minute (extended 50 bars forward).
· A vertical line through the high/low of that minute.
· A text label (e.g., “2:00 AM”) on the horizontal line.
You use these visual markers to quickly see “entry windows” on your chart.
Step 2 – Identify Order Blocks (Institutional Zones)
Your script finds two types of order blocks automatically:
· Swing Order Blocks (longer‑term, 50‑bar swing length) – major reversal zones.
· Internal Order Blocks (shorter‑term, 5‑bar internal length) – micro pivot zones.
It draws colored boxes behind price:
· Green/blue boxes = Bullish order blocks (buy zone).
· Red/pink boxes = Bearish order blocks (sell zone).
An order block is a price range where institutions previously placed large orders. You wait for price to return to that box.
Step 3 – The Entry Rule (Time + Order Block)
You only enter a trade when price is inside an order block AND the current time is one of your three key times (2:00 AM, 5:00 AM, or 10:30 AM).
Your script is set to mark these three moments every day (timezone = America/New_York):
· 2:00 AM – Early Asian/late US session transition.
· 5:00 AM – Just before London open, often sees liquidity sweeps.
· 10:30 AM – Mid‑morning in US, after the first hour of cash equities.
At each of these times, the script draws:
· A horizontal line at the opening price of that minute (extended 50 bars forward).
· A vertical line through the high/low of that minute.
· A text label (e.g., “2:00 AM”) on the horizontal line.
You use these visual markers to quickly see “entry windows” on your chart.
Step 2 – Identify Order Blocks (Institutional Zones)
Your script finds two types of order blocks automatically:
· Swing Order Blocks (longer‑term, 50‑bar swing length) – major reversal zones.
· Internal Order Blocks (shorter‑term, 5‑bar internal length) – micro pivot zones.
It draws colored boxes behind price:
· Green/blue boxes = Bullish order blocks (buy zone).
· Red/pink boxes = Bearish order blocks (sell zone).
An order block is a price range where institutions previously placed large orders. You wait for price to return to that box.
Step 3 – The Entry Rule (Time + Order Block)
You only enter a trade when price is inside an order block AND the current time is one of your three key times (2:00 AM, 5:00 AM, or 10:30 AM).
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 cualquier 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 u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga 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 cualquier 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 u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.