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

İş Gereklilikleri

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.

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(452)
Projeler
788
48%
Arabuluculuk
70
17% / 53%
Süresi dolmuş
139
18%
Çalışıyor
2
Geliştirici 2
Derecelendirme
(34)
Projeler
60
23%
Arabuluculuk
11
73% / 9%
Süresi dolmuş
3
5%
Serbest
3
Geliştirici 3
Derecelendirme
(449)
Projeler
475
69%
Arabuluculuk
6
67% / 0%
Süresi dolmuş
2
0%
Çalışıyor
4
Geliştirici 4
Derecelendirme
(11)
Projeler
18
28%
Arabuluculuk
4
50% / 50%
Süresi dolmuş
1
6%
Serbest
5
Geliştirici 5
Derecelendirme
(39)
Projeler
50
18%
Arabuluculuk
6
33% / 50%
Süresi dolmuş
0
Serbest
6
Geliştirici 6
Derecelendirme
(3)
Projeler
1
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
7
Geliştirici 7
Derecelendirme
(151)
Projeler
232
32%
Arabuluculuk
18
39% / 33%
Süresi dolmuş
1
0%
Çalışıyor
8
Geliştirici 8
Derecelendirme
(77)
Projeler
241
73%
Arabuluculuk
7
100% / 0%
Süresi dolmuş
1
0%
Serbest
9
Geliştirici 9
Derecelendirme
(116)
Projeler
137
36%
Arabuluculuk
16
13% / 69%
Süresi dolmuş
9
7%
Serbest
10
Geliştirici 10
Derecelendirme
(617)
Projeler
1427
59%
Arabuluculuk
31
81% / 0%
Süresi dolmuş
10
1%
Serbest
11
Geliştirici 11
Derecelendirme
(16)
Projeler
20
0%
Arabuluculuk
10
0% / 80%
Süresi dolmuş
6
30%
Serbest
12
Geliştirici 12
Derecelendirme
(278)
Projeler
340
37%
Arabuluculuk
6
50% / 17%
Süresi dolmuş
7
2%
Serbest
Yayınlandı: 5 kod
13
Geliştirici 13
Derecelendirme
(3)
Projeler
3
0%
Arabuluculuk
0
Süresi dolmuş
1
33%
Serbest
14
Geliştirici 14
Derecelendirme
(574)
Projeler
945
47%
Arabuluculuk
309
58% / 27%
Süresi dolmuş
125
13%
Serbest

Proje bilgisi

Bütçe
30 - 50 USD
Son teslim tarihi
to 3 gün