I have removed your other topic.
Please do not duplicate topics.
What to do ?
It's not possible.
Best guess is the EA doesn't work properly and needs to be re-initialized periodically to refresh everything.
OP has noticed that happens when the EA gets recompiled.
Expert Advisor running on chart can find editor windows and then toolbar button then send a message of click you need to access windows api.
For this purpose Expert Advisor need to be running in memory.
Yes, but it would take code to achieve that... and if you're writing coding anyway, you might as well fix the underlying problem.
To reaffirm whroeder1's post, a correctly-coded EA should not need to be reinitialized. There is a problem somewhere in your code.
There is a run time error "Array out of range"...Could that be the issue?