High Impact news function filter

MQL5 设计

工作已完成

执行时间1 一天
员工反馈
You are very kind and supportive. I really appreciate the privilege of working with you. Many thanks.

指定

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.


反馈

1
开发者 1
等级
(51)
项目
71
37%
仲裁
4
25% / 75%
逾期
1
1%
工作中
发布者: 1 代码
2
开发者 2
等级
(43)
项目
66
12%
仲裁
12
58% / 42%
逾期
1
2%
空闲
3
开发者 3
等级
(274)
项目
403
28%
仲裁
40
40% / 50%
逾期
1
0%
空闲
4
开发者 4
等级
(25)
项目
34
26%
仲裁
4
50% / 25%
逾期
4
12%
空闲
5
开发者 5
等级
(329)
项目
515
19%
仲裁
35
46% / 31%
逾期
34
7%
工作中
6
开发者 6
等级
(14)
项目
21
24%
仲裁
0
逾期
2
10%
空闲
发布者: 3 代码
7
开发者 7
等级
(1)
项目
0
0%
仲裁
2
0% / 100%
逾期
0
空闲

项目信息

预算
40+ USD
截止日期
从 1 到 200 天