OPEN-SOURCE SCRIPT
Premarket Breakout Painter (08:00-09:29 ET) — First Break Only

**Pre-Market Breakout Indicator**
This indicator is designed to help traders identify and trade **pre-market breakout levels**. It automatically marks the pre-market high and low range, then extends those levels into the regular session so you can see when price breaks above or below them.
---
## 🔑 **How It Works**
1. **Pre-Market Range**
* During extended hours (before the 09:30 ET open), the indicator tracks the **highest high** and **lowest low**.
* These levels form the **pre-market range**.
2. **Breakout Levels**
* At the market open, the pre-market high and low are plotted as horizontal lines.
* When price breaks above the pre-market high → potential **bullish breakout**.
* When price breaks below the pre-market low → potential **bearish breakout**.
3. **Optional Midline / VWAP**
---
🎨 **Visuals**
* **Horizontal lines** marking pre-market high and low.
* Lines extend into the regular session for easy tracking.
* Colors can be customized for bullish/bearish clarity.
---
⚙️ **Inputs**
* **Session Times** (default: 04:00–09:30 ET for U.S. equities).
* **Show/Hide Midline** (optional).
* **Line Styles & Colors**.
* **Alerts** (optional, e.g., alert when price crosses pre-market high or low).
---
🚨 **Practical Use**
* Look for **high volume breakouts** through pre-market high/low after the bell.
* Use levels as **support/resistance** for pullback entries.
* Combine with EMA trend filters, VWAP, or market internals for confirmation.
---
✅ This indicator doesn’t give buy/sell signals on its own — it’s a **visual framework** to highlight where the market may make its first decisive move of the day.
This indicator is designed to help traders identify and trade **pre-market breakout levels**. It automatically marks the pre-market high and low range, then extends those levels into the regular session so you can see when price breaks above or below them.
---
## 🔑 **How It Works**
1. **Pre-Market Range**
* During extended hours (before the 09:30 ET open), the indicator tracks the **highest high** and **lowest low**.
* These levels form the **pre-market range**.
2. **Breakout Levels**
* At the market open, the pre-market high and low are plotted as horizontal lines.
* When price breaks above the pre-market high → potential **bullish breakout**.
* When price breaks below the pre-market low → potential **bearish breakout**.
3. **Optional Midline / VWAP**
---
🎨 **Visuals**
* **Horizontal lines** marking pre-market high and low.
* Lines extend into the regular session for easy tracking.
* Colors can be customized for bullish/bearish clarity.
---
⚙️ **Inputs**
* **Session Times** (default: 04:00–09:30 ET for U.S. equities).
* **Show/Hide Midline** (optional).
* **Line Styles & Colors**.
* **Alerts** (optional, e.g., alert when price crosses pre-market high or low).
---
🚨 **Practical Use**
* Look for **high volume breakouts** through pre-market high/low after the bell.
* Use levels as **support/resistance** for pullback entries.
* Combine with EMA trend filters, VWAP, or market internals for confirmation.
---
✅ This indicator doesn’t give buy/sell signals on its own — it’s a **visual framework** to highlight where the market may make its first decisive move of the day.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน