IEK Signal Sell Only

Bearish Reversal Detection with Multi-Condition Filters
Overview
This indicator is designed to detect bearish reversal opportunities by combining candlestick behavior, momentum shifts, and trend confirmation. It focuses solely on SELL signals to help traders identify market exhaustion during extended uptrends.
What It Does
This script generates a SELL signal only when all of the following conditions are met:
Reversal Candlestick Pattern
A bearish candle with a long upper wick and a red body, indicating potential rejection at higher prices.
EMA Trend Filter
The price must be above a long-period Exponential Moving Average (default: 89), suggesting that the market is in an uptrend and potentially overextended.
RSI Overbought Condition
The RSI value must be above a set threshold (default: 55), highlighting weakening buying pressure or overbought conditions.
MACD Histogram Confirmation
The MACD histogram must be decreasing, signaling a possible momentum shift to the downside.
A signal is plotted only when all these criteria are true on the same candle.
Why These Conditions Work Together
Each component adds a layer of confirmation:
The candlestick structure highlights possible market rejection.
EMA filtering ensures signals are only taken during uptrends, where mean-reverting setups are more likely.
RSI adds momentum context to avoid entering too early.
MACD histogram slope helps detect fading strength before the price turns.
This combination avoids arbitrary mashups by integrating each tool into a cohesive reversal strategy.
Additional Features
Signal markers displayed directly on the chart when conditions are met
EMA line plotted and colored by trend direction
MACD crossover zones displayed via background shading
Real-time RSI label with context-aware coloring
Automatic detection of nearby support and resistance levels with visual labels and zones
Not a Test or Fork
This script is fully functional and built for practical trading use. It is not an experiment, a minor variation of another script, or a copy with no added logic.
Disclaimer
This script is for educational purposes only and does not constitute financial advice.
Users should apply their own judgment and risk management when using it in live trading.
////////////////////////////////////////////////////////////////////////
IEK Signal Sell Only
อินดิเคเตอร์จับสัญญาณกลับตัวขาลงแบบมีเงื่อนไขหลายชั้น
ภาพรวม
อินดิเคเตอร์ตัวนี้ออกแบบมาเพื่อจับจังหวะการกลับตัวขาลง (Bearish Reversal) โดยพิจารณาจากพฤติกรรมแท่งเทียน โมเมนตัม และทิศทางของแนวโน้ม โดยเน้นเฉพาะสัญญาณฝั่งขาย (Sell) เหมาะสำหรับผู้ที่ต้องการหาจุดขายเมื่อราคาอยู่ในแนวโน้มขาขึ้นหรือช่วงที่ราคายืดตัวมากเกินไป
กลไกการทำงาน
สัญญาณ Sell จะเกิดขึ้นเมื่อเงื่อนไขทั้งหมดต่อไปนี้เป็นจริงพร้อมกัน:
แท่งเทียนกลับตัวขาลง
มีลักษณะแท่งแดง (ราคาปิดต่ำกว่าราคาเปิด) และมีไส้เทียนด้านบนยาวกว่าปกติ ซึ่งมักแสดงถึงแรงขายที่เกิดจากการถูกปฏิเสธราคาในระดับสูง
กรองแนวโน้มด้วย EMA
ราคาปิดต้องอยู่เหนือเส้นค่าเฉลี่ยเคลื่อนที่แบบเอ็กซ์โปเนนเชียล (EMA) ระยะยาว เช่น EMA 89 เพื่อระบุว่าตลาดอยู่ในขาขึ้นและเริ่มมีความเสี่ยงต่อการพักตัว
ค่า RSI อยู่ในโซน Overbought
RSI ต้องมากกว่าค่าที่กำหนดไว้ เช่น 55 เพื่อบ่งชี้ว่าแรงซื้อเริ่มอ่อนแรง หรืออยู่ในภาวะซื้อมากเกินไป
MACD Histogram ลดลง
Histogram ของ MACD ต้องลดลงจากแท่งก่อนหน้า เพื่อยืนยันว่าโมเมนตัมกำลังเริ่มเปลี่ยนทิศทาง
หากครบทั้ง 4 เงื่อนไข อินดิเคเตอร์จะแสดงสัญญาณขายบนกราฟทันที
เหตุผลในการรวมองค์ประกอบเหล่านี้
องค์ประกอบแต่ละตัวมีหน้าที่เสริมซึ่งกันและกัน:
โครงสร้างแท่งเทียนให้ภาพการกลับตัวแบบชัดเจน
EMA ใช้เพื่อจำกัดการเข้า Sell เฉพาะในแนวโน้มขาขึ้นที่มีโอกาสพักตัว
RSI เป็นตัวกรองเชิงโมเมนตัม เพื่อไม่ให้เข้าสวนเทรนด์เร็วเกินไป
MACD Histogram ใช้ตรวจสอบการเปลี่ยนทิศของแรงขับเคลื่อน
จุดเด่นคือ ไม่ใช่การรวมตัวของอินดิเคเตอร์แบบสุ่ม แต่เป็นการออกแบบที่มีโครงสร้างชัดเจนและสัมพันธ์กัน
ฟีเจอร์เพิ่มเติม
แสดงสัญญาณ Sell ด้วยสัญลักษณ์บนแท่งเทียน
เส้น EMA เปลี่ยนสีตามทิศทางแนวโน้ม
แสดงโซน MACD crossover ด้วยพื้นหลัง
แสดงค่าของ RSI พร้อมการเปลี่ยนสีตามระดับ
คำนวณแนวรับ–แนวต้านโดยอัตโนมัติ พร้อมวาดเส้นและกล่องแสดงระยะห่างจากราคา
ไม่ใช่สคริปต์ทดลอง
สคริปต์นี้พัฒนาเพื่อใช้งานจริง และไม่ใช่สคริปต์ทดลองหรือดัดแปลงจากโค้ดอื่นโดยไม่มีการปรับปรุงเชิงตรรกะ
ข้อสงวนสิทธิ์
อินดิเคเตอร์นี้จัดทำขึ้นเพื่อใช้ในการศึกษาเท่านั้น และไม่ใช่คำแนะนำในการลงทุน
ผู้ใช้งานควรใช้ดุลยพินิจและบริหารความเสี่ยงด้วยตนเอง
Script su invito
Solo gli utenti autorizzati dall'autore hanno accesso a questo script e ciò richiede solitamente un pagamento. Puoi aggiungere lo script ai tuoi preferiti, ma potrai utilizzarlo solo dopo aver richiesto l'autorizzazione e averla ottenuta dal suo autore - per saperne di più leggi qui. Per maggiori dettagli, segui le istruzioni dell'autore qui sotto o contatta direttamente NICKZA6991.
TradingView NON consiglia di pagare o utilizzare uno script a meno che non ci si fidi pienamente del suo autore e non si comprenda il suo funzionamento. Puoi anche trovare alternative gratuite e open-source nei nostri script della comunità.
Istruzioni dell'autore
Attenzione: prima di richiedere l'accesso, leggi la nostra guida per gli script su invito.
Declinazione di responsabilità
Script su invito
Solo gli utenti autorizzati dall'autore hanno accesso a questo script e ciò richiede solitamente un pagamento. Puoi aggiungere lo script ai tuoi preferiti, ma potrai utilizzarlo solo dopo aver richiesto l'autorizzazione e averla ottenuta dal suo autore - per saperne di più leggi qui. Per maggiori dettagli, segui le istruzioni dell'autore qui sotto o contatta direttamente NICKZA6991.
TradingView NON consiglia di pagare o utilizzare uno script a meno che non ci si fidi pienamente del suo autore e non si comprenda il suo funzionamento. Puoi anche trovare alternative gratuite e open-source nei nostri script della comunità.
Istruzioni dell'autore
Attenzione: prima di richiedere l'accesso, leggi la nostra guida per gli script su invito.