it work fine , but I think you did not create the Bullish pattern ( attached explanation for Bullish pattern )
i only explain the bearish Entry , ( i found some mistake in my explanation you find corrected mistyping mistakes )
so in the end the Indicator need to define 4 pattern ( 2x Bullish and 2x Bearish )
Candle highlight for bearish need to be on the top of the candle , and Bullish should be in the bottom
again THANKS a lot