Use script to turn experts off - remotely?

 
Is it possible?
Ruby

In addition to this post: "Use script to turn experts off?"
 
I don't think you can do it directly, you can figure out a workaround though.
Eg.:
You put someting like: if(FileReadNumber(csvhandle)==1) return; right after start(){ .
The rest of the EA (which is basically the whole EA) won't run if the file with the handle "csvhandle" contains a "1". You can rewrite this number in the file manually, or through a different program to "0" or "1", causing the EA to run or quit after line1.
This is the solution I use for this issue, I hope it helped.
 
Thanks Zap.
Another workaround:
Place very very very far pending order with special comment.
Check for pending order with that special comment to trigger EA on / off.
In this way if the file is corrupted of lost or whatever, you can still control the EA from any terminal available.
Ruby