Trap Candle ThorenFX

The script uses a 20-candle swing lookback to detect the most recent Highest High and Lowest Low. When the market touches these swing extremes, the bias is updated (bullish or bearish). After a bias is confirmed, the indicator waits for a sequence of momentum candles in favor of the trend and then looks for an opposing candle to identify a trap.
Trap signals are only valid if they occur away from current swing extremes, filtering noise and late entries.
BUY Signal logic
Price touches a swing Low to set bullish bias
A minimum sequence of green momentum candles forms
First red momentum candle after the sequence triggers a BUY trap
Signal only prints if the swing Low is not hit again
SELL Signal logic
Price touches a swing High to set bearish bias
A minimum sequence of red momentum candles forms
First green momentum candle after the sequence triggers a SELL trap
Signal only prints if the swing High is not hit again
A compact table display highlights the latest active signal for quick visualization.
How to use
Use in trending or post-liquidity grab environments
BUY traps indicate potential bearish exhaustion followed by bullish reversal
SELL traps indicate potential bullish exhaustion followed by bearish reversal
Combine with structure confirmation and lower-timeframe entry techniques
Works best when aligned with swing bias and momentum context
Avoid signals that form directly at swing extremes; this filter is already built-in but additional confluence improves reliability
No indicator is 100% accurate — it’s all about understanding the logic behind the signals.
สคริปต์แบบเฉพาะผู้ได้รับเชิญเท่านั้น
เฉพาะผู้ใช้งานที่ผู้เขียนอนุมัตเท่านั้นจึงจะสามารถเข้าถึงสคริปต์นี้ได้ คุณจะต้องขอและได้รับอนุญาตก่อนใช้งาน ซึ่งโดยทั่วไปจะได้รับอนุญาตหลังจากชำระเงินแล้ว สำหรับรายละเอียดเพิ่มเติม โปรดทำตามคำแนะนำของผู้เขียนด้านล่าง หรือติดต่อ shubhampk1000 โดยตรง
TradingView ไม่แนะนำให้จ่ายเงินหรือใช้สคริปต์ เว้นแต่คุณจะเชื่อถือผู้เขียนและเข้าใจวิธีการทำงานของสคริปต์นั้นอย่างถ่องแท้ คุณยังสามารถหาทางเลือกแบบโอเพนซอร์สฟรีได้ใน สคริปต์ชุมชนของเรา
คำแนะนำของผู้เขียน
คำจำกัดสิทธิ์ความรับผิดชอบ
สคริปต์แบบเฉพาะผู้ได้รับเชิญเท่านั้น
เฉพาะผู้ใช้งานที่ผู้เขียนอนุมัตเท่านั้นจึงจะสามารถเข้าถึงสคริปต์นี้ได้ คุณจะต้องขอและได้รับอนุญาตก่อนใช้งาน ซึ่งโดยทั่วไปจะได้รับอนุญาตหลังจากชำระเงินแล้ว สำหรับรายละเอียดเพิ่มเติม โปรดทำตามคำแนะนำของผู้เขียนด้านล่าง หรือติดต่อ shubhampk1000 โดยตรง
TradingView ไม่แนะนำให้จ่ายเงินหรือใช้สคริปต์ เว้นแต่คุณจะเชื่อถือผู้เขียนและเข้าใจวิธีการทำงานของสคริปต์นั้นอย่างถ่องแท้ คุณยังสามารถหาทางเลือกแบบโอเพนซอร์สฟรีได้ใน สคริปต์ชุมชนของเรา