OPEN-SOURCE SCRIPT
Updated STRIKE BOX

This **“STRIKE BOX”** Pine Script is used by traders to visually define and track the **New York Opening Range (OR)** — one of the most important time windows in intraday trading — and to monitor how price behaves relative to that range throughout the rest of the session.
Here’s the breakdown of what it’s used for and why traders care:
---
### 🕘 **Purpose**
The script automatically identifies and plots:
1. **The New York Opening Range (8:00–9:30 AM NY time)** – where institutional volume begins to surge.
2. **The Trading Session (9:30–17:00 NY time)** – the official U.S. stock market hours.
It marks the **high and low of the opening range** and then watches for **breakouts** or **retests** during the rest of the day.
---
### 💡 **Why traders use this**
1. **Identify key liquidity zones**
* The high and low of the opening range often represent **areas of trapped traders**, **liquidity pools**, and **institutional positioning**.
* Price tends to **revisit or react strongly** around these levels.
2. **Find breakout or reversal opportunities**
* Traders wait for price to **break above or below** the OR to confirm **directional bias** for the day.
* For example:
* A break above the OR high = possible bullish continuation.
* A break below the OR low = possible bearish momentum.
* If price fails to break and stays inside the range, that signals a **choppy or consolidating market**.
3. **Define risk and targets easily**
* The OR gives **natural stop-loss and take-profit zones**.
* A trader can buy near the OR low and target the OR high, or vice versa.
4. **Filter trades during high-volume hours**
* The New York session overlaps with London for a bit — this is when **most daily volume and volatility** occur.
* Many traders only want to trade inside or just after this opening period.
---
### 📊 **How this script helps**
* It **automatically draws lines** for the OR high and low.
* It plots **vertical dashed lines** marking when the OR starts and ends.
* It **detects when price breaks the OR** (sets `High_Break` or `Low_Break` to true).
* It provides clear **visual zones** for decision-making instead of manually drawing them every day.
---
### 🧠 In short
Traders use this to:
* See where the **New York Opening Range** formed.
* Watch for **breakouts or fakeouts** beyond that range.
* Align their trades with **institutional market flow**.
* Keep charts **clean and systematic** rather than guessing daily key levels.
---
Here’s the breakdown of what it’s used for and why traders care:
---
### 🕘 **Purpose**
The script automatically identifies and plots:
1. **The New York Opening Range (8:00–9:30 AM NY time)** – where institutional volume begins to surge.
2. **The Trading Session (9:30–17:00 NY time)** – the official U.S. stock market hours.
It marks the **high and low of the opening range** and then watches for **breakouts** or **retests** during the rest of the day.
---
### 💡 **Why traders use this**
1. **Identify key liquidity zones**
* The high and low of the opening range often represent **areas of trapped traders**, **liquidity pools**, and **institutional positioning**.
* Price tends to **revisit or react strongly** around these levels.
2. **Find breakout or reversal opportunities**
* Traders wait for price to **break above or below** the OR to confirm **directional bias** for the day.
* For example:
* A break above the OR high = possible bullish continuation.
* A break below the OR low = possible bearish momentum.
* If price fails to break and stays inside the range, that signals a **choppy or consolidating market**.
3. **Define risk and targets easily**
* The OR gives **natural stop-loss and take-profit zones**.
* A trader can buy near the OR low and target the OR high, or vice versa.
4. **Filter trades during high-volume hours**
* The New York session overlaps with London for a bit — this is when **most daily volume and volatility** occur.
* Many traders only want to trade inside or just after this opening period.
---
### 📊 **How this script helps**
* It **automatically draws lines** for the OR high and low.
* It plots **vertical dashed lines** marking when the OR starts and ends.
* It **detects when price breaks the OR** (sets `High_Break` or `Low_Break` to true).
* It provides clear **visual zones** for decision-making instead of manually drawing them every day.
---
### 🧠 In short
Traders use this to:
* See where the **New York Opening Range** formed.
* Watch for **breakouts or fakeouts** beyond that range.
* Align their trades with **institutional market flow**.
* Keep charts **clean and systematic** rather than guessing daily key levels.
---
Release Notes
updated chart and colorsOpen-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.