PROTECTED SOURCE SCRIPT
Engulfing Detector by RWBTradeLab

Engulfing Detector by RWBTradeLab
A clean, non-repainting engulfing pattern detector designed for traders who rely on price action and candle confirmation.
What this indicator does
This script automatically identifies and highlights two types of engulfing patterns on closed candles only:
1. Regular Engulfing (R EG)
* Regular Buy EG: A bullish candle fully engulfs the previous bearish candle’s high.
* Regular Sell EG: A bearish candle fully engulfs the previous bullish candle’s low.
2. E-Regular Engulfing (ER EG)
* Detects “extended” engulfing setups where a strong base candle is followed by 2 or more opposite-color candles and then a confirming engulf close.
* Useful for spotting delayed but powerful reversals.
Visuals on chart
* A rectangle (box) is drawn from the base candle to the confirmation candle.
* Optional text labels appear above/below the box (offset adjustable).
* Separate color controls for:
- Regular Buy / Regular Sell
- E-Regular Buy / E-Regular Sell
Alerts
Built-in alerts trigger only at candle close:
* R Buy EG
* R Sell EG
* ER Buy EG
* ER Sell EG
Each alert includes price and time in the message.
Key settings
* Candle Length: Scans last N closed candles (running candle excluded).
* On/Off toggles: Enable/disable each engulfing type and labels individually.
* Text Offset (%): Controls label distance from the box.
Non-repainting confirmation
All signals and alerts are calculated using confirmed bars only.
No running-bar signals → no repainting.
Best use
Works on any market and timeframe. For higher reliability, combine with:
* Key S/R zones
* Trend direction
* Volume or structure confirmation
Disclaimer:
This indicator is a pattern-detection tool, not financial advice. Trading involves risk; always use proper risk management and confirm signals with your own analysis.
Creator: RWBTradeLab
If you find this useful, please leave a like ⭐ and share your feedback.
A clean, non-repainting engulfing pattern detector designed for traders who rely on price action and candle confirmation.
What this indicator does
This script automatically identifies and highlights two types of engulfing patterns on closed candles only:
1. Regular Engulfing (R EG)
* Regular Buy EG: A bullish candle fully engulfs the previous bearish candle’s high.
* Regular Sell EG: A bearish candle fully engulfs the previous bullish candle’s low.
2. E-Regular Engulfing (ER EG)
* Detects “extended” engulfing setups where a strong base candle is followed by 2 or more opposite-color candles and then a confirming engulf close.
* Useful for spotting delayed but powerful reversals.
Visuals on chart
* A rectangle (box) is drawn from the base candle to the confirmation candle.
* Optional text labels appear above/below the box (offset adjustable).
* Separate color controls for:
- Regular Buy / Regular Sell
- E-Regular Buy / E-Regular Sell
Alerts
Built-in alerts trigger only at candle close:
* R Buy EG
* R Sell EG
* ER Buy EG
* ER Sell EG
Each alert includes price and time in the message.
Key settings
* Candle Length: Scans last N closed candles (running candle excluded).
* On/Off toggles: Enable/disable each engulfing type and labels individually.
* Text Offset (%): Controls label distance from the box.
Non-repainting confirmation
All signals and alerts are calculated using confirmed bars only.
No running-bar signals → no repainting.
Best use
Works on any market and timeframe. For higher reliability, combine with:
* Key S/R zones
* Trend direction
* Volume or structure confirmation
Disclaimer:
This indicator is a pattern-detection tool, not financial advice. Trading involves risk; always use proper risk management and confirm signals with your own analysis.
Creator: RWBTradeLab
If you find this useful, please leave a like ⭐ and share your feedback.
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用,没有任何限制 — 了解更多信息这里。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用,没有任何限制 — 了解更多信息这里。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。