Bullish & Bearish Engulfing Streak

How to code bullish and bearish engulfing patterns in Streak ?

@ninjatrader refer to the images below

Bearish engulfing


Bullish engulfing