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.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.