To speed up the optimization of an expert advisor, you can use this line :

Code:
if(AccountBalance()<MinimumBalance)ExpertRemove();
Where MinimumBalance is equal to a certain amount.