MT4 hang after Sleep Mode

 

Hello at all,

I have programmed a quite extensive EA, multicurrency with many built-in indicators and graphical elements. Now it is the case that when the computer switches to sleep mode in between and I reactivate it, the whole MT4 hangs completely.
Do you have any tips on what could be causing this? I don't want to post the whole code here because 5000 lines of code are not even easy to keep track of. But maybe there is some experience what can cause the MT4 to hang after the computer was in sleep mode.

Thanks for all tips, best regards

 
Frika: Do you have any tips on what could be causing this?

You have sleep mode enabled. Nothing is running when the machine is sleeping.

Reason: