Hi,
could anyone of the capable coders in this forum write me a simple ea?
Only thing it should do is:
Scan the open positions (one pair only, long and short) and close positions with a positive difference in pips (this difference should be a variable input).
Example:
Difference (+10 Pips)
4 open positions
1 buy +10 Pips currently
1 buy -30 Pips currently
1 sell +0 Pips currently
1 sell -20 Pips currently
The ea should now close the first buy and the first sell as these differ +10 Pips.
Would be really great if anyone could code this.
Thank you
Michael
could anyone of the capable coders in this forum write me a simple ea?
Only thing it should do is:
Scan the open positions (one pair only, long and short) and close positions with a positive difference in pips (this difference should be a variable input).
Example:
Difference (+10 Pips)
4 open positions
1 buy +10 Pips currently
1 buy -30 Pips currently
1 sell +0 Pips currently
1 sell -20 Pips currently
The ea should now close the first buy and the first sell as these differ +10 Pips.
Would be really great if anyone could code this.
Thank you
Michael