Can an EA disable or remove itself ?

 
Is it possible for an EA to either disable or remove itself after closing a trade ?
 

disable can be done:

void start(){
  static bool running=true;
  if(running){
    //do whatever you want

    if(OrderIsClosed){
      running=false;
    }
  }
}
 
rjay:
Is it possible for an EA to either disable or remove itself after closing a trade ?
https://www.mql5.com/en/forum/120736.