Add take profits to an existing script that calculate positons

MQL4 Skripte

Auftrag beendet

Ausführungszeit 23 Stunden
Bewertung des Entwicklers
Nice to work, Thanks

Spezifikation

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




Bewerbungen

1
Entwickler 1
Bewertung
(5)
Projekte
19
26%
Schlichtung
6
17% / 83%
Frist nicht eingehalten
6
32%
Frei
2
Entwickler 2
Bewertung
(40)
Projekte
58
22%
Schlichtung
10
10% / 70%
Frist nicht eingehalten
13
22%
Frei
3
Entwickler 3
Bewertung
(5)
Projekte
21
24%
Schlichtung
0
Frist nicht eingehalten
5
24%
Frei
4
Entwickler 4
Bewertung
(128)
Projekte
236
65%
Schlichtung
30
37% / 23%
Frist nicht eingehalten
49
21%
Frei
5
Entwickler 5
Bewertung
(1928)
Projekte
3548
88%
Schlichtung
73
40% / 15%
Frist nicht eingehalten
268
8%
Frei
6
Entwickler 6
Bewertung
(94)
Projekte
101
41%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
4
4%
Frei
7
Entwickler 7
Bewertung
(2630)
Projekte
3345
67%
Schlichtung
77
48% / 14%
Frist nicht eingehalten
342
10%
Frei
Veröffentlicht: 1 Beispiel
8
Entwickler 8
Bewertung
(647)
Projekte
1295
67%
Schlichtung
84
26% / 49%
Frist nicht eingehalten
338
26%
Frei
9
Entwickler 9
Bewertung
(270)
Projekte
552
49%
Schlichtung
57
40% / 37%
Frist nicht eingehalten
228
41%
Arbeitet
10
Entwickler 10
Bewertung
(9)
Projekte
18
28%
Schlichtung
2
50% / 50%
Frist nicht eingehalten
6
33%
Frei
11
Entwickler 11
Bewertung
(17)
Projekte
21
48%
Schlichtung
3
0% / 100%
Frist nicht eingehalten
10
48%
Frei

Projektdetails

Budget
50- USD
Ausführungsfristen
von 2 bis 5 Tag(e)