Connect MT5 Reporter EA
Reporter EA v1.60Install the read-only xTriel Reporter EA, paste your Ingest Token, make MT5 allow web requests, then add risk rules and Telegram alerts so every connected account reports and warns the way you expect.
1 · Before you start
- A working MetaTrader 5 terminal logged into the account you want to monitor.
- Your xTriel account email and access to Profile.
- The Reporter EA package from the public setup page: xtriel.com/connect-mt5.
- Your per-user Ingest Token, generated under Profile → Connect your EA.
2 · Connect MT5
- Generate the token. Sign in to xTriel, open Profile, then open Connect your EA. Generate or copy the Ingest Token — it starts with
xti_. - Install the Reporter EA. Download the Reporter EA ZIP, extract it, and place the compiled
.ex5file in MT5 under File → Open Data Folder → MQL5 → Experts. Restart MT5 or refresh the Navigator. - Allow xTriel web requests. In MT5, open Tools → Options → Expert Advisors, enable Allow WebRequest for listed URL, then add the xTriel gateway URL:
https://xtriel.com - Attach it to a chart. Drag XtrielReporterEA from Navigator onto any chart. Paste your token into
IngestToken, keepXtrielGatewayashttps://xtriel.com, then click OK. - Turn on Algo Trading. Enable the MT5 Algo Trading toolbar button. Open the Experts tab to watch the Reporter EA print its startup banner and send status.
3 · EA input reference
These are the Reporter EA v1.60 inputs shown in MT5. Most users only change CustomName and IngestToken.
CustomName = My Live Account
UpdateTimer = 5
FullHistoryIntervalSec = 0
MaxFullHistoryDeals = 5000
IngestToken = xti_xxxxxxxxxxxxxxxxxxxxxxxx
XtrielGateway = https://xtriel.com
SkipPostIfNoChange = true
HeartbeatSeconds = 60
ShowLogs = true| Input | Default | Meaning |
|---|---|---|
CustomName | MyTerminal | Name shown on the xTriel dashboard. Use something you recognize, like Prop Firm 1 or Gold VPS. |
UpdateTimer | 5 | How often the EA checks and sends data, in seconds. 5–15 is the normal range. |
FullHistoryIntervalSec | 0 | How often to resend all past trades. Keep 0 unless support asks otherwise; it means full history once at startup. |
MaxFullHistoryDeals | 5000 | Maximum number of past deals sent during a full-history sync. |
IngestToken | (blank) | Required token from Profile → Connect your EA. Without it, the EA will not send data. |
XtrielGateway | https://xtriel.com | The xTriel server URL. Keep this exact value for production. |
SkipPostIfNoChange | true | Saves bandwidth by skipping identical snapshots. The heartbeat still keeps the terminal Live. |
HeartbeatSeconds | 60 | Forces a send at least this often even if nothing changed, so closed-market accounts do not look stale. |
ShowLogs | true | Prints clear activity messages in the MT5 Experts tab. Keep it on while setting up. |
4 · Verify the connection
After the first successful send, the account appears on the xTriel dashboard as a terminal card. The EA also writes a status line in MT5.
[Xtriel] Reporter EA v1.60 starting...
[Xtriel] Gateway : https://xtriel.com
[Xtriel] Ingest token : xti_xx...xxxx
[Xtriel] #1 sent OK (HTTP 200)- Live means xTriel recently received a snapshot.
- Stale means the terminal has not updated recently but may still be recoverable.
- Disconnected means xTriel has gone too long without a snapshot.
- No change — skipped in the Experts tab is normal when
SkipPostIfNoChangeis enabled.
5 · Add risk rules
Risk rules live on the Risk page and apply per account. Leave a field blank to disable that check for that account.
- Open Risk Rule Alerts. Go to app.xtriel.com/risk. Your connected terminals load under Account risk limits.
- Set the core limits. Fill Max daily drawdown and/or Profit target for the account. These are the most common rules.
- Open More limits. Use More limits for percent drawdown, floating loss, minimum equity, max open positions, and stale-terminal alerts.
- Save changes. Click Save changes. xTriel starts evaluating the rules against each new snapshot from the Reporter EA.
| Rule | Trips when | Use it for |
|---|---|---|
Max daily drawdown | Daily drawdown dollars exceeds the value. | Daily loss guardrail per account. |
Profit target | Daily profit reaches or exceeds the value. | Taking notice when a target is hit. |
Max drawdown | Dashboard drawdown percent reaches the limit. | Percent-based risk monitoring. |
Max floating loss | Open unrealized loss reaches the dollar value. | Watching live exposure before trades close. |
Min equity | Equity falls below the value. | Hard account-health floor. |
Max open positions | Open position count reaches the value. | Detecting overtrading or runaway entries. |
Stale after | No update arrives for the number of minutes. | Finding frozen terminals or VPS/network issues. |
6 · Configure Telegram
Telegram alerts are sent by xTriel, not directly by the MT5 EA. That means you connect Telegram once, then every terminal can use the same alert engine.
- Create or choose a Telegram bot. In Telegram, use @BotFather to create a bot and copy the bot token.
- Get the chat ID. Use your personal chat ID or a group chat ID. If you use a group, add the bot to the group first.
- Paste the settings in xTriel. On the Risk page, fill Bot token and Chat ID, then choose whether to alert on new trades and high-impact news.
- Save and test. Click Save changes, then Send test message. You should receive a Telegram message from xTriel.
Bot token: 123456789:AAExampleTelegramBotToken
Chat ID: 123456789
News countries: USD, EUR, GBP7 · Edit Telegram settings
Return to the Risk page whenever you need to change Telegram behavior.
- Leave Bot token blank to keep the saved token.
- Paste a new bot token only when you want to replace the saved bot.
- Change Chat ID to move alerts to another user or group.
- Toggle Alert on new trades if you only want risk-limit alerts.
- Toggle Alert 30m before high-impact news and edit News countries to control economic-calendar messages.
- Always click Save changes, then send a test message after changing Telegram settings.
8 · Troubleshooting
WebRequest blocked— addhttps://xtriel.comunder Tools → Options → Expert Advisors → Allow WebRequest for listed URL.No Ingest Token set— paste the token from Profile → Connect your EA into theIngestTokeninput.HTTP 401— the token is invalid or was regenerated. Copy the current token into the EA.HTTP 402— the terminal is above your plan account limit.- The account does not appear — confirm Algo Trading is enabled, the EA is attached to a chart, the token is present, and the Experts tab shows a successful send.
- Telegram test fails — confirm the bot token, chat ID, and that the bot is allowed to message the target chat or group.
- Too many repeated alerts — raise the limits or wait for the alert cooldown before testing the same breach again.