I am have a problem with the coding any help would be great attached is the basic ea

 

Hello

I am hoping someone could help me out and tell me what I need to do to the attached EA i am trying to set a buy when all blue and sell when red situation at the moment it compile's and buy's only I have been looking at the code and trying to change things around but can't seem to see what I have done wrong.

 

Do you have a specific question?

 

Thanks for the reply

But I have just got it going

cheers