Problem with script

 

Hi,


I have a problem with a script, it will stop working after a few mins and after it trades for a while. Any ideas what could be wrong?


Thanks

 
Script or EA ?
 
Its a script
 

If you are trading, an EA is more reliable.

Script is intended to execute and exit. It must be started/restarted manually. EA is restarted by the system on every tick.

Script can be put into a loop, and does not need ticks to start.

EA can be put into a loop (after the first tick starts it) and run like a script, but if it exits, a new tick will restart it.

Reason: