ADD TAKE PROFIT AND STOP LOSS

MQL5 Experts

Specification

I WILL PROVIDE THE EA, AND IT WILL BE NECESSARY TO ADD, IN THE FORM OF INPUTS EDITABLE FROM OUTSIDE THE IDE:

An input, either true or false, which, if set to false, considers take profit, stop loss, and trailing for each individual operation.
If set to true, for each new operation, the average price is calculated, enabling the calculation of take profit, stop loss, and trailing stop based on the average price.
-----------

TAKE PROFIT: TICK
STOP LOSS: TICK


TRAILING STOP:
START
STEP
DISTANCE
----------------------------

TRADING SESSION:
HOUR START
HOUR FINISH

CONDITION TO CLOSE ALL TRADES AT THE END OF THE SESSION OR END OF THE DAY = TRUE OR FALSE

MAXIMUM DAILY EQUITY LOSS = EQUITY PERCENTAGE
MAXIMUM DAILY EQUITY GAIN = EQUITY PERCENTAGE

Clearly, these inputs must operate according to the specified functions.

IT IS IMPORTANT THAT THE 'FILLING' CONDITIONS WORK ON ICMARKETS

Responded

1
Developer 1
Rating
(434)
Projects
491
33%
Arbitration
25
40% / 48%
Overdue
7
1%
Loaded
2
Developer 2
Rating
(251)
Projects
402
38%
Arbitration
82
41% / 20%
Overdue
70
17%
Loaded
3
Developer 3
Rating
(2)
Projects
2
0%
Arbitration
3
0% / 67%
Overdue
0
Working

Project information

Budget
30+ USD
VAT (22%): 6.6 USD
Total: 36.6 USD
For the developer
27 USD
Deadline
to 1 day(s)