AI News Filter
Breaking headlines read and scored by a language model, with the EAs paused before the move.
< 5sFrom a headline to the EAs pausing
01Problem
A week of profit gone on every surprise headline
The client runs six expert advisors on MT5. On quiet days they traded to plan; then a tariff headline or a central bank leak hit, and a week of profit went in minutes.
The economic calendar only covers scheduled releases. Unscheduled news had no filter at all, and by the time he saw it on his phone, the move was over.
02Solution
Read the news as it breaks, pause before it hits
A filter between the news and the trades. It reads news feeds and the calendar around the clock, has a language model score each headline for USD, EUR, GBP and JPY, and pauses every EA on a pair the moment a headline crosses its threshold.
Open trades are handled by a rule set per EA: hold through it, move the stop to break-even, or close before the spike. Every pause comes to Telegram with the headline, the score and when trading resumes.
03Build
From a news reader to a filter on six EAs
Built in stages, the last one a month in report-only mode beside the live EAs before it was allowed to pause anything.
News reader
Feeds and the economic calendar read in one place, every headline stored with the time it broke.
Scoring
A language model rates each headline's impact per currency; thresholds and sit-out windows are set per pair.
The switch in every EA
A small include file adds one check to each MQL5 EA before it opens a trade, plus the per-EA rule for open positions.
Testing
A month of the filter logging what it would have done, checked against what the market did.
- Every pause it would have made, compared with the price move after it
- False alarms tuned out per pair before going live
- Telegram reports checked for every pause and resume
04Stack
What it's built with
Filter
- PythonThe news reader and the scoring
- PostgreSQLEvery headline, score and pause
- DockerRuns the filter on one server
Trading
- MQL5The check inside each EA
- MetaTrader 5Where the six EAs trade
- TelegramPause and resume reports
05Result
Surprise news no longer catches the EAs mid-trade
- Unscheduled headlines caught in month one
- 14
- EAs on one filter
- 6
- It kept him out of paid for the project
- 1 trade
Scheduled and unscheduled news go through one filter, and every pause is explained with the headline that caused it.
06Client review
The filter paused my EAs on a tariff headline twenty minutes before the move. That one trade paid for the whole project.
07Next step
Need something like this?
Custom developmentFrom $5,900
- Tell me about your strategy and what it should do
- A reply and a written plan within 24 hours
- A fixed price and timeline before any work starts