How to Disable Expert Advisor Properties?

 
I once tried an EA which I couldn't edit the properties (F7) while it was running. How to disable the Properties by using MQL? Thanks for the answer.
 
positivezero:
I once tried an EA which I couldn't edit the properties (F7) while it was running. How to disable the Properties by using MQL? Thanks for the answer.
I do not know how to disable it. I only know the properties cannot be modified until OnInit() finishes. So you very probably met an EA that runs loop in OnInit().
 
Or didn't have any inputs.