News Filter for MT4 and MT5 EAs: Sit Out the Spikes

Your EA doesn’t read the calendar. Left alone, it can open a trade a minute before a rate decision, right as spreads widen.

Give it a news filter. It stands your EA aside for the minutes you choose around the high-impact events you choose, then lets it trade again.

  • $49
  • Full source code yours
  • Proof it works

What the filter does

  • Your window. No new trades for a set number of minutes before and after each event. You pick both numbers.
  • Your events. Choose the impact level and currencies. By default it watches both currencies in the symbol, so EURUSD watches EUR and USD.
  • Your call on open trades. Close them before the release, delete pending orders, or leave them running.
  • Fail-safe. If news data cannot be loaded on a live chart, the EA pauses and tells you instead of trading blind.

Where the news comes from

MT5 has an economic calendar built in, and MQL5 code reads it directly. Every event carries an importance rating, a currency and a time in your broker’s server time.

MT4 has no calendar, so we feed it one: an outside news source fetched with WebRequest (you allow its address under Tools > Options > Expert Advisors), or a schedule you type in. Broker server time is often not your local time, so typed-in schedules get an offset setting.

A news filter sits out new trades. It does not stop the market.

Trades left open through a release can still gap past their stop loss or fill with slippage, spreads can widen enough to hit stops, and surprise headlines are in no calendar. If you want to be flat for a release, set the filter to close trades before it.

Backtesting with a news filter

Calendar data is not available in the MT5 Strategy Tester, and WebRequest does not run in the tester on either platform, so a standard backtest trades straight through the news. Testing the filter on history needs a saved news file the tester can read. Ask and we’ll scope it before you pay.

Prices

  • News filter added to one EA (MT4 or MT5)

    Price
    $49
    Delivery
    1–2 days
    Get a quote
  • Pay in full upfront through a payment link.
  • MT4 and MT5 versions together cost 50% more.
  • Need it in 24 hours? Express is 50% more, agreed on WhatsApp (+65 8775 7677) before you pay.

What we need from you

  • The EA’s source file (.mq4 or .mq5). A filter cannot be added to a compiled .ex4 or .ex5.
  • Minutes before and after, the currencies and the impact level.
  • What should happen to open trades and pending orders.
  • Trading a prop-firm account? Your firm’s news rule, copied word for word.

What you receive

  • Your EA with the filter, as a compiled file plus full source code.
  • Proof it pauses as specified.
  • One revision round within 14 days, and free fixes for any bug in our code for 12 months.

This is not for you if

  • You want the filter to fix an EA that loses money.
  • You want to trade the news spike itself.

Frequently asked questions

Short, plain answers before you ask for a quote.

Does the news filter work on MT4?

Yes. MT4 has no built-in calendar, so the filter reads news from an outside source over WebRequest or from a schedule you enter. On MT5 it uses the built-in calendar.

Which events does it filter?

The ones you pick. On MT5 you choose by the calendar’s importance rating and by currency; on MT4 it follows the source or schedule you choose.

Can it close my trades before the news?

Yes, if you switch that on. It can close open trades and delete pending orders ahead of the release, so you are flat when the number comes out.

Can I backtest with the news filter on?

Not with live calendar data, which the Strategy Tester cannot load. It needs a saved news history, and we explain the options in your quote.

Can it match my prop firm’s news rule?

Yes. Paste your firm’s exact rule into the quote form and we code its time window and events. Your firm’s own news list is the one that counts, so check the two agree.

Still have a question?

Ask it in your quote request or on WhatsApp. The quote is free, and you pay nothing until you accept.

Send us your EA

Tell us your news rules and get a fixed price within 24 hours on weekdays.

Send your EA for a free quote →

Trading involves risk of loss. Nothing we deliver is financial advice.

Also see: prop-firm risk module · alerts and modifications · custom EA · all development services