OPEN-SOURCE SCRIPT
Updated Engulfing + Sweep (Confirmed Only) v6 — bars only

Marks bullish/bearish engulfing candles with liquidity sweeps and confirms them on the next candle — no repaint.
✳️ Features:
• 🟩 Bullish Engulfing + Low Sweep
• 🟥 Bearish Engulfing + High Sweep
• 🎛 Require opposite-color previous candle (optional)
• 📏 Min body-to-range filter
• 🔔 Alerts on confirmation candle
🎯 Best for:
• Price action & reversal traders
• Liquidity sweep confluence setups
✳️ Features:
• 🟩 Bullish Engulfing + Low Sweep
• 🟥 Bearish Engulfing + High Sweep
• 🎛 Require opposite-color previous candle (optional)
• 📏 Min body-to-range filter
• 🔔 Alerts on confirmation candle
🎯 Best for:
• Price action & reversal traders
• Liquidity sweep confluence setups
Release Notes
Marks bullish/bearish engulfing candles with liquidity sweeps and confirms them on the next candle — no repaint.✳️ Features:
• 🟩 Bullish Engulfing + Low Sweep
• 🟥 Bearish Engulfing + High Sweep
• 🎛 Require opposite-color previous candle (optional)
• 📏 Min body-to-range filter
• 🔔 Alerts on confirmation candle
🎯 Best for:
• Price action & reversal traders
• Liquidity sweep confluence setups
Release Notes
🔄 UPDATE - Gap-Resistant & Flexible Confirmation🛠️ Improvements:
✅ Gap-resistant engulfing detection - now catches 100% of valid patterns (fixed the 1/10 missing signals issue)
⚡ Optional confirmation - choose instant signals or wait for next candle confirmation
🧹 Cleaner settings - removed redundant options for better user experience
📝 Better descriptions - clearer setting names and explanations
✳️ Current Features:
🟩 Bullish Engulfing + Low Sweep
🟥 Bearish Engulfing + High Sweep
📏 Min candle body size filter (0 = any size)
⚙️ NEW: Optional next candle confirmation
🔔 Alerts on confirmation candle
🚫 No repaint guarantee
🎯 Perfect for:
Price action & reversal traders
Liquidity sweep confluence setups
Gap trading scenarios
🔧 What's Fixed:
Previously missed ~10% of valid engulfing patterns due to price gaps - now detects all patterns reliably.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.