Download MetaTrader 5

Code too huge to run on MT4 ?

To add comments, please log in or register
Benjamin
35
Benjamin  

Hi everybody,

 

I tried to run several time a big code (1200 lines) i developed, with some loop i can't remove. MT4 shut down each time. Is it normal ? How can I proceed ? I tried to simplify i did my best.

 

Thank you very much ! 

Keith Watford
Moderator
9994
Keith Watford  
afterrage:

Hi everybody,

 

I tried to run several time a big code (1200 lines) i developed, with some loop i can't remove. MT4 shut down each time. Is it normal ? How can I proceed ? I tried to simplify i did my best.

 

Thank you very much ! 

No it is not normal.

Why can't you remove the loop?

There is probably a mistake in the coding and most likely a never ending loop 

SYED NAUFAL GADDAFI
1401
SYED NAUFAL GADDAFI  
Yeah, my ea have more than 5k lines and its run just fine. Maybe there are conditions that enters into the loop but no way of getting out of the loop.
ffoorr
1052
ffoorr  

There is some error in your code.

try to cut part of the code using     /* and   */



Benjamin
35
Benjamin  
Thanks everybody ! :D You were right, there was a little  ">" which hadn't to be here ! Too tired yesterday to saw it I guess. Thanks very much !
To add comments, please log in or register