OPEN-SOURCE SCRIPT
Engulfing Bar Aggressive

Engulfing Bar Aggressive
Engulfing Bar Aggressive is a precise price action indicator designed to detect strong bullish and bearish engulfing patterns in an aggressive way. This tool is perfect for traders who want early and confirmed signals based purely on candle formations, without relying on any indicators or moving averages.
🔍 Core Logic
The indicator scans for 2-bar engulfing patterns with additional strict conditions:
Bullish Engulfing
Current candle closes bullish (close > open).
Previous candle closes bearish (close[1] < open[1]).
Current close completely engulfs previous open and high.
Current open is below previous close.
Signal triggers only after bar closure (confirmed pattern).
Bearish Engulfing
Current candle closes bearish (close < open).
Previous candle closes bullish (close[1] > open[1]).
Current close completely engulfs previous open and low.
Current open is above previous close.
Signal triggers only after bar closure (confirmed pattern).
🛠 Features
Clear visual markers on the chart (green for bullish, red for bearish).
Configurable generic alert to receive notifications for any engulfing pattern detected.
Dedicated alerts for bullish and bearish engulfing setups.
Works on any timeframe and any market.
🎯 Use Case
Ideal for breakout traders, reversal traders, or as part of a multi-factor strategy.
Can be combined with support/resistance zones, ATR exhaustion levels, or trend filters for enhanced accuracy.
Engulfing Bar Aggressive is a precise price action indicator designed to detect strong bullish and bearish engulfing patterns in an aggressive way. This tool is perfect for traders who want early and confirmed signals based purely on candle formations, without relying on any indicators or moving averages.
🔍 Core Logic
The indicator scans for 2-bar engulfing patterns with additional strict conditions:
Bullish Engulfing
Current candle closes bullish (close > open).
Previous candle closes bearish (close[1] < open[1]).
Current close completely engulfs previous open and high.
Current open is below previous close.
Signal triggers only after bar closure (confirmed pattern).
Bearish Engulfing
Current candle closes bearish (close < open).
Previous candle closes bullish (close[1] > open[1]).
Current close completely engulfs previous open and low.
Current open is above previous close.
Signal triggers only after bar closure (confirmed pattern).
🛠 Features
Clear visual markers on the chart (green for bullish, red for bearish).
Configurable generic alert to receive notifications for any engulfing pattern detected.
Dedicated alerts for bullish and bearish engulfing setups.
Works on any timeframe and any market.
🎯 Use Case
Ideal for breakout traders, reversal traders, or as part of a multi-factor strategy.
Can be combined with support/resistance zones, ATR exhaustion levels, or trend filters for enhanced accuracy.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.