Stop EA from funtioning when filename is changed?

 

Hi,


Is there a way to stop the EA or Indicator from functioning when the filename is changed? example filename of the EA is "MAcross.ex4" whenever this EA filename is changed I want the EA to completely stop functioning. Can this be coded?


Regards,
Mikhail

Reason: