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

MQL5 Experts

Trabalho concluído

Tempo de execução 6 dias

Termos de Referência

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.


Arquivos anexados:

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

Respondido

1
Desenvolvedor 1
Classificação
(213)
Projetos
246
45%
Arbitragem
42
10% / 57%
Expirado
5
2%
Livre
2
Desenvolvedor 2
Classificação
(2635)
Projetos
3350
67%
Arbitragem
77
48% / 14%
Expirado
342
10%
Trabalhando
Publicou: 1 código
3
Desenvolvedor 3
Classificação
(574)
Projetos
945
47%
Arbitragem
309
58% / 27%
Expirado
125
13%
Livre
4
Desenvolvedor 4
Classificação
(414)
Projetos
670
33%
Arbitragem
60
17% / 32%
Expirado
113
17%
Trabalhando

Informações sobre o projeto

Orçamento
60+ USD
Prazo
para 30 dias