Engulfing Pattern

Hello Traders,
Sharing one of my favorite candlestick pattern with everyone. Feel free to use it.

Intraday Guruji
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Great script!
Could it be tweaked to be considered engulfing only after a trend? For example, bullish engulfing only after at least two red candles? And the opposite for bearish engulfing?