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 aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.