How to enable news filter in XAUBOT?

How to enable news filter in XAUBOT?


Learn how the XAUBOT News Filter works, how to enable it, and how it helps avoid high-impact news events to reduce trading risk and improve stability.


1. What is the News Filter?

The News Filter is a feature that helps the trading bot avoid opening trades during important economic news events, such as:

  • Interest rate decisions
  • Non-Farm Payrolls (NFP)
  • CPI / inflation reports
  • GDP announcements
  • Federal Reserve speeches

These events can cause very high volatility in gold (XAU/USD) and forex markets.


2. What the News Filter does?

When enabled, your bot can:
  • Pause trading before major news
  • Resume trading after the market stabilizes
  • Filter medium-impact or high-impact news
  • Monitor selected currencies (USD, EUR, GBP, etc.)

This helps reduce risky trades during sudden price spikes.  

Notes
Example

If the US Federal Reserve interest rate news is scheduled at 10:00 PM:

  • XAUBOT may stop opening trades 30 minutes before 
  • Wait through the announcement
  • Continue trading 30 minutes after volatility calms down

3. How to enable the News Filter?

  1. There are two ways to activate the News Filter on your bot. You can enable or disable this feature during Step 5 of bot creation, where the option is available.


AlertIf you forgot to activate it during bot creation, you can click your bot name in the top-right corner and open the bot settings. Then scroll down to the "Calendar Settings" section and change the News parameter from "false" to "true".


Warning
To allow the bot to read news from Investing and ForexFactory, you must enable DLL imports in your MT4/MT5 settings.

Make sure the following options are enabled:
  1. In the bot settings → Common tab → check Allow DLL imports

  1. In Tools → Options → Expert Advisors tab → check Allow DLL imports


4. Settings available

  1. Inside XAUBOT Inputs / News Time Settings you can configure:

  1. Currency list (USD, EUR, GBP, etc.) — Write your preferred currencies whose news you want the bot to consider, separated by commas

  2. Minutes before high news to stop and resume trading

  3. Minutes before medium news to stop and resume trading



Final summary 

The XAUBOT News Filter helps protect your trading by avoiding high-impact economic news events that can cause strong market volatility. When enabled, the bot pauses trading before major announcements and resumes once the market stabilizes. You can activate it during bot creation or later in the bot settings under News Time Settings. It also requires DLL imports to be enabled in MetaTrader.