Add take profits to an existing script that calculate positons

MQL4 Scripts

Job finished

Execution time 23 hours
Feedback from employee
Nice to work, Thanks

Specification

Hallo,

i have the source code of a script called riskpercentage. It calculates the risk between two lines at the chart in percent of the accountbalance.

I need the option to set two take profits (only edit in the script, no objectlines to move in the chart) :

- the distance to both take profits, that i can edit in the script, have to be in R (1R = Distance between opening Price and stop)

 for example : first target 0,8 R, second target 3 R

- i need the possibility to edit in percent how much of the position will be closed at the take profits :

for example: I have a positon of 0,27 (27 microlots) an i want to close 30% of them at the first take profit (= 8) an the rest (19) at the second take profit.


Best regards


Marcel




Responded

1
Developer 1
Rating
(5)
Projects
19
26%
Arbitration
6
17% / 83%
Overdue
6
32%
Free
2
Developer 2
Rating
(40)
Projects
58
22%
Arbitration
10
10% / 70%
Overdue
13
22%
Free
3
Developer 3
Rating
(5)
Projects
21
24%
Arbitration
0
Overdue
5
24%
Free
4
Developer 4
Rating
(128)
Projects
236
65%
Arbitration
30
37% / 23%
Overdue
49
21%
Free
5
Developer 5
Rating
(1855)
Projects
3458
88%
Arbitration
73
40% / 15%
Overdue
265
8%
Free
6
Developer 6
Rating
(94)
Projects
101
41%
Arbitration
1
0% / 100%
Overdue
4
4%
Free
7
Developer 7
Rating
(2428)
Projects
3057
66%
Arbitration
77
48% / 14%
Overdue
340
11%
Free
8
Developer 8
Rating
(647)
Projects
1295
67%
Arbitration
84
26% / 49%
Overdue
338
26%
Free
9
Developer 9
Rating
(266)
Projects
540
50%
Arbitration
55
40% / 36%
Overdue
224
41%
Free
10
Developer 10
Rating
(9)
Projects
18
28%
Arbitration
2
50% / 50%
Overdue
6
33%
Free
11
Developer 11
Rating
(17)
Projects
21
48%
Arbitration
3
0% / 100%
Overdue
10
48%
Free
Similar orders
I need some who can develop my strategy and hand me over the source code... I will give you the specific area in the market i want to mark out and then set pending orders to execute once price move into the zone
C onversion from Ninjatrader to Tradingview. This includes thorough testing and debugging to guarantee that the script functions as intended on Tradingview...If you are in for this job kindly bid
I believe in Robotics as a major artificial intellect to function of growth of business.Therefore if you script there is a likelihood of bringing economies of scale.The retrospective of the dynamics of indulgence of work can be economics of scale
there I hope you're doing well I want to convert the tradingview indicator to make an indicator for mt5. And in that, I want to make an automatic robot on the base of the indicator. I have the pine script of that indicator
Looking for someone who is able to code MQL for MT5 manager plug-in? Please contact me for more info. it is mainly on when to trigger a stop out of the account
see trade open on every tick seconde ok forex pair us us30 if is current running at 40170.00 so open 2 trade buy stop and sell stop both in every tick pending order of buy stop will 40171.00 and sell stop pending order will be 40169.00 buy stop will open at 40171.00 and tp will be 40173.00 and SL will be 40169.50 ok if buy stop hit sell stop order automatically will be close now if sell stop order open at 40169.00 so
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
So i have copier EA. The idea is the EA will triggered through manual OP by user via mobile or whatever platform. Let's say 0.01 lot to trigger it. After the EA takes master's position, the EA will be standby mode. If the master take more OP, the EA still not take the master's position (OP) until the user input manually once again via mobile for another 0.01 lot. Since this is a MT4 EA, Whenever user want to close

Project information

Budget
50- USD
Deadline
from 2 to 5 day(s)