EA freezes

 
my EA just stops working for no apparent reason.

has anyone else had a similar problem?

here is the code if you can help:
Files:
sample_1.mq4  12 kb