Trading Education & EA Mastery · 7 min read · November 20, 2026

Should Your Gold EA Trade the News? NFP, CPI and What I Do

Gold can move several dollars in the seconds after a US jobs report. If you trade by hand you can simply stay out. If an EA trades for you, it will do whatever its rules say, at 8:30 in New York, with the spread wide open. So knowing how to…

Gold can move several dollars in the seconds after a US jobs report. If you trade by hand you can simply stay out. If an EA trades for you, it will do whatever its rules say, at 8:30 in New York, with the spread wide open. So knowing how to trade gold with news really means deciding, in advance, what your EA should do when the calendar lights up red.

There are three honest answers, and none of them is right for every EA. Here’s how each one works, how to test which one yours needs, and what I do with my own EAs. Not financial advice.

What happens to gold around big news

The releases that move gold most are the US ones: the jobs report (NFP), usually on the first Friday of the month, inflation (CPI), and the Federal Reserve’s rate decisions (FOMC), eight scheduled meetings a year. Around them, three things happen at once:

  • The price jumps, sometimes in both directions within a minute.
  • The spread widens, because liquidity thins out just before the number.
  • Orders slip, so a stop can fill some distance beyond where you placed it.

None of that is a problem in itself. It becomes one when your EA’s rules weren’t built, or tested, for it.

Option 1: trade through the news

The EA ignores the calendar and trades every hour the same way. This is fine when its rules were tested on years of data that include every news day, with a stop on every trade and a realistic spread. The news days are already in the backtest, good ones and bad ones.

The risk: a backtest on 1-minute data can’t show you the real spread and slippage of those seconds. If a strategy’s edge depends on tight entries, news days may cost more live than in the tester.

Option 2: a news filter

The EA stops opening trades some minutes before and after high-impact events. It sounds like pure safety, but check two things:

  • The filter needs a calendar, and the calendar has to be right and on time, every week, on the machine where the EA runs.
  • The filter changes the strategy. Some of a strategy’s best trades can come from news moves. A filter that removes them can make the results worse, not safer. And testing a filter honestly needs the historical calendar too.

Option 3: close before the news

The EA goes flat before big releases and comes back after. It’s the most conservative option and it costs trades. Some prop firms restrict trading around high-impact news on funded accounts, so if you trade one, read its rules: there, this option may be the only one allowed.

How to trade gold with news: test which option your EA needs

  1. Run the backtest normally and export the trade list.
  2. Mark the trades opened on NFP, CPI and FOMC days, or within an hour of the release.
  3. Compare the profit factor and the worst trades of those trades against all the others.
  4. If the news trades are clearly worse, a filter or closing before may help. If they’re similar or better, filtering them may just cost you money.
  5. Then forward test the version you chose on demo through at least two or three NFP Fridays.

For the backtest itself, here’s how to backtest an EA on MT5 without fooling yourself, and remember that timing matters well beyond the news: I covered it in session-based gold trading.

What I do with my own EAs

My rule-based gold strategies trade through the news. The free DoIt Gold Portfolio Module and the strategies in DoIt MultiStrategy Pro have no news filter. They have a stop loss on every trade from the moment it opens, at most two trades a day, and they close at the end of the day and before the weekend. Their backtests include the news days, so I size them for those days instead of pretending they don’t exist.

My AI EA reads the calendar. In Alpha Pulse AI, the model sees the economic calendar in every request, from the MT5 calendar, ForexFactory or your own file. It knows NFP is in 40 minutes and can decide to wait. And its Prop Firm Mode adds a news blackout and a Friday close for accounts with those rules. The risk limits stay yours: the model decides inside them.

If your EA trades through news days, make sure it runs on a machine that doesn’t sleep through them. Most people use a VPS; I use ForexVPS. Affiliate link.

See what the model decides and what the EA controls: in Jev AI in MT5: I Added It. Here’s What It Does, I show the split between the two.

News days are where data quality shows. I test gold on Axi‘s XAUUSD history, with real ticks as a cross-check. Affiliate link; I may earn a commission if you open an account through it. And if you trade allocated capital, news rules are part of the program: Axi Select, for example, has its own rules on automation, and only allows a third-party EA for generating signals, with trades placed manually.

I test how EAs behave on the days that matter. Join the DoItTrading newsletter to get the next test.

Trading gold around high-impact news involves a high risk of loss, including slippage beyond your stop. This is not financial advice.

Frequently Asked Questions

Should my gold EA trade during NFP?

It depends on how it was built and tested. If its backtest includes years of news days, with a stop on every trade and a realistic spread, trading through can be fine. If its news-day trades are clearly worse than the rest, a filter or closing before the release may help.

What news moves gold the most?

Mostly US releases: the jobs report (NFP), inflation (CPI) and the Federal Reserve’s rate decisions (FOMC). Around them, gold’s price jumps, spreads widen and orders can slip.

Is a news filter always safer?

No. A filter needs a reliable calendar, and it changes the strategy: if some of its best trades come from news moves, filtering them out can make results worse. Test the news-day trades before you decide.

How do I test my EA’s performance on news days?

Export the backtest trades, mark the ones opened on NFP, CPI and FOMC days or within an hour of the release, and compare their profit factor and worst trades with all the others. Then forward test your choice through a few NFP Fridays.

Does the free gold EA have a news filter?

No. The DoIt Gold Portfolio Module trades through the news with a stop loss on every trade, at most two trades a day, and closes at the end of the day and before the weekend. Its backtest includes the news days.

Which DoItTrading EA is news-aware?

Alpha Pulse AI. Its model sees the economic calendar in every request and can decide to wait before a release, and its Prop Firm Mode adds a news blackout and Friday close.

Diego Arribas
Diego Arribas
Founder · DoItTrading

Building MT4/MT5 expert advisors and writing about prop-firm scaling since 2021. Currently running Alpha Pulse AI live on XAUUSD and trading Axi Select in parallel. I write what I'd want to read before paying for any of this myself.

Scroll to Top