EA trades in the tester but not when I use it

 
I can't figure out why my EA isn't making trades. When I run it through the tester it has no problems, but when I try and use it it just sits there. I'm new to programming and I'm sure it's something simple. Any ideas would be appreciated as well as suggestion for the code.
Files:
Reason: