Engulfing candle patterns can be either bullish or bearish.
The bullish engulfing candlestick is a well-known candle pattern composed of two candle lines. The first one is black and the second is a white one that is taller than the prior black candle, engulfing it or overlapping the black candle’s body.
from Thomas Bulkowski's pattern site:
http://thepatternsite.com/BullEngulfing.html Opposite for Bearish engulfing.
The manual then needs to be amended to indicate whether the CDLEngulfing is either for bullish or bearish patterns.
CDLEngulfing(): int
Engulfing Pattern. Bullish + Bearish.
I also suspect that it is not returning correct values even assuming it is only returning bearish patterns. If you run the script and look at the plot, there are significant periods where it returns 100s and periods where it returns only 0.