Many Thanks Gidien. I'll give this a try.
I'm fairly clueless when it comes to coding, but I'll play with this and see what I can do.
The first part, pasting the StopMe function into the Strategy that I want to stop, seems pretty easy, as I only use one Strategy, but on many pairs.
The second part brings up a noob question:
To add the StopAllStrategies code to the "close_all_at_total_equity" Strategy (the new one you've attached below), which is the "sending" strategy, then the line:
if n:name() ~= name and interop:isalive(n) and n:isIndicator() == false then
n:invoke("StopMe");
must be changed to:
if n:close_all_at_total_equity() ~= close_all_at_total_equity and interop:isalive(n) and n:isIndicator() == false then
n:invoke("StopMe");
I just replaced "name" with "close_all_at_total_equity". Do I have that right?
Once again, Gidien, you're the man!