FREE DOWNLOAD
WONNFX NEWS FILTER EA
[MT4 / MT5]
[MT5 / MT4]
WONNFX NEWS FILTER EA
$
FREE
download

WONNFX NEWS FILTER EA -

Free News Filter

for MT4 and MT5 [v11.1]

EA Description

is a simple yet indispensable tool for automatically managing risk during major economic news releases. The EA downloads an economic calendar and monitors the timing of upcoming events. When high-impact news is approaching (based on your settings), the robot automatically disables auto-trading in the terminal and re-enables it once the news period has passed.

Key Features:
  • Automated Auto-Trading Control: Protects your account from unwanted trades during periods of high volatility.
  • Close Positions Before News: Optionally forces the closure of all open orders a specified number of minutes before the event.
  • Spread Control: Can close positions if the spread widens beyond a set value (protection against spread expansion during news).
  • Flexible Filtering: Choose the importance of news events (High, Medium, Low) and the specific currencies you want to monitor (USD, EUR, GBP, etc.).
  • Visual Feedback: Displays vertical lines on the chart for upcoming news and an information panel showing the current status.
  • Multi-Terminal Support: The Magic Number parameter prevents file conflicts when using the EA on multiple terminals on the same computer or server. Each terminal must have its own unique Magic Number to avoid cross-contamination of news data.
  • Up-to-Date Data: Automatically updates the news list at a user-defined interval.
Versions:
  • WONNFX NEWS FILTER EA [MT4] v11.1 — For the MetaTrader 4 terminal.
  • WONNFX NEWS FILTER EA [MT5] v11.1 — For the MetaTrader 5 terminal.
  • Both versions are completely free and have identical functionality and settings.
DOWNLOAD FREE MT5 version in Telegram MT4 version in Telegram
EA INSTALLATION / VIDEO USER GUIDE EA Support the release and update of free MT5 MT4 content
Installation and Usage Guide:
Step 1: Terminal Configuration (IMPORTANT!)
To function correctly, the EA needs to download a news file from the internet. By default, this feature is disabled in MetaTrader terminals for security reasons. You must enable it manually.
  1. Open your terminal (MT4 or MT5).
  2. Go to the main menu: "Tools" -> "Options" -> "Expert Advisors" tab.
  3. In the "Allow WebRequest for the following URLs" section, check the box.
  4. In the input field, add the URL: https://nfs.faireconomy.media
  5. Click "OK" .
If you skip this step, the EA will not be able to load any news!
Step 2: EA Installation
  • For MT4:
  • Download the archive and extract the file WONNFX NEWS FILTER EA [MT4] v10.9.ex4.
  • Copy the file to the /MQL4/Experts/ folder of your trading terminal.
  • Refresh the list of Expert Advisors in the "Navigator" window or restart the terminal.
  • For MT5:
  • Download the archive and extract the file WONNFX NEWS FILTER EA [MT5] v10.9.ex5.
  • Copy the file to the /MQL5/Experts/ folder of your trading terminal.
  • Refresh the list of Expert Advisors in the "Navigator" window or restart the terminal.
Step 3: Attaching to a Chart
  1. Drag and drop the EA onto any chart (e.g., EURUSD).
  2. In the settings window that opens, go to the "Common" tab and check the box "Allow Auto Trading" . The EA needs this permission to be able to disable and re-enable auto-trading on your behalf.
  3. Configure the input parameters according to your preferences (see the detailed description below).
  4. Click "OK" .
The EA will now begin loading the news calendar. The first load can take anywhere from 0 to 20 minutes. The EA's status will be displayed on the panel in the top-left corner of the chart.

=Setting the "Time shift" parameter in the Advisor=

For example, if you check by UTC time (+3) at your broker.

Then the UTC "Time Shift" parameter = "3" summer time / "2" winter time.


*You need to set the "Time Shift" parameter correctly for accurate display and definition of news (depending on your broker's time)

After setting the "Time Shift" parameter and loading data on news events - additionally check the data on another portal "forexfactory.com/calendar / investing.com/economic-calendar" (so that everything matches and is displayed correctly)

DOWNLOAD FREE MT5 version in Telegram MT4 version in Telegram

⚡ WONNFX NEWS FILTER EA v11.1 — COMPLETE PARAMETERS GUIDE NEW VERSION

An automatic news filter for MT4 and MT5. Disables auto-trading during important economic events and during specified time intervals.

🚀 WHAT'S NEW IN v11.1:
NEW: "Close ONLY Pending Orders" — Delete ONLY pending orders before news, while keeping your market positions open!
NEW: "Time Filter" — Disable auto-trading at a specified time interval (e.g., 23:45 to 01:05) with the same close position options!
UPDATED: Panel now shows exact close mode: "ALL POSITIONS", "PENDING ONLY", or "INACTIVE".
⚙️ CRITICAL SETUP STEP: In your terminal options (Tools -> Options -> Expert Advisors), you MUST add the URL https://nfs.faireconomy.media to the list of allowed URLs for WebRequest. The EA will not work without this.
🚀 FIRST NEWS LOAD — 2-10 MINUTES (random delay)
The first news update takes 2-10 minutes (random delay) to protect the server from overload when many charts are opened simultaneously.

📆 MAIN NEWS PARAMETERS

  • News Filter ON/OFF — The master switch for the entire EA functionality. When OFF, the EA will not monitor news or disable auto-trading.
  • Minutes before news to disable trading — How many minutes before a news event to disable auto-trading (and close positions, if that option is enabled).
  • Minutes after news to enable trading — How many minutes after the news event to re-enable auto-trading.
  • Close all positions before news — If set to true, ALL positions (market orders + pending orders) will be closed before the news period starts.
    ℹ️ Panel shows: "ALL POSITIONS"
  • Close ONLY pending orders NEW in v11.1
    If "Close all positions before news" is set to false, this setting determines what happens:
    • ClosePendingOnly = trueONLY pending orders (Buy Limit, Buy Stop, Sell Limit, Sell Stop) are deleted before news. Your market positions (Buy/Sell) remain open!
    • ClosePendingOnly = falseNO orders are closed. The EA only disables auto-trading before news.
    💡 Use case: You want to keep your market positions open but remove pending orders so they don't get triggered during volatile news periods.
    ℹ️ Panel shows: "PENDING ONLY"

⏰ TIME FILTER SETTINGS NEW in v11.1

  • Time Filter ON/OFF — Master switch for the time filter. When OFF, the time filter is disabled.
  • Start time (HHMM) — The start time of the filter interval. Enter in 24-hour format without colons.
    Example: 2345 = 23:45
  • End time (HHMM) — The end time of the filter interval. Enter in 24-hour format without colons.
    Example: 105 = 01:05
  • Close positions before time filter — If set to true, ALL positions (market + pending) will be closed when the time filter activates.
  • Close ONLY pending orders (time filter) — If "Close positions before time filter" is false, this setting determines what happens:
    • TimeFilterClosePendingOnly = trueONLY pending orders are deleted when the time filter activates. Market positions remain open!
    • TimeFilterClosePendingOnly = falseNO orders are closed. The EA only disables auto-trading during the time interval.
💡 Use case: Disable auto-trading overnight (e.g., 23:45 to 01:05) to avoid low liquidity and high spreads. Keep your market positions open but remove pending orders that could be triggered by unexpected price movements.
⚠️ IMPORTANT: The time filter uses the terminal (broker) time, not your local time. Make sure to adjust the times according to your broker's time zone.

🎯 EVENT FILTERS

  • High / Medium / Low news — Enable or disable news of different importance levels. You can ignore low-impact "noise" and focus only on High-impact events.
  • High / Medium / Low color — The colors used for drawing news lines on the chart and displaying news in the panel.
  • Holidays news — Enable or disable bank holidays and non-economic events (displayed in grey). Default: false — holidays are ignored by the EA.
  • Symbol filter — A currency filter. Enter a comma-separated list without spaces. Example: USD,EUR,GBP. If left empty, news for all currencies will be considered.

📈 CHART VISUALS

  • Show news lines on chart — Draw vertical lines on the chart at the exact time of the news event.
  • News update interval (minutes) — How often to refresh the news list from the internet (default is 55 minutes).
  • Only Future news — Display only upcoming news events on the panel and chart (hides events that have already passed).
  • Time shift — Shift the news time (in hours). May be needed if your broker's server time differs from the calendar's time zone.

🛡️ PROTECTION & MULTI-TERMINAL SUPPORT

  • Max Spread close all orders (pips) — Protection against spread widening. If the spread exceeds this value (in pips), all positions will be closed. A value of 0 disables this function.
  • Magic Number(for news file title only!) Prevents file conflicts when running the EA on multiple MetaTrader terminals on the same computer or server.
    • 0 (default) — The EA uses the chart symbol name to create the news cache file (news_EURUSD.txt). Suitable for single-terminal use.
    • Any unique number (e.g., 12345, 67890)IMPORTANT: If you run multiple terminals on one PC/server, you must assign a DIFFERENT Magic Number to EACH terminal. The EA creates a cache file based on this number (news_12345.txt). This ensures each terminal reads and writes its own news data without conflicts.
    💡 Example: Terminal 1 → Magic Number = 100, Terminal 2 → Magic Number = 200. Both terminals work independently with their own news cache files.
  • Info links — Informational fields containing links to the website and donation page. You can leave these as they are.

📋 QUICK REFERENCE: CLOSE FUNCTION

How the EA handles position closing before news and during time filter:

Setting Panel Display Action
NewsCloseBefore = true ALL POSITIONS Closes ALL positions (market + pending)
NewsCloseBefore = false
ClosePendingOnly = true
PENDING ONLY Deletes ONLY pending orders
Market positions stay open!
NewsCloseBefore = false
ClosePendingOnly = false
INACTIVE NO positions are closed
Only auto-trading is disabled
⏰ TIME FILTER — Same close options apply!
TimeFilterCloseBefore = true ALL POSITIONS Closes ALL positions when time filter activates
TimeFilterCloseBefore = false
TimeFilterClosePendingOnly = true
PENDING ONLY Deletes ONLY pending orders when time filter activates
Market positions stay open!
TimeFilterCloseBefore = false
TimeFilterClosePendingOnly = false
INACTIVE NO positions are closed during time filter
Only auto-trading is disabled

⏰ TIME FILTER — EXAMPLES

Example 1: Overnight filter (23:45 to 01:05)
TimeFilterStart = 2345
TimeFilterEnd = 105
→ Auto-trading will be disabled from 23:45 until 01:05 (next day).
Example 2: Daytime filter (12:00 to 13:00)
TimeFilterStart = 1200
TimeFilterEnd = 1300
→ Auto-trading will be disabled from 12:00 until 13:00 (same day).
⚠️ IMPORTANT: Times are in 24-hour format (HHMM):
  • 01:05 → 105 (leading zero is optional)
  • 09:00 → 900 (leading zero is optional)
  • 12:00 → 1200
  • 23:45 → 2345
Support the release and update of free MT5 MT4 content
project news and updates on social media: