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. קרא עוד ב־תנאי השימוש.