EA para daytrading

MQL5 Experts

Specification

In need a MQL5 EA that:

Has 4 input variables: Drop percentage, Rise percentage, initial time, end time.

1 - start operating after the "initial time" defined (i.e 10 minutes after market opening). Close the operations on "end time" (i.e 10 minutes before market opening).

2 - Get a reference price colected in the exact momnet of the "initial time"  (i.e 10 minutes after market opening).

3 - If the current price drops to or below the "drop percentage" from the "inicial price", sends a Buy order, at the market price. This Buy order must me emmited only at this time, and not before.

4 - If the Buy order succeed, send a Sell Order if the current price rises by a % defined in "rise percentage" variable.

5 -  At the end of the market, when the program detect the "end time", send an order to close all open position.

6 - the program must deal with errors


// In portuguese


Preciso de um EA para MQL5 que:

Tenha 4 variáveis de input: Percentual de queda, percentual de subida, tempo de inicio da operação e tempo final da operação.

1 - Comece a operar após os leilões de abertura e encerramento (ex 10 min depois da abertura e 10 min. antes do encerramento)

2 - Após o inicio do dia ele pegue o "preço de abertura" (ex 10 min apos a abertura do mercado) e guarde este preço como refernencia.

3 - Se o preço cair abaixo da variável "percentual de queda" sobre o preço de abertura, ele emita uma ordem de compra ao preço do mercado. Esta ordem de comrpa deve ser emitida apenas no momento em que o preço de referencia for atingido. Não pode enviar ordens antes deste momento, ex criando uma ordem de compra com o preço desejado já no inicio.

4 - Após a compra, se o preço subir acima do valor "percentual de subida", ele venda.

5 - ao final do dia (10 min antes do fechamento do mercado) se possuir alguma posição aberta, force o encerramenteo, vendendo o que tiver em aberto.

6 - o programa precisa ter os tratamentos de erros necessários.


Responded

1
Developer 1
Rating
(35)
Projects
60
22%
Arbitration
3
33% / 33%
Overdue
15
25%
Free
2
Developer 2
Rating
(10)
Projects
11
36%
Arbitration
0
Overdue
1
9%
Free
3
Developer 3
Rating
(11)
Projects
17
59%
Arbitration
2
0% / 100%
Overdue
2
12%
Free
4
Developer 4
Rating
(1)
Projects
1
100%
Arbitration
1
0% / 100%
Overdue
0
Working

Project information

Budget
30+ USD