Simple Mql5 to MQL4 conversion Breakeven adjustment

MQL4 Converting

Job finished

Execution time 7 days
Feedback from customer
Great work and a great attitude!

Specification

The MQL5 "EAforTest" contains a void function called BEP4 which applies a Take Profit that sets the take profit off the group of trades of a specific side and symbol to a loss. For example, 4 EURUSD Sell trades open with an average price of  1.085, A specified loss of $50 is wanted once the drawdown of the 4 trades reaches -$200. Once the value is hit a take profit with a defined loss is set to $50 (NOT A STOPLOSS). I need the MQL5 version converted to MQL4 so that the entire BEP4 works in a void BEP4() loop. 

1. Convert to MQL4

2. Test functions

3. Isolate code to work entirely in a singular void BEP4() statement. 

Files:

Responded

1
Developer 1
Rating
(54)
Projects
53
17%
Arbitration
7
0% / 100%
Overdue
5
9%
Free
2
Developer 2
Rating
(435)
Projects
641
53%
Arbitration
34
62% / 21%
Overdue
6
1%
Working
3
Developer 3
Rating
(3)
Projects
4
0%
Arbitration
0
Overdue
1
25%
Free
4
Developer 4
Rating
(12)
Projects
19
26%
Arbitration
4
25% / 25%
Overdue
1
5%
Free

Project information

Budget
50+ USD
Deadline
to 2 day(s)