Hello, I would like to control an EA's maximum loss--When a certain amount is reached by the reduction, then discontinue it. I know I will set a varible as a flag in start() to do that. But its not ideal since the flag will probably loose in many instances(like restarting the computer).

So I have to understand
1) Can there be a better way to tell MT4 :not run a certain EA by that EA itself ?
2) Can I use an EA to turn off MT4 expert advisor function?
An additional question occurs to me
3)If my MT4 is running, but I lose the online link or the market is shut. Then after its back to normal, will the EA start to run from Init() automatically or from start()?
Thank you beforehand.