Discussing the article: "Using the MQL5 Economic Calendar for News Filtering (Part 1): Implementing Pre- and Post-News Windows in MQL5"
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Check out the new article: Using the MQL5 Economic Calendar for News Filtering (Part 1): Implementing Pre- and Post-News Windows in MQL5.
We build a calendar‑driven news filter entirely in MQL5, avoiding web requests and external DLLs. Part 1 covers loading and caching events, mapping them to symbols by currency, filtering by impact level, defining pre/post windows, and blocking new trades during active news, with optional pre‑news position closure. The result is a configurable, prop‑firm‑friendly control that reduces false pauses and protects entries during volatility.
The news filter does not react only to the exact release time of an event. Instead, it defines a configurable buffer window around the event to account for pre-release volatility and post-release market instability. The window consists of a pre-news buffer (minutes before the event), the actual news event release time, and a post-news buffer (minutes after the event). Any time that falls within this combined window is treated as an active news period.
Below is an image showing how the news window works.
Author: Solomon Anietie Sunday