PROTECTED SOURCE SCRIPT

Engulfing - Bullish & Bearish(vu)

42
Got it. I merged your two indicators into one, keeping the same structure/variables and alerts—only strengthening the rule so that:

Bullish: current candle closes ≥ previous High (no need for open ≤ previous Low).

Bearish: current candle closes ≤ previous Low.

Everything else (trend filter, long/small body checks, labels, background, alerts) follows your originals.

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.