Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
So let's rewrite it, please. You are creating an EA that will be opening a new trade every 5 pips. Correct? The first question is verey 5 pips from what? What price will be considered the baseline?
You can try this to begin with:
https://fxdreema.com/shared/nMNOvmjyd