Copied code doesn't work in tester (MT5)

 

I don't get it. I wrote EA, tested it, everything works fine. Now I copy the exact code, give new name to it and in tester it just doesn't do what it should do. 

Tried same thing with many EA's. As soon as I copy code it does not work anymore. Any ideas?