Filtering out news events...

 
Hi, I'm in the process of improving every little aspect of my new scalper, everything helps, sometimes a lot, and now I want to avoid entering around news and preferably get out of the market at these times.
This EA is like most other EAs, running with much higher SL than TP and therefore trading over unpredictable news presents pretty bad odds for profit.

Question is:
Are minor and major news always released at predtermined times... to the point where these times can be hard coded into the EA?
  http://www.babypips.com/tools/forex-calendar/
 
Sometimes the news are released early and it´s official, this usually happens a few times every month. It then gets a notice on the news calendar (at least on FF´s one, you can look there to see the frequency).
Sometimes there are inside leaks or other inofficial factors which causes an early reaction.

Avoid this by widening your pre-news time buffer.

Here is an article on this subject, even though the example code might not be up to date: https://www.mql5.com/en/articles/1502

/
McKeen
Reason: