Attachments forums

Re: 🔺 MT5 XARD - Simple Trend Following Trading System

Pelle, Wed Sep 30, 2026 3:13 am

# 🚀 [RELEASE] News Event MT5 – Standalone Economic Calendar Box with Multi-Timezone & Alerts

Hello Traders,

Here is a clean, ultra-lightweight, and fully standalone **Economic News Calendar Box** for MetaTrader 5: **`News Event.mq5`**

Many MT5 news indicators suffer from incorrect timezone offsets or chart freezing. This indicator has been engineered from the ground up to fix all MT5 calendar timezone discrepancies, ensuring **100% accurate release times and real-time countdowns across all brokers and user timezones**.

---

### 🌟 Key Features

* **⚡ Zero Chart Lag & Lightweight**: Built strictly with native MQL5 chart objects and optimized timer polling. No freezing or blocking the UI thread.
* **🕒 Universal Multi-Timezone Engine**:
* **Local PC Time (Default)**: Automatically detects your computer’s local clock and DST shift (`TimeLocal() - TimeGMT()`). Shows the exact time according to your wall clock anywhere in the world!
* **Broker / Server Time**: Matches the exact candle timestamps on your chart.
* **Helsinki (EET/EEST)**, **New York (EST/EDT)**, **London (GMT/BST)**, **Tokyo (JST)**, **UTC/GMT**, or **Manual UTC Offset**.
* **🎯 Smart Instrument Auto-Detection**:
* Automatically filters news for the active chart symbol (e.g. `EURUSD` $\rightarrow$ EUR & USD).
* Auto-detects Gold/Silver (`XAUUSD`/`XAGUSD` $\rightarrow$ USD), Indices (`US30`, `DAX40`, `FTSE`, `NIKKEI`), Commodities (`WTI`/`BRENT`), and Cryptos (`BTC`, `ETH`).
* Option to track all 8 major currencies or define a custom watchlist (e.g. `USD,EUR,GBP`).
* **⏳ Live Countdown Timer**: Displays real-time time remaining (`in 15m`, `in 2h 10m`, `ACTIVE`) and instantly cleans up past events upon release.
* **🔔 Audio & Popup Alerts**: Optional warnings (e.g. 5–15 minutes before 🔴 High Impact events).
* **🎨 Fully Customizable UI**:
* 4 Themes: `Dark`, `Classic`, `Light`, `Transparent`.
* Display 1 upcoming event (ultra-compact) or a multi-event list (up to 5 events).
* Flexible placement: Top-Right, Top-Left, Bottom-Right, Bottom-Left with custom pixel margins.

---

### ⚙️ Input Parameters Overview

#### ① Layout & Design
* **Vertical / Horizontal Position**: Top / Bottom, Left / Right.
* **Margin X / Y**: Pixel margins from chart corners.
* **Panel Width / Font Size**: Customizable panel dimensions and typography.
* **Color Theme**: `Dark`, `Classic`, `Light`, `Transparent`.
* **Number of Events**: Choose between 1 (Compact) to 5 upcoming events.

#### ② Timezone Settings
* **Event Timezone**: `Local PC Time (Recommended)`, `Helsinki`, `Broker Server`, `New York`, `London`, `Tokyo`, `UTC`, `Manual`.
* **Manual UTC Offset**: Custom hours offset if Manual mode is selected.
* **Show Timezone Tag**: Toggles label like `[Local+3]` or `[UTC+3]`.

#### ③ Event Filters
* **Impact Filters**: Toggle 🔴 High, 🟠 Medium, 🟡 Low, or ⚪ Holidays & Speeches.
* **Active Chart Symbol Currencies Only**: `true` (auto-detects chart currencies) / `false` (tracks all major currencies).
* **Custom Currencies**: e.g., `USD,EUR,GBP` to manually override.
* **Lookahead Horizon**: How many hours into the future to search (e.g. 72h).

#### ④ Alerts
* **Enable High-Impact Alerts**: `true` / `false`.
* **Alert Before Event**: Minutes before news release (e.g. 10m).
* **Popup & Sound Alerts**: Configurable alerts with custom `.wav` sounds.

---

### 📥 Installation

1. Copy **`News Event.mq5`** into your MT5 indicators folder:
`MT5 Terminal -> File -> Open Data Folder -> MQL5 -> Indicators`
2. Open MetaEditor (**F4**), open the file, and press **Compile (F7)**.
3. Attach **News Event** to any chart.

*Enjoy and trade safe during high-impact news! *
All files in topic