Reporter EA v1.60

Connect MT5 Reporter EA

Install 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.

Overview

The xTriel Reporter EA is a MetaTrader 5 Expert Advisor that streams account telemetry into your xTriel dashboard. It is read-only: it does not open, close, or modify trades.

The Reporter EA is monitoring only.

It sends balance, equity, drawdown, open positions, recent trades, account identity, and terminal health to xTriel. Your trading EA can keep running separately.

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.
Token warning:

The token is shown once. Regenerating it immediately disconnects every terminal still using the old token until you paste the new one into each EA.

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 .ex5 file 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, keep XtrielGateway as https://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.

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
InputDefaultMeaning
CustomNameMyTerminalName shown on the xTriel dashboard. Use something you recognize, like Prop Firm 1 or Gold VPS.
UpdateTimer5How often the EA checks and sends data, in seconds. 5 to 15 is the normal range.
FullHistoryIntervalSec0How often to resend all past trades. Keep 0 unless support asks otherwise; it means full history once at startup.
MaxFullHistoryDeals5000Maximum 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.
XtrielGatewayhttps://xtriel.comThe xTriel server URL. Keep this exact value for production.
SkipPostIfNoChangetrueSaves bandwidth by skipping identical snapshots. The heartbeat still keeps the terminal Live.
HeartbeatSeconds60Forces a send at least this often even if nothing changed, so closed-market accounts do not look stale.
ShowLogstruePrints clear activity messages in the MT5 Experts tab. Keep it on while setting up.

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 SkipPostIfNoChange is enabled.

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 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.

RuleTrips whenUse it for
Max daily drawdownDaily drawdown dollars exceeds the value.Daily loss guardrail per account.
Profit targetDaily profit reaches or exceeds the value.Taking notice when a target is hit.
Max drawdownDashboard drawdown percent reaches the limit.Percent-based risk monitoring.
Max floating lossOpen unrealized loss reaches the dollar value.Watching live exposure before trades close.
Min equityEquity falls below the value.Hard account-health floor.
Max open positionsOpen position count reaches the value.Detecting overtrading or runaway entries.
Stale afterNo update arrives for the number of minutes.Finding frozen terminals or VPS/network issues.

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, GBP

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.

Troubleshooting

  • WebRequest blocked: add https://xtriel.com under Tools -> Options -> Expert Advisors -> Allow WebRequest for listed URL.
  • No Ingest Token set: paste the token from Profile -> Connect your EA into the IngestToken input.
  • 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.