sqaulou thanks for this EA which seems to follow the rules very well. Could you have all the pairs executed from one chart rather than having to open huge amounts of charts? I'm thinking of my poor CPU.
DislikedShift(1) means the trades will open/close only at new bar open based on the stoch diff of the closed bar.
Current shift(0) ensures that trade are taken/closed when the stoch diff hits the limit, even if it does not stay there and bounces;
You will indeed visually see that the EA may have taken the trade although the stoch yellow line looks like not having reached the limit, but it actually did, and you're in (or out) as per the rules.
We can explore both possibillities and see how each would perform.
EDIT: I added an input to select...Ignored
TRADE FOR SWAP