High Impact news function filter

MQL5 Design

Trabalho concluído

Tempo de execução 1 dia
Comentário do desenvolvedor
You are very kind and supportive. I really appreciate the privilege of working with you. Many thanks.

Termos de Referência

Hello,

I would like a function to filter high impact news from forexfactory calendar to use in expert advisors.

The function has to disallow trading some time before/after the time when High impact news appears.

It can be a bool function and return true or false according to imput values. 

Function Inputs

- Currency: USD, EUR, GBP, CHF, CAD, AUD, JPY (2 currencies should be passed to the function to avoid trading if there is a high impact news on any of the 2 currencies)

- Avoid trading before: YES/NOT

- Time to avoid trading before news: Input_Before_Time

- Avoid trading after: YES/NOT

- Time to avoid trading after news: Input_After_Time

Function Output:

- True or false (The function should only return TRUE or False if trading is allowed or not according to the imput parameters)

The function should be written in clear code.


Respondido

1
Desenvolvedor 1
Classificação
(51)
Projetos
71
37%
Arbitragem
4
25% / 75%
Expirado
1
1%
Trabalhando
Publicou: 1 código
2
Desenvolvedor 2
Classificação
(43)
Projetos
66
12%
Arbitragem
12
58% / 42%
Expirado
1
2%
Livre
3
Desenvolvedor 3
Classificação
(274)
Projetos
403
28%
Arbitragem
40
40% / 50%
Expirado
1
0%
Livre
4
Desenvolvedor 4
Classificação
(25)
Projetos
34
26%
Arbitragem
4
50% / 25%
Expirado
4
12%
Livre
5
Desenvolvedor 5
Classificação
(329)
Projetos
515
19%
Arbitragem
35
46% / 31%
Expirado
34
7%
Trabalhando
6
Desenvolvedor 6
Classificação
(14)
Projetos
21
24%
Arbitragem
0
Expirado
2
10%
Livre
Publicou: 3 códigos
7
Desenvolvedor 7
Classificação
(1)
Projetos
0
0%
Arbitragem
2
0% / 100%
Expirado
0
Livre

Informações sobre o projeto

Orçamento
40+ USD
Prazo
de 1 para 200 dias