Candle pattern conditions

Please help me to create a condition when the middle candle low is lower than the previous red candle and the next green candle. Buy will take place when the price crosses above the highest point of these 3 candles.

image

@Market_Monarchs Check out the image below to learn how to create the conditions:

You can also refer to the strategy link here: Streak | World's first algo trading platform without coding