All articles

Alert when an MT5 or MT4 robot stops

An EA that stops tells nobody. The terminal stays closed after a Windows update, or the VPS loses its connection: the robot stops trading and its open positions are left unmanaged. People often find out the next day, when they open MetaTrader. Equidra has two alerts that tell you within minutes.

Two different failures

The Equidra robot, installed in your MetaTrader 4 or 5 terminal, sends two things to the server roughly every 30 seconds. The first is a sign of life. The second is a full snapshot of the account: balance, equity, margin and open positions.

When the terminal, the VPS or its internet connection stops, nothing arrives at all. A terminal that keeps running but has lost its connection to the broker's server is harder to spot: the robot still shows signs of life, but it stops reading the account until the connection comes back, so the snapshots stop.

Contact silence: the robot no longer answers

The "Contact silence" measure counts the seconds since the robot last contacted the server. The server does this calculation every second, without waiting for anything from the terminal. The alert therefore also fires when the VPS is off.

If the same account is linked to several terminals, silence counts from the most recent contact of any of them. A threshold of a few minutes, say 300 seconds, lets a brief network drop pass while still warning you quickly about a real outage.

Full snapshot age: the robot talks, the account doesn't move

"Full snapshot age" measures how old the last complete account state is. It fires when the robot still answers but its snapshots have stopped, typically because the terminal is no longer connected to the broker. With both alerts active, you know which of the two problems to look for.

Setting up the alert

On the Alerts page, "Create an alert" opens the wizard. The scope can be one account, a selection of 1 to 20 accounts with the same currency and type (demo or live), or a dynamic group. Evaluation runs per account, as soon as at least one account is affected, or when all of them are; aggregate mode doesn't exist for these two measures. The threshold can be set in seconds, minutes or hours.

The alert goes out by email, to an address verified through a link, or to Discord through a webhook. A test send confirms the channel works before you rely on it. Three advanced settings are especially useful here:

Each active rule counts toward your plan's limit: 2 rules on Free, 10 on Pro, unlimited on Expert.

What the screen already shows

Without any alert, Equidra shows the state of each robot: connected, waiting for connection, or "Robot disconnected since" followed by the date. Each account also shows how old its last snapshot is. The alert is still worth having, since the screen only warns you when you look at it.

What these alerts don't see

They watch the Equidra robot and the terminal that hosts it. Your trading EA runs on another chart: if you remove it, if it crashes or if it refuses to trade, the Equidra robot keeps showing signs of life and neither alert fires. For that case, an "Activity (positions opened/closed)" alert set below 1 opening over the last 24 hours flags an account where nothing opens anymore. It counts the positions of the whole account or of one symbol, and cannot be narrowed to one magic number. Weekends and robots that rarely trade would trigger it without any failure. The Robots tab of each account also shows the date of each EA's last trade.

Equidra doesn't restart anything. It reads your accounts and can neither restart MetaTrader nor act on the VPS. To install the robot on a remote server, see monitoring an EA on a VPS; for the overall picture, EA monitoring for MT5 and MT4.

Equidra does not provide investment advice. Plans and their limits are detailed on the Pricing page.