OPEN-SOURCE SCRIPT
Pops EMA Breakout Suite - PDH/PDL + PMH/PML + 13/48/200

📘 How to Use the Pops EMA Breakout Suite
This script combines Previous Day Levels, Pre-Market Levels, and your EMA fan (13/48/200) into a repeatable trading framework. It’s designed for SPY, QQQ, IWM, and leading stocks — but can be applied anywhere.
🔹 Step 1: Check the Opening Condition
Price must open inside yesterday’s high (PDH) and yesterday’s low (PDL).
This tells you the market is “balanced” and ready for a breakout trade.
🔹 Step 2: Mark the Pre-Market Range (4:00–9:30 ET)
The script automatically plots:
PMH = Pre-Market High (blue line)
PML = Pre-Market Low (blue line)
These are your first breakout trigger levels.
🔹 Step 3: Wait for the Break
If price breaks above PMH, look for longs/calls targeting PDH.
If price breaks below PML, look for shorts/puts targeting PDL.
If price chops between PMH and PML → this is the No-Trade Zone. Sit on hands.
🔹 Step 4: Use the 2-Min EMA Fan for Entry
On a 2-minute chart:
Fast EMA (13, yellow) → entry trigger.
Mid EMA (48, purple) → short-term trend guide.
Slow EMA (200, red) → big-picture filter.
Entry Rule:
After breakout, wait for a pullback to the 13 EMA.
Enter when price rejects and continues in breakout direction.
Stop-loss = just past the 13 EMA.
🔹 Step 5: Manage the Trade
First targets = PDH/PDL zones.
Optional scaling = VWAP, Fib retrace, or major support/resistance.
Trail remainder with the 13 EMA.
🔹 Step 6: Alerts & Automation
The script has built-in alerts you can set:
“Break Above PM High” → signals breakout long.
“Break Below PM Low” → signals breakout short.
“2-min Long Entry” → confirms pullback long.
“2-min Short Entry” → confirms pullback short.
👉 In short: Levels (PDH/PDL, PMH/PML) give you the roadmap. EMAs give you the timing.
This script combines Previous Day Levels, Pre-Market Levels, and your EMA fan (13/48/200) into a repeatable trading framework. It’s designed for SPY, QQQ, IWM, and leading stocks — but can be applied anywhere.
🔹 Step 1: Check the Opening Condition
Price must open inside yesterday’s high (PDH) and yesterday’s low (PDL).
This tells you the market is “balanced” and ready for a breakout trade.
🔹 Step 2: Mark the Pre-Market Range (4:00–9:30 ET)
The script automatically plots:
PMH = Pre-Market High (blue line)
PML = Pre-Market Low (blue line)
These are your first breakout trigger levels.
🔹 Step 3: Wait for the Break
If price breaks above PMH, look for longs/calls targeting PDH.
If price breaks below PML, look for shorts/puts targeting PDL.
If price chops between PMH and PML → this is the No-Trade Zone. Sit on hands.
🔹 Step 4: Use the 2-Min EMA Fan for Entry
On a 2-minute chart:
Fast EMA (13, yellow) → entry trigger.
Mid EMA (48, purple) → short-term trend guide.
Slow EMA (200, red) → big-picture filter.
Entry Rule:
After breakout, wait for a pullback to the 13 EMA.
Enter when price rejects and continues in breakout direction.
Stop-loss = just past the 13 EMA.
🔹 Step 5: Manage the Trade
First targets = PDH/PDL zones.
Optional scaling = VWAP, Fib retrace, or major support/resistance.
Trail remainder with the 13 EMA.
🔹 Step 6: Alerts & Automation
The script has built-in alerts you can set:
“Break Above PM High” → signals breakout long.
“Break Below PM Low” → signals breakout short.
“2-min Long Entry” → confirms pullback long.
“2-min Short Entry” → confirms pullback short.
👉 In short: Levels (PDH/PDL, PMH/PML) give you the roadmap. EMAs give you the timing.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.