MT5! Create an breakout EA (pending orders) with frontend buttons for interacting

MQL5 Experts

Tâche terminée

Temps d'exécution 6 jours

Spécifications

Conditions for „german30 breakout EA“:

1.       Place a button „draw lines“ in the right top corner. On Click the button, the color of the button must change from light grey to light red.
Function of this button: they must draw 3 lines in the chart. The first, at the current price, the second x-Points above and the third line x-Points below the current price line. à Picture 1


The middle line can be move „drag&drop“ and simultaneously the two other lines will move too. The Range must be implement as a parameter „box range“ in points, for example: 15
Again, the line above the current price line: current line + („box range“ / 2)
The line below: current line - („box range“ / 2)

2.       Place a second button „Place Orders“ below the first. After click this button, all following actions should be done automatically. The button must be blace two Orders. One sell stop Order at the price from the lower line and one buy stop order at the price from the higher line. When one of the orders are executed the other order must be replaced with a new pending order with a factor of 3. For example: The two orders are placed with 0.1 lots. The lower order are executed and at the same time the higher order with 0.1 lots will be replaced with another pending order with 0.3 lots. See picture 2:

Point 0 (starting position):

-          0.1 contract pending long

-          0.1 contract pending short

Point 1:

-          Fill short position with 0.1 short

-          Pending long with 0.3

Point 2:

-          Fill long position with 0.3 long

-          New pending short with 0.9

Point 3:

-          Fill short with 0.9

-          New pending long with 2.7

Point 4:

-          Take profit will reach. Close all open orders, starting with the biggest position (0.9)

-          Delete pending orders

             Take profit must be set as a parameter, initial at 7.5 points

3.       Draw the current daily pivot, refreshing by a new day. The color must be set as a parameter

 At the end of the assignment, i need the mq5 file.


Dossiers :

PNG
1.png
35.2 Kb
PNG
2.png
99.1 Kb

Répondu

1
Développeur 1
Évaluation
(213)
Projets
246
45%
Arbitrage
42
10% / 57%
En retard
5
2%
Gratuit
2
Développeur 2
Évaluation
(2636)
Projets
3351
67%
Arbitrage
77
48% / 14%
En retard
342
10%
Travail
Publié : 1 code
3
Développeur 3
Évaluation
(574)
Projets
945
47%
Arbitrage
309
58% / 27%
En retard
125
13%
Gratuit
4
Développeur 4
Évaluation
(414)
Projets
670
33%
Arbitrage
60
17% / 32%
En retard
113
17%
Travail

Informations sur le projet

Budget
60+ USD
Délais
à 30 jour(s)