MT4 Freezes During Simple EA because OnTick

 

So I have a super simple EA that trades based on the time of day and a moving average. Just made it for fun.

I am starting out with EAs so maybe I missed something, but the download amount in the bottom right corner of MT4 increases per each tick until the program crashes. I have an I7 processor so I am not sure if something if faulty with the program or what? Should I reinstall MT4?



FamousFrik

 
FamousFrik: the download amount in the bottom right corner of MT4 increases per each tick until the program crashes. if something if faulty with the program  Should I reinstall MT4?
  1. There is nothing at the "bottom right corner of MT4." There are no mind readers here.
  2. "Doesn't work" is meaningless - just like saying the car doesn't work. Doesn't start, won't go in gear, no electrical, missing the key, flat tires - meaningless. There are no mind readers here. What crashes?
  3. Likely the problem is your code. Why would reinstalling Mt4 fix it?
You've provided nothing useful (information,) you you get no useful reply.
Reason: