All posts
Engineering·5 min read

How our news filter protects your account during NFP and FOMC

If you've traded XAUUSD through a Non-Farm Payrolls release, you know the pattern: spreads triple, price gaps 300 pips in a second, and stop losses fill nowhere near where you placed them. No breakout strategy survives that environment — the edge that works in normal conditions becomes a coin flip with terrible odds.

That's why every LazyAlgos EA ships with a built-in news filter. It isn't an optional add-on or a setting you have to remember to enable before big events — it runs automatically, every trading day.

Where the data comes from

The EA pulls the live economic calendar over HTTPS and checks it against the current time on every relevant decision point. Events are classified by impact level, and the filter reacts to high-impact events for the currencies that move gold — primarily USD.

Before a filtered event, the EA stops opening new positions and removes any pending orders that could be triggered by the news spike. After the event window passes and spreads normalise, normal operation resumes automatically. No manual intervention, no VPS login at 8:30am New York time.

Why pending orders are the hidden risk

Most traders think about news risk in terms of open positions, but pending breakout orders are often more dangerous. A buy-stop sitting above range gets triggered by the first half of a news whipsaw, then stopped out by the second half — a guaranteed loss engineered in under a second.

This is why our filter removes pending orders entirely rather than just pausing new signals. The order book is clean before the event hits.

What this means for your results

Backtests that ignore news conditions overstate real performance. Our published Myfxbook results are live accounts trading through real news cycles with the filter active — what you see includes the days the EA chose not to trade. That choice is part of the strategy.

See it in practice

Everything we write about here runs in our Expert Advisors, live-verified on Myfxbook.

Browse Expert Advisors