Precision News Filter
49 USD
Publié:
20 février 2026
Version actuelle:
3.0
Vous ne trouvez aucun robot qui vous convient ?
Commandez le vôtre
dans la section Freelance
Aller à la section Freelance
Commandez le vôtre
dans la section Freelance
Comment acheter un robot de trading ou un indicateur
Exécutez votre EA sur
hébergement virtuel
hébergement virtuel
Test un indicateur/robot de trading avant d'acheter
Vous voulez gagner de l'argent sur Market ?
Comment présenter un produit pour qu'il se vende bien
Vous manquez des opportunités de trading :
- Applications de trading gratuites
- Plus de 8 000 signaux à copier
- Actualités économiques pour explorer les marchés financiers
Inscription
Se connecter
Vous acceptez la politique du site Web et les conditions d'utilisation
Si vous n'avez pas de compte, veuillez vous inscrire

How to connect Precision News Filter to your Expert Advisor
This utility works by setting a flag that your EA reads before opening any trade. Connecting it takes two small additions to your EA's code and about 5 minutes.
Step 1 — Copy the include file
Download the companion file NewsFilter.mqh from the attachment in this comment. Place it in the following folder inside your MT5 data directory:
MQL5 / Include / NewsFilter / NewsFilter.mqh
To find your MT5 data directory: in MT5 go to File → Open Data Folder.
Step 2 — Add one line at the top of your EA
Open your EA file in MetaEditor and add this line at the very top, with your other include statements:
Step 3 — Add one line inside OnTick()
Find the OnTick() function in your EA. Add this as the very first line inside it, before any other logic:
if(NewsTradingBlocked(_Symbol)) return;
That is all. Your EA will now automatically skip new entry signals whenever a news event is within the protection window. When the window clears, it resumes on its own.
Step 4 — Verify it is working
Attach Precision News Filter to any chart. Press F3 in MT5 to open Global Variables. You should see entries like NewsBlock_EURUSD, NewsBlock_XAUUSD and so on. When a value shows 1.0 your EA is being blocked for that symbol. When it shows 0.0 trading is clear.
Important notes
The utility must be running on your MT5 instance for the block to work. If it is not attached to a chart, your EA will trade normally with no news protection. For VPS users, attach the utility to a quiet chart such as XAUUSD M15 and leave it running permanently.
The utility never touches your EA's logic. It only signals. If you remove the two lines above, your EA returns to its original behaviour with no other changes needed.
If you need help post a comment below with your EA name and which step you are on and I will assist.
Download the companion file NewsFilter.mqh attached below. Place it in: MQL5/Include/NewsFilter/NewsFilter.mqh
Step 1 — Add at the top of your EA:
#include <NewsFilter/NewsFilter.mqh>
Step 2 — Add as the first line of OnTick():
if(NewsTradingBlocked(_Symbol)) return;
Compile your EA (F7). Attach the utility to any chart. Done. Your EA now pauses automatically before news and resumes when the window clears.
Verify: Press F3 in MT5. You should see NewsBlock_EURUSD, NewsBlock_XAUUSD etc. 1.0 = blocked. 0.0 = clear.