News Filter: no new trades around big news
Available in FCC_EA Trading Panel Pro Trading Panel Free
Big economic news can move a market further in a minute than in a whole quiet hour, with wide spreads and slippage. The News Filter stops FCC_EA opening new trades around the news you choose, and can close positions before they hit. It is off by default: set the News Filter minutes (for example 15) to turn it on.
Pick the news
News to Filter (in the Trading Panel: News to Watch) is a comma-separated list of event names, exactly as they appear in the MetaTrader 5 economic calendar (letter case doesn't matter). It already holds the main US releases, such as Nonfarm Payrolls, CPI m/m and the Fed rate decision; add or remove names as you like. The field holds about 250 characters and the list it comes with uses most of them, so remove names you don't need before you add others.
- A name alone is a USD event.
- For another currency, put its code and a colon in front:
EUR:ECB Interest Rate Decision,GBP:BoE Interest Rate Decision. - A name that matches no calendar event is listed once in the Experts tab (
check spelling), so a typo doesn't go unnoticed.
Open View → Toolbox → Calendar in MetaTrader 5 and copy the event name from there, for example Core PCE Price Index m/m.
The news window
The News Filter setting (minutes before / after the news) sets the window: the number of minutes before and after each listed release, for example 20 = from 14:10 to 14:50 for news at 14:30. In the Trading Panel the same setting is called News Warning.
The News Filter is off by default (0 minutes), also for set files from 1.0. Set the News Filter minutes, for example to 15, to turn it on. The list of releases is already filled in.
Inside the window FCC_EA opens nothing new:
- Paused: new signals, add-ons, grid and pyramid positions, and retries of earlier signals. A signal inside the window shows as a grey arrow with the reason, for example
news (USD Nonfarm Payrolls 14:30). - Still running: everything about the trades already open: stop loss, take profit, breakeven, trailing, partial close and the legs of an open hedge cycle.
- Trading Panel: your clicks always work, also inside the window. The panel footer shows a news warning so you know.
If the economic calendar is not available (for example a broker that doesn't provide it), FCC_EA keeps trading without the filter and sends one alert; a log line says when the calendar is back.
Close positions before the news
FCC_EA and Trading Panel Pro.
Close Positions Before News closes positions once, at the start of the news window: the release time minus the News Filter minutes (with 15, at 14:15 for news at 14:30), not at the release itself. It needs a window above 0 minutes (in the Trading Panel Pro: News Warning above 0).
| Choice | Closes |
|---|---|
| Off | Nothing. |
| Close All | Every position on the account (any symbol, any EA, manual trades too) and every pending order placed before the window. |
| Close by Magic | This chart's symbol and magic number: its positions (Trading Panel trades too) and pending orders. |
| Close Losing Positions | This chart's positions that are in loss at that moment. Pending orders stay. |
| Close Profitable Positions | This chart's positions that are in profit at that moment. Pending orders stay. |
- Losing and Profitable judge each position on its own (swap and commission included). A losing entry can close while a profitable add-on stays. An active hedge cycle is judged by its net result as one basket and is closed whole or not at all.
- A position opened inside the window is not closed.
- The close alert names the news, for example
Reason: News: USD Nonfarm Payrolls, and one summary alert per news lists what was closed. - If a position can't be closed before the release, you get an alert at once (
Close before news (…) FAILED: … not closed yet - retrying; check your trades), and the summary says how many were NOT closed. Check those trades yourself. - Alert on News? (ALERTS SETTINGS) turns the news alerts off.
News on the chart
With Display News (Lines + Countdown)? on:
- Every listed news gets a dashed vertical line: red for high impact, orange for medium, grey for low. Hover over it for the time, currency, name, impact, forecast, previous and actual value.
- The info panel and the Trading Panel footer count down to the next news, for example
News: USD CPI m/m in 12 min.
Display News is display only, so it also works with the window at 0 minutes.
In the Strategy Tester
The tester has no live economic calendar, so FCC_EA brings its own news history:
- Attach FCC_EA (or the Trading Panel) to any chart once on a live or demo account.
- It downloads the news history (2019 onwards) in the background and saves it for every terminal on your PC. The Experts tab says when it's done.
- From then on, your backtests use the News Filter like the live EA. The file is updated once a day while the EA runs.
Without the file, the tester runs without the News Filter and says so once in its journal: attach the EA to any chart once to load the news history. Using remote or cloud tester agents, or another PC? Copy the file there as well (MetaTrader's common Files folder, FCC_News.csv).
Prop-firm news rules
Many prop firms forbid opening or holding trades a few minutes around high-impact news. A news window of at least your firm's number of minutes plus Close Positions Before News helps you follow such rules. Check your firm's rules: some count every red news of every currency, and some count pending orders too.
Settings
- FCC_EA: News Filter, News to Filter, Close Positions Before News and Display News (Lines + Countdown)? sit together in FILTERS SETTINGS: Filters Settings.
- Trading Panel: News Warning, News to Watch, (Pro) Close Positions Before News and Display News sit together in NEWS SETTINGS: Trading Panel Settings.
All settings for this feature Filters settings →
Backtest this setup free in the Strategy Tester, and adjust it whenever the market changes; every feature is in every plan. Backtest results depend on your broker's data and don't guarantee future results.
Check the FAQ or write to us. We reply within one business day.