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

MQL4 Esperti Script

Specifiche

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.

Con risposta

1
Sviluppatore 1
Valutazioni
(456)
Progetti
794
49%
Arbitraggio
71
17% / 54%
In ritardo
139
18%
In elaborazione
2
Sviluppatore 2
Valutazioni
(34)
Progetti
60
23%
Arbitraggio
11
73% / 9%
In ritardo
3
5%
Gratuito
3
Sviluppatore 3
Valutazioni
(450)
Progetti
477
69%
Arbitraggio
6
67% / 0%
In ritardo
2
0%
Gratuito
4
Sviluppatore 4
Valutazioni
(11)
Progetti
18
28%
Arbitraggio
4
50% / 50%
In ritardo
1
6%
Gratuito
5
Sviluppatore 5
Valutazioni
(39)
Progetti
50
18%
Arbitraggio
6
33% / 50%
In ritardo
0
Gratuito
6
Sviluppatore 6
Valutazioni
(3)
Progetti
1
0%
Arbitraggio
0
In ritardo
0
Gratuito
7
Sviluppatore 7
Valutazioni
(153)
Progetti
236
33%
Arbitraggio
20
45% / 30%
In ritardo
1
0%
In elaborazione
8
Sviluppatore 8
Valutazioni
(77)
Progetti
243
74%
Arbitraggio
7
100% / 0%
In ritardo
1
0%
Gratuito
Pubblicati: 1 articolo
9
Sviluppatore 9
Valutazioni
(116)
Progetti
137
36%
Arbitraggio
16
13% / 69%
In ritardo
9
7%
Gratuito
10
Sviluppatore 10
Valutazioni
(618)
Progetti
1428
59%
Arbitraggio
31
81% / 0%
In ritardo
10
1%
Gratuito
11
Sviluppatore 11
Valutazioni
(16)
Progetti
20
0%
Arbitraggio
10
0% / 80%
In ritardo
6
30%
Gratuito
12
Sviluppatore 12
Valutazioni
(278)
Progetti
340
37%
Arbitraggio
6
50% / 17%
In ritardo
7
2%
Gratuito
Pubblicati: 5 codici
13
Sviluppatore 13
Valutazioni
(3)
Progetti
3
0%
Arbitraggio
0
In ritardo
1
33%
Gratuito
14
Sviluppatore 14
Valutazioni
(574)
Progetti
945
47%
Arbitraggio
309
58% / 27%
In ritardo
125
13%
Gratuito

Informazioni sul progetto

Budget
30 - 50 USD
Scadenze
a 3 giorno(i)