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).
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.