Close last xx Posistions buy at xx profit and close last xx posistions sell at xx profit

MQL4 Experts Integration

Job finished

Execution time 3 days
Feedback from customer
Good Job. Finished the job as i liked it. Next time again.
Feedback from employee
Very Good Customer will work with him again

Specification

Hello

I would llike to ad a new closing.

1x for sell-posistions and 1x for buy positions. The same funktions as it is allready in the EA, but splitet into buy- and sell-posistions.


New in EA:

useLastPositionTP_sell = True / False

Last_Posistions_sell = number of Posistion

Last Posistions_profit_dollar_sell = amount of dollars

useLastPositionTP_buy = True / False

Last_Posistions_buy = number of Posistion

Last Posistions_profit_dollar_buy = amount of Dollars



Example:

useLastPositionTP_buy = true

Last_Posistions_buy = 5

Last Posistions_profit_dollar_buy = 10

Count the Profit of the last 5 buy-positions and if the last 5 buy-positions reached the Profit of 10 Dollars, then Close the last 5 buy-positions.


on the next step I will ad the EA-File.


Thank you in Advance.



Files:

ZIP
EA_NEW.zip
97.4 Kb

Responded

1
Developer 1
Rating
(620)
Projects
680
57%
Arbitration
25
16% / 60%
Overdue
228
34%
Free
2
Developer 2
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
3
Developer 3
Rating
(589)
Projects
1069
50%
Arbitration
39
28% / 41%
Overdue
49
5%
Free
Published: 1 article, 8 codes
4
Developer 4
Rating
(29)
Projects
49
22%
Arbitration
14
29% / 21%
Overdue
13
27%
Free
5
Developer 5
Rating
(53)
Projects
79
18%
Arbitration
13
15% / 54%
Overdue
5
6%
Free
6
Developer 6
Rating
(499)
Projects
744
56%
Arbitration
48
31% / 31%
Overdue
120
16%
Free
Published: 1 code

Project information

Budget
20 USD
Deadline
from 2 to 5 day(s)