INVITE-ONLY SCRIPT
Trap Candle ThorenFX

This tool identifies Trap Candles by combining swing structure, bias shifts, and momentum shifts. The indicator evaluates recent highs and lows to define directional bias, tracks consecutive momentum candles using a custom AO-based sequence, and triggers signals only when the trend bias flips and momentum contradicts the prevailing direction.
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.
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不建議在未完全信任作者並了解其運作方式的情況下購買或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
DM for 7-Day Trial
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
僅限邀請腳本
僅作者批准的使用者才能訪問此腳本。您需要申請並獲得使用許可,通常需在付款後才能取得。更多詳情,請依照作者以下的指示操作,或直接聯絡shubhampk1000。
TradingView不建議在未完全信任作者並了解其運作方式的情況下購買或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
DM for 7-Day Trial
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。