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).
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.