Script required to generate a an average breakeven line and to close outstanding trades

MQL4 Experts Scripts

Job finished

Execution time 2 days

Specification

A script is required.

It has to be a script as I am also running an EA with no source file so no edit is possible.

The script will need to have the following actions when placed on a chart.


Script when placed on current chart will move ALL stop losses to create ONLY one average stop loss (Break even) value which will be the average of all stop losses.

So basically if I have 3 trades open and 1 is in large profit and the other 2 trades are in loss then the Script will adjust to an average SL level to ensure we have a controlled outcome and then it will close ALL trades at a controlled loss or breakeven.

A simple dollar averaging or basket action basically.

Is this possible with a script.?
Then when we want the same action next time we just drop the script back onto another current chart.

I need a definate time scale and cost quote before proceeding.

Responded

1
Developer 1
Rating
(630)
Projects
995
47%
Arbitration
33
36% / 36%
Overdue
98
10%
Working
Published: 6 codes
2
Developer 2
Rating
(70)
Projects
91
25%
Arbitration
26
19% / 54%
Overdue
25
27%
Free
3
Developer 3
Rating
(542)
Projects
821
62%
Arbitration
33
27% / 45%
Overdue
23
3%
Free
Published: 1 code
4
Developer 4
Rating
(45)
Projects
63
52%
Arbitration
5
0% / 40%
Overdue
1
2%
Free

Project information

Budget
30+ USD
Deadline
from 1 to 2 day(s)