WONNFX BLOG · EXPERT ADVISORS

Forex News and Expert Advisors

What happens to spreads and slippage during NFP, CPI and FOMC, why most EAs lose on news, and how a news filter protects automated trading on MT5 and MT4.

By Sergei Tsirat (WONNDER / WONNFX), author & developer5 MIN READUpdated

A strategy can be profitable for months and then give back a large part of it in two minutes after a US jobs report. The cause is rarely the direction of the move — it is spread, slippage and gaps that the EA was never designed or tested for.

Key takeaways
  • High-impact releases such as NFP, CPI and FOMC widen spreads and cause slippage and whipsaws.
  • Backtests rarely reproduce news conditions, so EAs often lose more live than in testing.
  • A news filter pauses trading before and after selected events and can close positions.
  • Filter by impact and currency so unrelated releases do not stop your EA.
  • Gold reacts strongly to US data, making a filter especially valuable for XAUUSD EAs.
  • Test results with and without news periods to see what the filter changes.

The events that move the market

EventTypical time (ET)Most affected
Non-Farm Payrolls (NFP)1st Friday, 08:30USD pairs, gold, indices
US CPI inflationMonthly, 08:30USD, gold
FOMC rate decision8× per year, 14:00Everything USD
ECB / BoE decisionsThursdays, variesEUR, GBP
GDP, retail sales, PMIVariesLocal currency

Check a live economic calendar each week: dates move, and US daylight-saving changes shift the times relative to your terminal clock.

What happens in the seconds around a release

  • Spreads widen. Liquidity providers pull quotes; a 2-point EURUSD spread can become 20+, and gold spreads can expand several times.
  • Slippage. Stop orders fill at the next available price, which can be far beyond your stop-loss.
  • Whipsaw. The first move often reverses within a minute, hitting stops on both sides.
  • Requotes and rejections on some brokers, leaving an EA with unmanaged exposure.
Example

An EA risks 1% with a 15-pip stop. During NFP the stop fills 25 pips worse — a 40-pip loss. The “1% risk” trade just cost 2.7%.

Why most EAs struggle on news

Backtests usually assume a fixed or historical average spread and perfect fills. They cannot reproduce the order book of a news minute. So the backtest says "profitable", but the live account takes losses the strategy never saw. Scalpers, grid systems and EAs with tight stops are hit hardest.

What a news filter does

A news filter reads the economic calendar and, around selected events, stops the EA from opening new trades. Better filters can also:

  1. Disable Algo Trading for the whole terminal X minutes before the event and re-enable it Y minutes after.
  2. Filter by impact (high / medium) and by currency, so a JPY release does not stop your EURUSD robot.
  3. Optionally close open positions and delete pending orders before the release.
  4. Show the next event and a countdown right on the chart.
⚡WONNFX NEWS FILTER EAFree for MT5 / MT4 — pauses all your EAs around high-impact news→

Sensible filter settings

Strategy typePause beforeResume afterClose trades?
Scalper / M1–M530 min30–60 minYes
Intraday trend15 min30 minOptional
Swing / H4+5 min15 minUsually no
Prop firm accountPer firm rulesPer firm rulesIf required

These are starting points, not rules. Test them on your own history: some strategies lose most on news, others make most of their profit on the volatility that follows.

How to read the economic calendar

Every release shows three numbers: previous, forecast (consensus) and actual. The market reacts to the surprise — the difference between actual and forecast — not to whether the number is "good". A strong jobs report that was even more strongly expected can push the dollar down.

ColumnMeaningWhy it matters
ImpactLow / medium / highFilter only what moves your symbols
PreviousLast release (may be revised)Revisions can surprise too
ForecastAnalyst consensusAlready priced in
ActualPublished numberSurprise = Actual − Forecast

Why gold reacts so strongly to US data

XAUUSD is priced in dollars and is sensitive to US interest-rate expectations. Inflation, jobs and Fed decisions change those expectations instantly, so gold often moves more in dollar terms than major currency pairs on the same release. For gold EAs a news filter is usually the single most valuable protection.

Test the filter on your own strategy

  1. Run the backtest normally and save the report.
  2. Run it again excluding the minutes around high-impact news (or mark news trades in the report).
  3. Compare profit factor, maximum drawdown and the largest single losses.
  4. If the filtered version has a similar profit with a smaller drawdown, the filter is protecting you. If the profit disappears, the strategy depends on news volatility — trade it only with realistic spread and slippage assumptions.

Weekend gaps and holiday liquidity

News is not only scheduled releases. Political events over a weekend can open the market far from Friday's close, skipping stop-losses entirely. Around Christmas, New Year and US holidays liquidity drops and spreads widen even without data. Many traders treat these periods like a high-impact event: no new trades, reduced size, or the EA switched off.

Which impact levels to filter

Most calendars rate events as low, medium or high impact. For automated trading, filtering only high-impact events for the currencies you trade is a sensible default. Add medium-impact events for scalpers and gold strategies, which react to more releases. Filtering everything makes the EA idle most of the day and can remove profitable trades.

Your symbolsFilter currenciesImpact
EURUSDEUR, USDHigh (+ medium for scalpers)
XAUUSDUSD (plus major global events)High + medium
GBPJPYGBP, JPYHigh
Multi-symbol EAAll traded currenciesHigh

Trading news manually

If you trade releases on purpose, use pending orders with realistic slippage expectations, risk half your normal size, and never hold a position whose stop is inside the typical spread spike. For most traders the edge is to wait for the first 5–15 minutes to settle and trade the structure that forms after.

Weekly news routine for EA traders

Every Sunday or Monday, open the calendar for the coming week and note the high-impact events for your symbols, converted to your broker's server time. Check that your filter covers them, decide whether any positions should be closed before the biggest releases, and plan reduced activity around central bank days. Ten minutes of preparation prevents most news surprises.

Frequently asked questions

For most scalping, grid and tight-stop EAs, yes. Spreads and slippage during high-impact releases are rarely represented in backtests.
A common approach is to pause 15–30 minutes before and resume 30–60 minutes after, depending on the strategy and timeframe.
It can. The WONNFX NEWS FILTER EA lets you choose whether to only block new trades or also close positions and remove pending orders.
Yes, it is a free tool for MetaTrader 5 and MetaTrader 4.
US CPI inflation, Non-Farm Payrolls, FOMC rate decisions and Fed speeches typically cause the largest XAUUSD moves.
Only if historical calendar data is available to the EA. Otherwise test by comparing reports with and without the news periods.

Sergei Tsirat (WONNDER / WONNFX) — author and developer of the WONNFX project. MQL5 profile · Telegram

Educational content only, not financial advice. Leveraged trading carries a high risk of loss. Past performance does not guarantee future results. Broker and prop-firm rules change — always check the current conditions of your provider.

Keep reading

Related guides

Get new guides and signals in Telegram

Project news, tool updates, economic news and trade notices from WONNFX.

WONNFX ONLINE
Trading forex and CFDs involves significant risk and may not be suitable for every investor. Articles are educational and are not investment advice. WONNFX is not a broker. · wonnfx.online · Blog · Calculators · Telegram
project news and updates:
[WONNFX ON TELEGRAM]
Project news. Information about new products and updates.
Project community.
Chat for communication.
Publication of important economic news in the telegram channel.
Publication of opening and closing deals in the telegram channel.