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 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.