TrueRisk News Filter
- Utilitários
-
Dobril Karakanchev
★★★ THE GOLD HEIST: watch Giza Gold EA trade in public, every trade ★★★
https://thegoldheist.com/?src=bio - Versão: 1.0
- Ativações: 10
News Filter pauses every robot on your MetaTrader 5 terminal around important news releases and lets them trade again when the news is over. One filter on one chart guards all your Expert Advisors, whoever made them: you don't need a news setting inside each robot, and you don't need to edit any code.
It reads MetaTrader's own built-in economic calendar. There are no web addresses to allow, no outside news site that can change or go down, and it works the same on your PC and on any VPS.
TrueRisk Trade Manager (trade panel + prop guard) | TrueRisk Account Guard Pro | TrueRisk Trade Panel (free)
How it works
- Attach News Filter to one empty chart. It watches the calendar for the currencies of every chart you trade
- A few minutes before a release it takes the robot off each chart that trades an affected symbol. The chart keeps its indicators, drawings and colours
- When the news window is over it puts the same robot back on the same chart, with the same inputs
- Robots that keep track of their trades by magic number pick up their open trades again; the robot starts as if you had attached it yourself
- If the terminal is closed or restarts during a pause, the filter puts the robots back when it starts again
Three layers of protection
- Layer 1, pause robots: robots on other charts are taken off before the news and put back after it. Choose robots that are never paused, or pause only the ones you name
- Layer 2, guard: during the news window any new trade or pending order from your robots is closed or deleted at once. This also covers robots running on another terminal or a VPS on the same account, and robots you chose not to pause
- Layer 3, before the news: what to do with trades that are already open. Keep them, close all, close only winners, close only losers, or move the stop to break-even. Pending orders: keep, delete, or delete and put back after the news at the same price, stop loss, take profit, magic number and comment
Manual trades (magic number 0) are never touched unless you switch that on.
Which news
- High impact only, or high and medium impact
- Minutes before and after each release (default 15 / 15)
- Big events get a longer window: FOMC, Non-Farm Payrolls, interest rate decisions and CPI default to 30 minutes before and 60 after. Edit the list to suit you
- Only these currencies, or all of them
- Ignore events whose name contains words you choose, for example Speech or Auction
- A release affects only symbols that use its currency (USD news: EURUSD, XAUUSD, US indices quoted in dollars), or every symbol
- Two releases close together make one pause, so your robots are not switched off and on again in between
Panel
- Status: Robots running, or PAUSED with the event and the time your robots come back
- The next three releases in scope, with a countdown
- Paused charts, guard on or off, trades closed in the window
- Pause now and Resume now buttons, for an unscheduled event or to skip a window
Alerts
Terminal alert and phone push when a pause starts and ends, when the guard closes a trade, and an optional reminder some minutes before. If a chart could not be paused or resumed, you are told which one.
For developers
News Filter sets three global variables that any robot can read: TrueRiskNews.Paused (1 during a window), TrueRiskNews.Until (when the window ends, server time) and TrueRiskNews.Next (the next release).
Try it in the Strategy Tester
MetaTrader's calendar is not available in the Strategy Tester, so the tester runs a demo: a simulated release every 8 hours and a stand-in robot that opens trades and pending orders. You can watch the panel count down, the winners closed and the pending orders deleted before the news, any new trade in the window closed by the guard, and the pending orders put back afterwards.
How it was tested
- Strategy Tester, 1-minute OHLC, August to October 2026: EURUSD H1 with 10,000 USD, XAUUSD M30, and EURUSD with a 100 USD account. 132 news windows on EURUSD; every demo trade and pending order that appeared inside a window was closed or deleted by the guard, pending orders were put back afterwards. 0 errors and 0 rejected requests in every run
- Live terminal with two robots on two charts: both paused within one second of the window starting, indicators and drawings kept, both robots back with their own inputs when the filter was removed. Closing and reopening the terminal during a pause restored them as well
Good to know
- MetaTrader 5 only (MetaTrader 4 has no built-in calendar)
- Run one News Filter per terminal, on its own chart. Allow Algo Trading in the terminal so it can close trades
- Pausing works on the charts of the terminal it runs in. Robots on another terminal or VPS on the same account are covered by the guard (layer 2)
- Release times come from the MetaTrader calendar of your broker's server
Inputs
- News: impact, minutes before and after, currencies, big events and their window, words to ignore, which symbols a release affects
- Layer 1: pause robots on charts, robots never paused, pause only these robots
- Layer 2: guard on or off, robots' magic numbers, manual trades
- Layer 3: minutes before the release, open positions, pending orders
- Alerts, push messages, reminder, panel on or off, corner and font size
- Tester demo (Strategy Tester only)
Support: if something doesn't work as expected, send me a private message first. I answer every message and fix problems quickly.
