Mt5 forex factor news filter EA

MQL5 专家 脚本

工作已完成

执行时间2 天

指定

I would like to create a news filter so that my ea do not trade in the two previous hours at the exit of an important news and also in the next two hours.
I want a function to stop trading before high impact news 

using struct MqlCalendarEvent 

or you can use forex factory calender


I need a function to add to mt5 EA

it will not use indicator

everything will be under my EA


--- News Filters ---


Pause before NFP/High/Medium/Low Impact News (minutes)

Pause after NFP/High/Medium/Low Impact News (minutes)

Close trades X minutes before NFP/High/Medium/Low Impact News: Either all trades or only those with the specified "Magic Numbers" will be closed X minutes before the news.

Filter News Events: Only pause during specific events. Separate multiple event names by a comma like e.g. "PMI,Rate Statement,CPI".

Filter News Symbols: By default, Take a Break will determine the news for each symbol automatically. However, you can also specify your own set of symbols (e.g. "EUR,USD,GBP").


反馈

1
开发者 1
等级
(90)
项目
136
14%
仲裁
43
21% / 28%
逾期
14
10%
空闲
发布者: 2 代码
2
开发者 2
等级
(1156)
项目
1462
63%
仲裁
21
57% / 10%
逾期
43
3%
空闲
3
开发者 3
等级
(221)
项目
412
61%
仲裁
13
38% / 23%
逾期
163
40%
空闲
发布者: 44 文章, 1 代码
4
开发者 4
等级
(79)
项目
136
51%
仲裁
5
80% / 0%
逾期
6
4%
空闲

项目信息

预算
40+ USD