Condition for LTP > SMA Close

Hi,
I am not able to satisfy the below condition, it is not executing my position, if I remove the last condition it is executing, so the error is in the last condition. Any suggestion is appreciated.