MultiAccount Risk Dashboard
- Utilitários
- Versão: 1.30
- Ativações: 5
# Multi-Account Risk Dashboard (MT5)
MQL5 utility to monitor the risk status of many MetaTrader 5 accounts at once in a single visual panel.
> **Full visibility, zero execution risk** — this tool is pure monitoring. It does not execute any trades automatically.
## Features
- **Real-time dashboard** — equity, margin level, floating P/L, and drawdown from many accounts in one panel.
- **Multi-terminal, one machine** — each terminal reports to the Common Files folder, the dashboard reads them all.
- **Tiered alert system** — warning/critical for margin level & daily drawdown, with anti-spam cooldown.
- **Multi-channel notifications** — MT5 mobile push, email, popup, and sound (for critical conditions).
- **Mini equity chart** — 50-point sparkline per account.
- **Account grouping** — group accounts via a config file (prop firm, personal, clients, etc.).
- **CSV export** — export all account data with one click.
- **Stale detection** — dead/disconnected accounts are automatically marked after 10 seconds.
## Project Structure
```
MultiAccountRiskDashboard/
├── Experts/
│ ├── RiskDashboard_Reporter.mq5 (install on every account)
│ └── RiskDashboard_Panel.mq5 (install on 1 monitoring chart)
├── Include/
│ └── AccountDataStruct.mqh (data schema struct + JSON serializer/parser)
├── Docs/
│ ├── installation_guide.md
│ ├── settings_guide.md
│ └── dashboard_groups.conf.sample
```
## How It Works (Brief)
```
[Terminal Account 1] --EA Reporter--> account_1001.json --\
[Terminal Account 2] --EA Reporter--> account_1002.json ---> [Common Files] --> [Dashboard Panel] --> Visual Panel
[Terminal Account 3] --EA Reporter--> account_1003.json --/
```
1. Every MT5 terminal runs the **EA Reporter** on one chart.
2. The Reporter reads account data, computes risk metrics, and writes a JSON file to the Common folder (`MQL5\Files\Common\`).
3. One terminal runs the **Dashboard Panel**, which reads all JSON files and renders the combined table + fires alerts.
## Development Status
| Phase | Status |
|-------|--------|
| 1 — MVP (Reporter + basic Panel) | Done |
| 2 — Alert system & notifications | Done |
| 3 — Equity chart, CSV export, grouping, sound, investor mode | Done |
| 4 — Packaging & documentation | In progress |
## Compatibility
- MetaTrader 5 (latest build)
- Windows PC or VPS, multiple terminals on the same machine
- Supports investor (read-only) login — the Reporter never places orders
See `Docs/installation_guide.md` for full installation steps and `Docs/settings_guide.md` for every setting explained.
