Skip to content
All articles

Education

Gold EA News Filter: Why Our EAs Pause Around High-Impact News

SmartEA Research, 2026-10-27, updated 2026-11-12, 4 min read

Gold EA News Filter: Why Our EAs Pause Around High-Impact News

Short answer: all three SmartEA gold EAs start no new trades from 120 minutes before to 120 minutes after high-impact USD news, such as Non-Farm Payrolls, CPI inflation and Federal Reserve rate decisions. Around these releases gold can jump sharply, spreads widen and orders fill at worse prices than planned. The filter is on by default and we recommend keeping it on.

Why news matters for a gold EA

Gold (XAUUSD) is priced in US dollars, so US economic data and Fed decisions move it directly. In the minutes around a scheduled release several things happen at once:

  • Spreads widen. Brokers widen the XAUUSD spread before and during the release, so a trade opened then starts further from break-even.
  • Liquidity thins and price jumps. Price can move several dollars in seconds and skip levels, so stop orders and stop losses can fill with slippage, at a worse price than set.
  • The first move is unreliable. The first reaction to a release often reverses within minutes, so a breakout that triggers on the spike can turn into a false breakout.
  • Grids can grow fast. For a grid EA without a per-trade stop loss, a strong one-way move after a release can add several grid levels in a short time and build a large floating loss.

Our EAs are built for normal market conditions: sessions, ranges and trends that develop over hours. A news spike is a different market, and for a systematic EA the safer choice is to stay out of it.

What the news filter does

  • From 120 minutes before to 120 minutes after each high-impact USD event the EA starts no new trades. Both values can be changed in the inputs.
  • Smart Rider Gold and Smart Archer Gold start no new basket. A basket that is already open keeps being managed as usual, including its exits and the drawdown protection.
  • Smart Striker Gold places no new buy or sell stop orders and removes its pending ones for that time, so a news spike cannot trigger them. Open positions keep their stop loss and take profit.
  • The on-chart panel shows the next news event and, during a pause, when trading resumes.

Where the calendar comes from

The EA reads this week's calendar from ForexFactory, one of the most widely used economic calendars, and refreshes it every few hours. SmartEA EAs on the same computer share one downloaded copy, so several charts do not each download it. If ForexFactory cannot be reached, the EA uses the economic calendar built into MetaTrader 5 instead, so the filter keeps working.

For the ForexFactory calendar allow WebRequest once per terminal: in MT5 open Tools > Options > Expert Advisors, tick "Allow WebRequest for listed URL" and add https://nfs.faireconomy.media next to https://smartea.trading.

Settings you can change

  • News filter: on by default. Switched off, the EA also trades through news.
  • Minutes before / after the news: 120 / 120 by default. Shorter windows trade more, but closer to the release.
  • News impact: High (default), Medium, or Medium and High. Adding medium-impact events pauses the EA more often.
  • Currencies: USD by default. You can add more, separated by commas, for example USD,EUR.

The other inputs work the same way: the defaults are the values we optimised each EA with, so there is no .set file to load. If you want lower risk, change the lot sizing (a larger balance per 0.01 lot) rather than the news filter.

What the filter cannot do

  • It only knows scheduled events. Unexpected news, such as a surprise statement or a geopolitical event, can still move gold sharply.
  • It does not close open trades. A basket opened before the window keeps running through the release. For a hard limit on losses use the drawdown protection.
  • It is off in the MT5 Strategy Tester, which has no live calendar feed, so backtests include trades around news that the EA would skip on a live or demo account.
  • Event times can change at short notice. The EA reloads the calendar regularly, but a very late change can be missed.

Trading gold with leverage carries a high risk of loss. The news filter reduces one specific risk; it does not make an EA safe. Test on a demo account first and only trade money you can afford to lose.

Follow SmartEA Insider on Telegram

SmartEA Insider: results of our own live accounts, new versions and release notes. No trade signals.

Join the channel

Put it into practice

Backtest one of our Expert Advisors for free in the Strategy Tester.

Browse Expert Advisors