Simple Hedge EA for buy and sell operations with values i want needed.

指定

Hello Dear Community of MQL5,


I would like to create an EA that opens and closes positions depending on the current trend with the manuel pip values we can enter. I will explain the work-flow down so please bear with me.

1. EA has detected the trend ( let's say it is going up ) and made a buy with the lot and pip values that i entered.

1.1. if up trend continues it will close the position and sell at the value that i enter manually

1.2. if the trend goes the other way around, the EA should do the opposite operation ( which is a sell in this current situation ) with the value of lot*2 at the pip value i want.

1.3. if the trend goes the other way around again, EA should keep doing the opposite operation with the one before, with the value of the same lot*2 ( it is same value with 1.2. ) 

2. after this point it goes into a loop until it catches the pip profit which i have entered beforehand.

Also I would like to have a manuel number of positions that i enter. I dont want it to start too many positions in the same, to test it out i would like to start with 1 position series.


Looking forward for your answers

Best wishes,

Behnan OR.

応答済み

1
開発者 1
評価
(403)
プロジェクト
707
49%
仲裁
57
16% / 49%
期限切れ
130
18%
仕事中
2
開発者 2
評価
(34)
プロジェクト
60
23%
仲裁
11
73% / 9%
期限切れ
3
5%
3
開発者 3
評価
(383)
プロジェクト
411
69%
仲裁
3
100% / 0%
期限切れ
2
0%
多忙
4
開発者 4
評価
(10)
プロジェクト
17
24%
仲裁
3
67% / 33%
期限切れ
2
12%
5
開発者 5
評価
(39)
プロジェクト
50
18%
仲裁
5
40% / 40%
期限切れ
0
6
開発者 6
評価
(3)
プロジェクト
1
0%
仲裁
0
期限切れ
0
7
開発者 7
評価
(111)
プロジェクト
171
33%
仲裁
12
25% / 33%
期限切れ
0
仕事中
8
開発者 8
評価
(63)
プロジェクト
194
73%
仲裁
4
100% / 0%
期限切れ
1
1%
9
開発者 9
評価
(116)
プロジェクト
137
36%
仲裁
15
13% / 67%
期限切れ
9
7%
10
開発者 10
評価
(555)
プロジェクト
1343
59%
仲裁
28
82% / 0%
期限切れ
10
1%
11
開発者 11
評価
(16)
プロジェクト
20
0%
仲裁
9
0% / 78%
期限切れ
6
30%
12
開発者 12
評価
(260)
プロジェクト
317
37%
仲裁
6
50% / 17%
期限切れ
7
2%
13
開発者 13
評価
(3)
プロジェクト
3
0%
仲裁
0
期限切れ
1
33%
14
開発者 14
評価
(564)
プロジェクト
933
47%
仲裁
302
59% / 25%
期限切れ
125
13%
取り込み中

プロジェクト情報

予算
30 - 50 USD
開発者用
27 - 45 USD
締め切り
最高 3 日