OPEN-SOURCE SCRIPT
Body Engulfing Detector

🔶 Body Engulfing Detector
This simple but effective indicator identifies candlestick patterns where the entire body of the current candle engulfs the body of the previous one — a classic signal of a potential reversal or momentum continuation.
🔍 What It Does:
Detects when the body (open-close range) of the current candle completely covers the body of the previous candle.
Triggers a visual signal on the chart once the candle is closed, avoiding premature alerts.
Includes a generic alert you can enable from the TradingView alert system, so you’ll be notified as soon as a body engulfing pattern occurs.
📈 Use Case:
This pattern can be interpreted as a shift in market sentiment and may signal a possible entry point depending on the context:
Use it as part of your price action strategy.
Combine it with trend analysis, volume, or other confirmation tools.
⚠️ This indicator focuses only on body engulfing and does not require the candle to be bullish or bearish specifically. If you'd like a version that distinguishes between bullish and bearish engulfing, feel free to request it.
This simple but effective indicator identifies candlestick patterns where the entire body of the current candle engulfs the body of the previous one — a classic signal of a potential reversal or momentum continuation.
🔍 What It Does:
Detects when the body (open-close range) of the current candle completely covers the body of the previous candle.
Triggers a visual signal on the chart once the candle is closed, avoiding premature alerts.
Includes a generic alert you can enable from the TradingView alert system, so you’ll be notified as soon as a body engulfing pattern occurs.
📈 Use Case:
This pattern can be interpreted as a shift in market sentiment and may signal a possible entry point depending on the context:
Use it as part of your price action strategy.
Combine it with trend analysis, volume, or other confirmation tools.
⚠️ This indicator focuses only on body engulfing and does not require the candle to be bullish or bearish specifically. If you'd like a version that distinguishes between bullish and bearish engulfing, feel free to request it.
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.