High Impact news function filter

MQL5 Design

Job finished

Execution time 1 day
Feedback from employee
You are very kind and supportive. I really appreciate the privilege of working with you. Many thanks.

Specification

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.


Responded

1
Developer 1
Rating
(51)
Projects
71
37%
Arbitration
4
25% / 75%
Overdue
1
1%
Working
Published: 1 code
2
Developer 2
Rating
(43)
Projects
66
12%
Arbitration
12
58% / 42%
Overdue
1
2%
Free
3
Developer 3
Rating
(274)
Projects
403
28%
Arbitration
40
40% / 50%
Overdue
1
0%
Free
4
Developer 4
Rating
(25)
Projects
34
26%
Arbitration
4
50% / 25%
Overdue
4
12%
Free
5
Developer 5
Rating
(329)
Projects
515
19%
Arbitration
35
46% / 31%
Overdue
34
7%
Working
6
Developer 6
Rating
(14)
Projects
21
24%
Arbitration
0
Overdue
2
10%
Free
Published: 3 codes
7
Developer 7
Rating
(1)
Projects
0
0%
Arbitration
2
0% / 100%
Overdue
0
Free

Project information

Budget
40+ USD
Deadline
from 1 to 200 day(s)