5 EMA strategy conditions

Please assist with me the below code to enter for 5ema in an uptrend with 2 red candles.

image

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