OPEN-SOURCE SCRIPT
ที่อัปเดต: EMA + RSI Trade Decision Table V2

This indicator is a rule-based trade decision assistant designed for intraday and swing trading.
It does not place trades automatically. Instead, it evaluates market conditions and clearly shows when a Long or Short setup is statistically favorable, using a structured score-based table.
The goal is simple:
👉 Fewer trades, higher quality, full transparency.
Core Concept
The script combines trend regime, RSI behavior, EMA pullbacks, and risk filters into a single decision framework.
Each bar is evaluated and assigned a confidence score (0–100) for:
Long
Short
Only setups that pass all required conditions and reach the minimum score threshold are marked as TRADE READY.
Key Features
1️⃣ Trend / Regime Detection
Bull Regime: EMA50 > EMA100
Bear Regime: EMA50 < EMA100
Optional confirmation using price vs EMA200
Regime is shown clearly at the top of the table
2️⃣ Regime-Based RSI Zones (Advanced)
RSI behavior changes depending on market regime.
This script accounts for that by using four separate RSI zones:
Bull Regime
Long RSI Zone: trend-continuation pullbacks
Short RSI Zone: overextended / exhaustion areas
Bear Regime
Short RSI Zone: weak pullbacks
Long RSI Zone: extreme oversold relief bounces
Neutral regime uses a configurable fallback zone.
➡️ This avoids the classic RSI mistake of using the same levels in all market conditions.
3️⃣ Pullback + Rejection Logic
Trades are only considered if price:
Pulls back into EMA50 or EMA100
Shows rejection confirmation
Bullish candle for Long
Bearish candle for Short
(optional, configurable)
This filters out random RSI signals and focuses on structured pullbacks.
4️⃣ Late Entry & Noise Filters
To avoid bad entries:
❌ Price too far from EMA50 → blocked
❌ EMA50–EMA100 too close → choppy market
❌ Cooldown after EMA50/EMA100 cross → no immediate revenge trades
All blockers are visible in the table.
5️⃣ Confidence Score (0–100)
Each setup is graded using weighted components:
RSI position
RSI confirmation
Pullback & rejection
Trend alignment
EMA200 context
Penalties for distance, cooldown, chop
Grades:
A = High-quality setup
B = Acceptable
C = Low quality
You decide the minimum score required to allow a trade.
6️⃣ Trade Decision Gate
A trade is only marked as EXECUTE (LONG/SHORT) if:
All mandatory conditions are met
Score ≥ your defined threshold
Otherwise, the system shows:
WATCH
PREPARE
NO SETUP
7️⃣ Visual Decision Table
Three display modes:
Compact – quick overview
Compact + Checks – overview + active checks
Full – complete Long & Short breakdown
Each row clearly shows:
Requirement
Current value
Pass / Fail
“To go” distance (how much is missing)
8️⃣ Alerts
Alerts trigger only on state change, not on every bar:
Long Entry
Short Entry
Optional:
Alerts only on candle close (recommended)
How to Use (Step-by-Step)
Recommended Workflow
Choose your timeframe (15m / 30m / 1H works best)
Wait for BULL or BEAR regime
Let price pull back into EMA50 / EMA100
Watch RSI move into the correct regime-based zone
Wait for EXECUTE (LONG / SHORT) status
Manage entry, stop-loss, and take-profit manually
This indicator is a decision filter, not an entry sniper.
Best Practices
Works best in trending markets
Avoid low-liquidity or sideways sessions
Combine with:
Market structure
Support / resistance
Session timing
Do not trade every signal — trade the best scores
Disclaimer
This script is an educational and analytical tool.
It does not provide financial advice and does not guarantee profitable trades.
Always manage risk properly. Ergün Özmen
It does not place trades automatically. Instead, it evaluates market conditions and clearly shows when a Long or Short setup is statistically favorable, using a structured score-based table.
The goal is simple:
👉 Fewer trades, higher quality, full transparency.
Core Concept
The script combines trend regime, RSI behavior, EMA pullbacks, and risk filters into a single decision framework.
Each bar is evaluated and assigned a confidence score (0–100) for:
Long
Short
Only setups that pass all required conditions and reach the minimum score threshold are marked as TRADE READY.
Key Features
1️⃣ Trend / Regime Detection
Bull Regime: EMA50 > EMA100
Bear Regime: EMA50 < EMA100
Optional confirmation using price vs EMA200
Regime is shown clearly at the top of the table
2️⃣ Regime-Based RSI Zones (Advanced)
RSI behavior changes depending on market regime.
This script accounts for that by using four separate RSI zones:
Bull Regime
Long RSI Zone: trend-continuation pullbacks
Short RSI Zone: overextended / exhaustion areas
Bear Regime
Short RSI Zone: weak pullbacks
Long RSI Zone: extreme oversold relief bounces
Neutral regime uses a configurable fallback zone.
➡️ This avoids the classic RSI mistake of using the same levels in all market conditions.
3️⃣ Pullback + Rejection Logic
Trades are only considered if price:
Pulls back into EMA50 or EMA100
Shows rejection confirmation
Bullish candle for Long
Bearish candle for Short
(optional, configurable)
This filters out random RSI signals and focuses on structured pullbacks.
4️⃣ Late Entry & Noise Filters
To avoid bad entries:
❌ Price too far from EMA50 → blocked
❌ EMA50–EMA100 too close → choppy market
❌ Cooldown after EMA50/EMA100 cross → no immediate revenge trades
All blockers are visible in the table.
5️⃣ Confidence Score (0–100)
Each setup is graded using weighted components:
RSI position
RSI confirmation
Pullback & rejection
Trend alignment
EMA200 context
Penalties for distance, cooldown, chop
Grades:
A = High-quality setup
B = Acceptable
C = Low quality
You decide the minimum score required to allow a trade.
6️⃣ Trade Decision Gate
A trade is only marked as EXECUTE (LONG/SHORT) if:
All mandatory conditions are met
Score ≥ your defined threshold
Otherwise, the system shows:
WATCH
PREPARE
NO SETUP
7️⃣ Visual Decision Table
Three display modes:
Compact – quick overview
Compact + Checks – overview + active checks
Full – complete Long & Short breakdown
Each row clearly shows:
Requirement
Current value
Pass / Fail
“To go” distance (how much is missing)
8️⃣ Alerts
Alerts trigger only on state change, not on every bar:
Long Entry
Short Entry
Optional:
Alerts only on candle close (recommended)
How to Use (Step-by-Step)
Recommended Workflow
Choose your timeframe (15m / 30m / 1H works best)
Wait for BULL or BEAR regime
Let price pull back into EMA50 / EMA100
Watch RSI move into the correct regime-based zone
Wait for EXECUTE (LONG / SHORT) status
Manage entry, stop-loss, and take-profit manually
This indicator is a decision filter, not an entry sniper.
Best Practices
Works best in trending markets
Avoid low-liquidity or sideways sessions
Combine with:
Market structure
Support / resistance
Session timing
Do not trade every signal — trade the best scores
Disclaimer
This script is an educational and analytical tool.
It does not provide financial advice and does not guarantee profitable trades.
Always manage risk properly. Ergün Özmen
เอกสารเผยแพร่
Alarm Conditionsเอกสารเผยแพร่
Distance Pullback und Rejectionเอกสารเผยแพร่
Distance in % for Rejection and Pullbackเอกสารเผยแพร่
Enty Distance EMA 50 manualสคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน