Backtesting news avoidance means running your strategy twice - once taking every trade, once skipping trades near high-impact news - and comparing the results to see whether the filter actually improves your edge. It replaces the generic advice to avoid news with evidence from your own data.
Why test it instead of assuming
"Avoid the news" is good general advice, but its effect on any specific strategy varies. A slow swing strategy may be barely affected by a spike it holds through, while a scalping setup can be destroyed by the same event. The only way to know whether a news filter helps your edge is to measure it - otherwise you might be filtering out perfectly good trades, or ignoring news that quietly bleeds you.
How to run the test
1. Replay with calendar markers visible
In FxBacktest, economic calendar markers overlay directly on the historical chart, so as you replay you can see exactly where high-impact events landed. This is what makes news testing practical - you are not cross-referencing a separate calendar by hand.
2. Tag trades by news proximity
As you take each trade, tag it with whether high-impact news was within your window - say, 30 minutes before or after. Take your normal setups regardless, and let the tag record which trades were news-adjacent.
3. Compare the two groups
After a large sample, split your results: trades near news versus trades in calm conditions. Compare the expectancy, win rate, and drawdown of each group. If the news-adjacent trades have clearly worse numbers, a news filter will improve your edge. If they are similar, the filter costs you trades for no benefit.
An example split like this is a clear case to add a news filter. Yours may differ - which is exactly why you test.
Keep the sample honest: you need enough news-adjacent trades to trust the comparison - a handful is not enough. Test across many months so the news group includes different event types and outcomes, not one lucky or unlucky release.
Turn the result into a rule
If the data supports a filter, write it into your plan precisely: which events, which currencies, and how many minutes around them you stand aside. Then it becomes a tested part of your edge rather than a superstition. Replay your strategy with the filter applied to confirm the improvement holds, and you have converted trading folklore into a measured decision.
Backtesting news avoidance FAQ
How do I backtest whether to avoid trading the news?
Run your strategy across historical data with calendar markers visible, tag each trade by whether high-impact news was near, then compare the expectancy and drawdown of news-adjacent trades versus calm-condition trades.
Does avoiding news improve every strategy?
No. A slow swing strategy may be barely affected by a spike, while a scalping setup can be destroyed by it. The effect varies by strategy, which is why you measure it on your own data rather than assuming.
How many news-adjacent trades do I need to trust the test?
Enough that no single event dominates the sample - a handful is not enough. Test across many months so the news group includes different event types and both good and bad outcomes.