MT4: Equity TP/SL and TP Percentage EA (code must be readable.)

Experts Scripts

Job finished

Execution time 1 day
Feedback from customer
EricHe's' job was exactly as I had requested. He understood my requirements without any further input and the job was completed on time AND budget. I would recommend EricHe for any job you may have. 10/10. Well done!
Feedback from employee
Good Customer. Look forward to next job.

Specification

Hi,

I need an EA coded that monitors account equity and triggers TP, resets equity SL and allows me to TP based on percentage of equity.

Parameters 

Start_Equity_GBP //This is my starting equity.

SL_Equity_GBP //When GBPx has been reached, equity SL moves up to lock in profits.

TP_Equity_PC //This will TP based on percentage(%) of Start_Equity.

Scenario 

Start_Equity_GBP: 2000

SL_Equity_GBP: 50

TP_Equity_PC: 25

 

So, my starting equity is £2000, my SL_Equity_GBP is £50 and my  TP_Equity_PC is 25%.

When SL_Equity_GBP reaches £50, the SL is moved up to £2050 and so on.

If the  TP_Equity_PC reaches £500 (25% of £2000 = £500) then ALL trades are closed.

 

PLEASE NOTE: I intend to "copy and paste" the code into numerous EAs, so I will need access to the source code of this EA.

 

I look forward to your replies.

Dave. 

Responded

1
Developer 1
Rating
(273)
Projects
396
63%
Arbitration
70
53% / 26%
Overdue
198
50%
Free
2
Developer 2
Rating
(41)
Projects
124
34%
Arbitration
32
13% / 75%
Overdue
53
43%
Free
3
Developer 3
Rating
(59)
Projects
182
55%
Arbitration
31
45% / 16%
Overdue
103
57%
Free

Project information

Budget
50 USD