Trading Robots and Economic News: When a News Filter Makes Sense
During big news releases spreads widen, price jumps and your stop loss can fill worse than planned. A news filter helps, but it is not always the right choice.

Contents
A robot doesn't read the news. It has no idea that US jobs data comes out in five minutes, or that gold is about to cover in a few seconds the distance it normally needs a whole day for. It only sees price and follows its rules.
That is why many robots have an option called a news filter. The idea is simple: the robot doesn't open new trades just before and after major economic releases. But is an EA news filter always a good idea? Not quite.
In this article you will learn what actually happens in the market during big news, how a news filter works in MetaTrader 5, when it makes sense to switch it on, and when it can do more harm than good.
What happens in the market during news
When an important economic number is released, for example NFP (US jobs added), inflation (CPI) or an interest rate decision, the market has to "reprice" within seconds. That brings several problems:
- Spreads widen. The gap between the buy and sell price can be many times larger than usual, especially on gold.
- Slippage. Your order fills at a worse price than requested, because price moves faster than the order arrives.
- Price gaps. Price can "jump over" your stop loss and fill it further away than planned.
- False moves. The first move after the release often reverses quickly.
For a manual trader, that is a reason for caution. For a robot with a tight stop loss, it can be the difference between a planned 0.5% loss and a much bigger one.
Which news moves the market most
| Release | What it measures | When (roughly) | GMT/UTC time |
|---|---|---|---|
| NFP | new US jobs | usually the first Friday of the month, 8:30 New York time | 13:30 in US winter, 12:30 in US summer |
| US CPI | inflation | once a month, 8:30 New York time | 13:30 in US winter, 12:30 in US summer |
| FOMC | Federal Reserve rate decision | 8 times a year, 14:00 New York time | 19:00 in US winter, 18:00 in US summer |
| ECB | European Central Bank rate decision | about 8 times a year, 14:15 Frankfurt time | 13:15 in European winter, 12:15 in European summer |
Watch the clock changes. The US and Europe don't switch to and from daylight saving time on the same day, so for a few weeks in March and again around late October and early November, the gap between New York and European time is one hour shorter than usual. If you trade from Europe, US releases come an hour earlier on your clock during those weeks.
US releases matter most for gold, because gold is priced in dollars. I covered that in more detail in gold and the news: NFP, CPI and FOMC.
So that news releases do not catch you off guard, our economic calendar in the app shows the major releases and sends an alert before them.
How an EA news filter works
MetaTrader 5 has a built-in economic calendar (you can see it in the Toolbox, Calendar tab). A robot can read that calendar and know when major releases are due for the currencies it trades.
A typical news filter has these settings:
- How many minutes before the news the robot stops opening new trades.
- How many minutes after the news it waits before it may trade again.
- Which news it considers: only the most important releases, or medium-impact ones too.
- Whether it closes open positions before the news or leaves them running with their stop loss.
Our robots (Gold Trimmer, London Scalper and Astro Hero) have an optional news filter. You decide whether to switch it on, in the robot's inputs (Inputs tab). How to change the inputs is covered in how to install an EA on MT5.
Learn and trade with THE ONE FX
Everything you need after this article, in one place.
When a news filter makes sense
A news filter is a good choice when:
- The robot uses a tight stop loss or trades short moves. Wider spreads and slippage then eat a big part of the plan.
- The strategy relies on a calm market, for example a range, and a release can "break" the range.
- The robot holds positions longer, and you don't want a few seconds of news to decide a trade that was opened for a completely different reason.
- You trade an account with news rules. Some prop firms restrict trading around news, and the rules differ. Always read your firm's rules.
- You simply feel calmer when the robot isn't trading in the most chaotic minutes. That is a valid reason too.
When you may not need the filter
A filter is not always a plus:
- The strategy feeds on post-news moves. Momentum strategies live on strong moves, and many strong moves start with news. A filter takes away part of their edge.
- The robot trades at hours with hardly any major news. Then the filter rarely changes anything.
- You want live results to match the backtest as closely as possible, and the backtest was run without the filter.
| Situation | News filter |
|---|---|
| Scalper with a tight stop loss | on |
| Range strategy in a calm market | think about it, often on |
| Trend robot with longer trades | your choice, at least for top-tier news |
| Momentum strategy chasing strong moves | usually off |
| Account with news rules | on, and check the rules |
What a news filter can't do
- It can't see unscheduled news. Politicians' comments, geopolitical events and surprise decisions are not in the calendar.
- It doesn't protect against weekend gaps. If something happens over the weekend, price can open far from Friday's close.
- It depends on the calendar in the platform. If the terminal is disconnected or the calendar hasn't loaded, the filter has no data. Check the Experts tab, where the robot reports what it is doing.
A news filter reduces one type of risk. It doesn't turn a robot into a risk-free system, and it doesn't guarantee profit.
A weekly routine with the calendar
Even with the filter on, it helps to open the economic calendar for five minutes on Sunday evening. See which major releases are coming that week and when, especially for the dollar if your robot trades gold. If the week is packed with big data, say NFP and a rate decision within a couple of days, some traders deliberately lower the robot's risk or pause it on the day of the biggest release. That's your call, but make it in advance, not in a panic while price is already moving.
In short: how to decide
Ask yourself three questions: does the robot use a tight stop loss, does the strategy depend on a calm market, and does your account have news rules? If at least one answer is "yes", the filter is probably a good idea. If the robot hunts strong moves, think twice before you switch it on.
If robots are new to you, start with what is a trading robot, and if your robot needs to run while you sleep, read VPS for trading robots. Our robots, their backtests and the PDF guide that explains the news filter are on the robots page. They are free with an XM, Vantage or PU Prime account opened under my partner code.
Frequently asked questions
What is a news filter on a Forex EA?
A news filter is an option that stops the robot from opening new trades for a set number of minutes before and after major economic releases. The robot reads the release times from the economic calendar in MetaTrader 5.
Should my EA trade during NFP?
It depends on the strategy. A robot with a tight stop loss often suffers during NFP because of wider spreads and slippage, so a filter is a good choice. Strategies that chase strong moves sometimes trade after news on purpose.
What time is NFP released?
NFP comes out at 8:30 New York time, usually on the first Friday of the month. That is 13:30 GMT/UTC while the US is on standard time and 12:30 GMT/UTC while it is on daylight saving time.
Does a news filter affect the backtest?
The MT5 economic calendar is not available in the Strategy Tester, so a news filter can't be tested realistically. The backtest shows results without the filter, and live, with the filter on, the robot skips some trades.
Why was my stop loss filled further away than I set it?
During news, price can move so fast that a stop loss can't always be filled exactly at the set price. That is called slippage, and it happens most often during big releases and at the market open after a weekend.
Risk warning: trading Forex, gold and CFDs carries a high risk of losing capital and is not suitable for everyone. This article is educational and is not investment advice or a recommendation to buy or sell. Examples are illustrative, and past results do not guarantee future results. Some links are affiliate links: more information.


