EA's and Scripts

 

Can an EA call for a script to run which, when completed, will restart the EA?

I'm thinking that when my EA hits a certain target the script will close all open positions and start the EA again with new market orders.

 
Why you want complicating? Expert Advisor will handle with that, script is not necessary.
 
Grzegorz Pawlak:
Why you want complicating? Expert Advisor will handle with that, script is not necessary.
That would certainly be tidier if it were all in the same EA - thanks.
Reason: