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 일