"shutdown by timeout" message??

 

Hello,


I have an EA that will placing 2 orders (buystop and sellstop) if the current time meet the StartTime input parameter.

It's working fine on my terminal but not in his. He sends me the log file and I found this message :


08:13:52 TimeEA EURUSD,M1: shutdown by timeout

08:13:52 TimeEA EURUSD,M1: deinitialized

08:13:52 TimeEA EURUSD,M1: uninit reason 1

08:13:52 TimeEA EURUSD,M1: removed


Is there anything I can do regarding it?


Thank you,

Ardi

 

Unconditional endless loop.

To avoid this message use loop with checking for stop

while(!IsStopped())
  {
   ...
  }
 
Thank you stringo