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.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.