Add take profits to an existing script that calculate positons

MQL4 スクリプト

仕事が完了した

実行時間23 時間
開発者からのフィードバック
Nice to work, Thanks

指定

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




応答済み

1
開発者 1
評価
(5)
プロジェクト
19
26%
仲裁
6
17% / 83%
期限切れ
6
32%
2
開発者 2
評価
(40)
プロジェクト
58
22%
仲裁
10
10% / 70%
期限切れ
13
22%
3
開発者 3
評価
(5)
プロジェクト
21
24%
仲裁
0
期限切れ
5
24%
4
開発者 4
評価
(128)
プロジェクト
236
65%
仲裁
30
37% / 23%
期限切れ
49
21%
5
開発者 5
評価
(1928)
プロジェクト
3548
88%
仲裁
73
40% / 15%
期限切れ
268
8%
6
開発者 6
評価
(94)
プロジェクト
101
41%
仲裁
1
0% / 100%
期限切れ
4
4%
7
開発者 7
評価
(2630)
プロジェクト
3345
67%
仲裁
77
48% / 14%
期限切れ
342
10%
パブリッシュした人: 1 code
8
開発者 8
評価
(647)
プロジェクト
1295
67%
仲裁
84
26% / 49%
期限切れ
338
26%
9
開発者 9
評価
(270)
プロジェクト
552
49%
仲裁
57
40% / 37%
期限切れ
228
41%
仕事中
10
開発者 10
評価
(9)
プロジェクト
18
28%
仲裁
2
50% / 50%
期限切れ
6
33%
11
開発者 11
評価
(17)
プロジェクト
21
48%
仲裁
3
0% / 100%
期限切れ
10
48%

プロジェクト情報

予算
50- USD
締め切り
最低 2 最高 5 日