Expert Adviser Script Shows No Error But wont Enter Trades


Hi programmers

I have worked up a simple Expert Adviser that should buy when condition has been met and enters a sell trade again if the condition has been met.

When the conditions have not been met it should display a message saying so.

Now the script compiles without an error on the editor.

On the platform it displays the message that says "Awaiting Entry" for the  condition has not been met, but when the condition has been met it is not entering trades.

I used the trade.Buy and trade.Sell to enter trades and its a by pip imple stop loss expert adviser.

I am puzzled as to why it reads "Non  Trade" conditions well but does not abide to the "Enter Trade" conditions.

Any advice?