Expert disable not to run anymore

 
  Just a question how can I do from code to disable expert advisor and not tu run after expiration ? I put ExpertRemove() but after that it can be enable again. Thank you.
 

When expired, you can set a global variable to false. Then test this condition before sending any trades.

 
Zee Zhou Ma:

When expired, you can set a global variable to false. Then test this condition before sending any trades.

Thanks Zee Zhou ! :)