External News Filter Tool
This EA can be used as a News Filter with other EAs /Manual Trades.
It is based on the News EA Template without DLL - expert for MetaTrader 4.
It can close trades before news and disable the trading of external EAs by applying different templates.
I am distributing it for Free after adding my own input.
List of variables
- Magic - Magic number of the trades to be closed
- Close_All_The_Trades - Closes all the trades with that magic number and symbol
- Change_Charts_Template- Applies a template change to the chart where the external EA is running to disable it.
- External_Chart_ID - Id of external chart where template is to be applied
- Template_Before_Name- Name of template used before news
- Template_After_Name- Name of template used after news.
- BeforeNewsStop - time in minutes before the news for the EA to pause operation, for example, 5 minutes before the news release. The EA switches to "News time" mode.
- AfterNewsStop - time in minutes after the news for the EA to pause operation, for example, 5 minutes after the news release. The EA deactivates the "News time" mode.
- NewsLight, NewsMedium, NewsHard - enable downloading weak, medium and strong news.
- offset - Time zone (GMT).
- NewsSymb - list of all currencies, for which the news should be downloaded. If empty, currencies of the current symbol are used.
- DrawLines - draw lines on the chart.
- Next - draw only the upcoming news, do not draw the past news.
- Signal - alert about the approaching news at the distance of BeforeNewsStop minutes.