News pauses for Expert Advisors: which EAs need one, how wide the window should be, and what a pause cannot do

3 December 2026, 07:48
Pitt Petruschke
0
13

"Pause the EA during news" is advice almost everyone agrees with and almost nobody defines. Pause which EA? For how long? And does pausing mean no new trades, or also closing what is open? This article goes through those questions one by one. The examples use my free Economic News Filter for MetaTrader 5, but the reasoning applies to any news pause, including one you code yourself.

What actually happens in the minutes around a release

Three things change when a high-impact figure such as Non-Farm Payrolls, CPI or a central-bank rate decision is published:

  1. Spreads widen. Liquidity is pulled shortly before the release. A strategy that was tested with a normal spread now pays a multiple of it.
  2. Prices gap. A stop order or a stop loss is filled at the next available price, not at the price you set. The distance is slippage, and you cannot cap it with a setting.
  3. The first move is often not the final one. A spike in one direction and a reversal a few seconds later is common.

None of this is a problem for every strategy. It is a problem for strategies whose result depends on a precise entry price or a tight stop.

Which EAs need a pause, and which ones do not

Type of EARisk at a releaseDoes a pause help?
Breakout with pending stop ordersThe order is filled far beyond the level, and the stop is hit on the reversalYes: delete the pending orders before the release
Scalper with a tight stopThe spread alone can reach the stopYes: no new trades inside the window
Grid or mean-reversion EAA one-directional move adds level after levelPartly: no new baskets. An open basket is still open
Daily index system held for hoursOne trade a day with a wide stopUsually little effect. Test it instead of assuming

Two honest remarks about that table. First, a pause removes trades, the good ones as well. Some breakout systems earn a part of their profit on exactly these days, so a pause can make a backtest worse. Second, for a grid EA the pause only answers the question "should a new basket start now?". It does not solve the basket that is already open. That needs a decision of its own: leave it, reduce it, or close it before the release.

How wide the window should be

The news window: 15 minutes before and after, overlapping windows merged

A window has two sides, and they do different jobs. The time before the event protects against thin liquidity and wide spreads. The time after covers the spike and the reversal. The default in News Filter is 15 minutes before and 15 minutes after. That is a starting point, not a result of research on your strategy.

Three details matter more than the exact number of minutes:

  • Overlapping windows merge. Flash PMIs at 10:30, 11:00 and 11:30 server time become one window from 10:15 to 11:45, not three short ones with gaps in which an EA could open a trade.
  • All times are broker server time. The calendar, the panel and the window use the same clock as your chart.
  • Which events count. By default only high-impact events count, plus medium-impact events whose title contains Non-Farm, FOMC, CPI or Interest Rate. Routine speeches of medium or low impact are excluded. Events without an exact time are ignored.

Which currencies count matters as well. In AUTO mode the filter watches the chart symbol and every symbol with an open position or pending order. EURUSD means EUR and USD. For gold it is XAU and USD, for a German index EUR and USD.

What "pause" can mean: five separate actions

Five actions, only the alert is on by default

"Pause" is not one thing. News Filter splits it into five actions, and only the first is switched on after installation:

  1. Alert: 30 minutes before the window, at its start and at its end.
  2. Delete pending orders: at window start, on the affected symbols.
  3. Close positions: at window start, all positions on the affected symbols or only the losing ones.
  4. Close or delete what is opened inside the window: a position or pending order that appears during the window is removed right away.
  5. Pause flag: terminal GlobalVariables that your own EA reads before it trades.

My suggestion is to go up this list slowly. Run with alerts only for one or two weeks and write down what your EAs did during the windows. Then switch on only the action that addresses what you saw. For a breakout EA that is usually action 2. Action 3 is the strongest one: it turns floating results into realized ones. Use it only if you would also close these positions by hand.

You can limit every action to chosen magic numbers or to manual trades, so a pause for the breakout EA does not touch the index system on the same account.

What a pause cannot do

This part is easy to overlook, so I state it plainly.

One program cannot block another. MetaTrader 5 does not let a utility stop another EA, the mobile app or a manual click from sending an order. A news filter can alert you, delete and close afterwards, and publish a pause flag. Only an EA whose code reads that flag stays out by itself. For every other EA, action 4 closes the trade after it has been opened, and you pay the spread for that.

A pending order that fills inside the window becomes a position. If "delete pending orders" is off, the order placed before the window can still fill during it and is then closed by action 4. Switch on action 2 to avoid that.

Netting accounts have one position per symbol. Closing it affects every EA that trades this symbol, including the part that was open before the window.

The calendar must be there. The filter uses the calendar built into MetaTrader 5, which depends on your broker and on news being enabled in the terminal. In the Strategy Tester this calendar does not exist, so a news pause cannot be backtested with it.

A status you can rely on

Six states of the status box: never CLEAR when the data cannot be trusted

A news pause has one dangerous failure: it reports "clear" because it has no data. News Filter shows CALENDAR STALE when the last refresh failed or the data is older than 60 minutes, CALENDAR UNAVAILABLE when there has been no data since the start, and NOT CONNECTED after more than 5 minutes offline. It never shows CLEAR in these states, and the pause flag reports the calendar as not OK. If you build your own pause, build this check first.

A short checklist

  1. List your EAs and mark the ones with pending orders or tight stops.
  2. Run alerts only for one or two weeks and note what happened inside the windows.
  3. Switch on one action at a time, limited to the magic numbers that need it.
  4. Decide separately what happens to open grid baskets before a major release.
  5. Check the status box after every terminal restart. A VPS is recommended, because deleting and closing need a running, connected terminal.

A news pause reduces exposure to a known risk at a known time. It does not remove the risk, and it guarantees no result. Please test every change on a demo account first.

Economic News Filter (free): https://www.mql5.com/en/market/product/200697

Setup guide with every setting and the pause-flag code: https://www.mql5.com/en/blogs/post/777291

Black Friday week: All my paid products are half price until Sunday, 6 December (evening, Berlin time). All sale prices: https://www.mql5.com/en/blogs/post/782457