OPEN-SOURCE SCRIPT
Breakout with text box Tubbsie

### 0DTE Breakout Framework (SPY / QQQ) – EMA Pullbacks + Bias Box
Built specifically for **SPY & QQQ 0DTE options traders**, this indicator focuses on one objective:
> **Catch clean trend continuation moves while avoiding chop and emotional trades.**
It combines EMA structure, precise pullbacks, and real-time market context into a simple, rules-based execution framework.
---
### 🔥 What This Is Designed For
* 0DTE scalps and intraday momentum trades
* EMA pullback entries (9 / 13 / 48 structure)
* Staying aligned with **real directional bias**
* Avoiding **low-quality chop conditions (where accounts get destroyed)**
---
### ⚡ Core Edge
Most traders lose on 0DTE because they:
* Trade inside ranges
* Chase extended moves
* Ignore key levels
* Fight the trend
This script directly solves those problems.
---
### 📊 Entry Signals (Clean, Rule-Based)
**Green = A+ Setup (Take These)**
* Strong trend alignment (9 > 13 > 200 for calls / inverse for puts)
* Tight pullback into the 9 EMA
* Designed for high-probability continuation moves
**Orange = A Setup**
* Same structure, slightly looser pullback
* Still valid, but less precise
**Blue = 48 EMA Continuation**
* Price reacting at the 48 EMA within trend
* Ideal for secondary entries or add-ons
All signals are:
* Filtered to **regular US market hours (9:30–16:00 EST)**
* Distance-based (prevents chasing)
---
### 🧠 The Real Weapon: Dynamic Bias Box
This is what separates the script from typical EMA indicators.
A live decision panel tells you exactly how to behave:
**Directional Bias**
* ✅ *“Calls Only above PMH”*
* 🔻 *“Puts Only below PML”*
* ⚠️ *“No trades – wait for EMA alignment”*
**Chop Zone Detection (Account Saver)**
* Warns when price is stuck inside premarket range
* → This is where most 0DTE losses happen
**Key Level Warnings**
* Alerts when EMAs are near:
* 200 EMA (major reaction zone)
* Previous Day High/Low
* Premarket High/Low
➡️ You’re not just getting entries — you’re getting **context before you click buy**.
---
### 🎯 How to Use (Simple Rules)
* Only take **Green/Orange signals in direction of bias**
* Prioritise trades **outside the Chop Zone**
* Be cautious when warnings are active
* Avoid trading when EMAs are not cleanly stacked
---
### ⚙️ Fully Customisable
* Toggle signal types on/off
* Adjust pullback distance thresholds
* Customise EMA colours
* Modify all bias/warning text
* Move and style the status box
---
### 💡 Trading Philosophy
This tool is built for disciplined 0DTE traders:
> **You don’t need more trades — you need better conditions.**
It helps you:
* Stay patient
* Trade with structure
* Avoid emotional entries
* Focus only on high-quality setups
---
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน