Most automated strategies are built around normal market structure: clean technical levels, predictable spreads, and reasonable liquidity. High-impact macroeconomic releases—especially US Non-Farm Payrolls (NFP), CPI inflation data, and FOMC rate decisions—throw all three out the window in less than a second.
The question every algo trader eventually faces is simple: should you build a news filter to pause your Expert Advisor around red-folder events, or let the math play out over time?
What Actually Happens During Red-Folder News
Even if your EA predicts the right direction, the execution environment during a major release is hostile:
- Liquidity Evaporates: Banks pull orders from the book seconds before the release. Spreads on EURUSD can jump from 0.2 pips to 8+ pips, and Gold spreads can explode past 100 points.
- Whipsaw Spikes: Price frequently spikes 40 pips up, triggers buy-stops and sweeps short stop-losses, then immediately crashes 70 pips down.
- Severe Slippage: A stop-loss placed at a 1% risk level can easily fill at 2.5% or 3% loss if price gaps straight through it.
When You Should Definitely Pause Your EA
A news filter is almost mandatory in three situations:
- Prop-Firm Accounts: Many prop firms explicitly prohibit opening or closing trades within 2 to 5 minutes of high-impact news. Even when allowed, a single slippage spike can breach a 4% or 5% daily loss limit.
- Scalping and Mean-Reversion Bots: Strategies that rely on tight stops (10–25 pips) or expect price to revert to a moving average get steamrolled by news-driven trends.
- Grid or Recovery EAs: One directional FOMC candle can push a grid bot into deep drawdown before it ever gets a pullback.
When You Can Skip the News Filter
If you run a swing EA on H4 or Daily charts with wide structural stops (100+ pips on Forex or $25+ on Gold), pausing for every USD release can actually hurt performance—because macro catalysts are often what propel multi-day trends into profit. Even then, blocking new entries 15 minutes before and after the release while letting existing swing trades stay open is a clean compromise.
How to Configure a Practical News Filter in MT5
MetaTrader 5 has a built-in economic calendar API (CalendarValueHistory), which means modern MQL5 EAs can read upcoming high-impact events natively without relying on fragile external websites. For most intraday bots, a balanced rule set looks like this:
- Filter Scope: High-impact (red-folder) events matching either currency of the chart pair (plus USD events for Gold and indices).
- Pause Window: Stop opening new trades 30 minutes before and 30 minutes after the release.
- Open Trade Handling: Don’t panic-close profitable swing trades automatically, but avoid opening fresh scalping entries until spreads return to normal.
Remember one last catch: MT5’s Strategy Tester does not natively replay historical economic calendar events unless you feed it a custom CSV news file. Always compare live demo logs during news weeks against your backtest so you know whether news truly helps or hurts your specific edge.



