I have found an EA as in the link above. For a pity it is only working on one pair. I would need this EA to work on any pair. Please consider the working method as in the link above. You can download the link and set it up on any broker.
If you are comfortable to adapt this EA as for my request, I would be really glad. The EA itself seems to work pretty simple, but I cannot really tell as I am an novice concerning the coding.
Let me know your thoughts.Below attached ex file.