How an EA news filter works (and why high-impact releases still slip through)
Ringkasan — An EA news filter reads an economic calendar and pauses trading around high-impact releases so the robot is not holding positions when spreads blow out. We break down the four-step mechanism, a news-filter vs no-filter table, automated vs manual blackout, and the honest limits backtests never capture.
How an EA news filter works (and why high-impact releases still slip through)
TL;DR — An EA news filter is a safety switch that reads an economic calendar and pauses trading around scheduled high-impact events, so the robot is not holding positions when spreads blow out and gaps appear.
- It runs in four steps: load a calendar of dated events, tag each event with an impact tier, compute a no-trade window around the release time, then suspend new orders and resume afterwards.
- A filter reduces scheduled risk. It cannot stop a surprise headline, a brokered gap, or the slippage that backtests never record.
- Most EAbase breakout and trend builds are designed to avoid holding through releases; the one that trades the news (News Straddle) is published with the same honest backtest on the proof page.
What is an EA news filter?
It is a small rules engine inside a trading robot that checks the economic calendar before placing or keeping a trade. Its job is narrow: stop the EA from opening positions in the minutes surrounding a high-impact data release such as a central-bank rate decision or a major jobs report. The filter does not predict market direction. It simply removes the EA from the most chaotic, least-modellable moments of the trading day.
How does an EA news filter actually work?
Four mechanical steps, in order:
- Load a calendar. The EA reads a schedule of upcoming events, usually a CSV file or an online feed keyed by date, time, currency and impact tier. Without this source the filter is blind, so the calendar must update over time rather than be a fixed list baked into the code.
- Tag impact. Each event carries a tier: low, medium, or high, sometimes with a holiday flag. The EA only acts on the tiers the user has selected. Most filters pause for high-impact events and ignore low-impact ones.
- Compute the blackout window. Around each high-impact time the EA builds a no-trade band, often a fixed number of minutes before and after the release, for example 30 minutes before to 15 minutes after. Some filters widen the band for the biggest events.
- Suspend and resume. While the clock is inside a blackout window, the EA blocks new orders. Optionally it closes positions that would otherwise be held through the release. When the window ends, normal trading resumes automatically.
The whole logic is a clock comparison: is the current broker time inside any blocked interval? If yes, do nothing. If no, trade as usual.
Which events actually trigger a news filter?
Filters act on the impact tier, not the event name. Here is the typical mapping:
| Event tier | Examples | Default filter action |
|---|---|---|
| Low | Minor surveys, secondary data | Trade normally |
| Medium | PMIs, minor central-bank speeches | Often ignored or short pause |
| High | Rate decisions, CPI, NFP, GDP | Pause before and after |
| Holiday | Major market closures | Skip session or widen band |
Two caveats worth knowing: the currency matters, not just the tier. A US jobs report should pause USD pairs, not necessarily JPY ones, unless your EA trades multiple currencies. And the calendar timezone must match the broker server time, or every window lands in the wrong place.
News filter vs no filter: what changes in practice?
The difference is not profit, it is which risks you are exposed to. A filter trades less but avoids the worst fills.
| Dimension | EA with news filter | EA without news filter |
|---|---|---|
| Trades opened near releases | Blocked | Allowed, often at worst spread |
| Exposure to gap risk | Reduced | Full |
| Trade count over a year | Lower | Higher |
| Backtest realism on event days | Closer to live | Overstates event-day fills |
| Best for | Funded accounts, conservative risk | Strategies that trade the news |
The last row is the key exception: an EA whose logic is the news, a straddle that opens before a release and closes after, must leave the filter off. That is a deliberate design choice, not a missing safety feature. Our News Straddle build is exactly this case, and we publish its backtest with the same honesty as every other report.
Automated filter vs manual blackout: which is safer?
An automated filter reads the live calendar and adjusts windows as events move. A manual blackout is a fixed time you hard-code, for example never trade on the first Friday of the month. The automated version wins on accuracy but depends on a calendar that stays current. The manual version never breaks but goes stale the moment a release is rescheduled.
| Approach | Stays current | Effort | Failure mode |
|---|---|---|---|
| Automated calendar filter | Yes | Low after setup | Stale or unreachable feed |
| Manual fixed blackout | No | Low | Misses rescheduled events |
Why a news filter is not a guarantee
Three honest limits:
- It only catches what is scheduled. A surprise headline, a geopolitical shock, or a flash crash is not on any calendar, so the filter is silent when you most want protection.
- Backtests understate event-day cost. The MetaTrader 5 tester models spreads per its settings. It does not reproduce the real slippage and requotes in the seconds around a release. A filter helps close that gap, but it does not erase it. We cover why tested drawdown is only the floor in drawdown recovery math.
- Broker time and calendar time must agree. A one-hour mismatch turns every pause into the wrong hour. This is why broker and VPS choice matters as much as the filter code itself.
FAQ
Does an EA news filter improve performance? Not directly. A news filter is a risk control, not a profit engine. It usually reduces trade count and can lower both losses and wins around events. Its value shows up as fewer gap-driven disasters and backtests that resemble live trading more closely, not as a higher profit factor.
Can a news filter stop all trading losses? No. It only removes exposure to scheduled high-impact events. Random shocks, normal adverse moves, and execution slippage all remain. An EA still needs sizing discipline and an account-level guard, which is what PropGuard is built to provide, and you can line builds up on the compare page.
Should I turn the news filter on for a prop-firm challenge? Almost always yes. Funded accounts have hard daily and max drawdown limits, and a single gapped release through an open position can end the challenge. The rare exception is an EA designed to trade the news on purpose. Check each build's behaviour before assuming one setting fits all.
Risk caveat: this article explains EA engineering, not market outcomes. All performance references point to historical MetaTrader 5 backtests on a 10,000 USD simulated account, which do not predict live results. News filters reduce a specific risk but cannot remove trading risk entirely. Leveraged products can lose more than your deposit. Nothing here is financial advice. Read our full risk disclosure.