# Glossary

> Plain-language definitions of the terms used in the ZB Connector docs: action, command, EA, license, lot, poll, queue, retcode, webhook and more.

Source: https://zb-connector.com/docs/reference/glossary/

**Action.** The name of the command in the `action` field, such as `long` or `closeAll`. Action names are case-sensitive. See the [commands overview](https://zb-connector.com/docs/commands/overview/).

**Alert (TradingView).** A rule in TradingView that fires when its condition is met. A ZB Connector alert also has a Webhook URL and a JSON message.

**Alert log.** TradingView’s list of fired alerts. Its **Webhook status** column shows the HTTP status of the request to ZB Connector.

**Algo Trading.** The MT5 toolbar switch (called AutoTrading in MetaQuotes’ help) that allows Expert Advisors to trade. When it is off, orders fail with [error 10027](https://zb-connector.com/docs/troubleshooting/errors/10027/).

**Command.** A JSON message that tells your EA what to do: open, close, change stops and so on.

**Command History.** The table on a license’s page in the dashboard. It lists each command with its status: **Pending**, **Delivered**, **Executed**, **Failed** or **Expired**. See [how delivery works](https://zb-connector.com/docs/reliability/how-delivery-works/).

**Delivered.** The EA collected the command. It does not mean a trade was opened.

**EA (Expert Advisor).** A program that runs inside MT5. ZB Connector’s EA is `ZB-WebConnector`. It collects commands from the API and executes them.

**Expiry.** A command that the EA does not collect within 5 minutes expires and never runs.

**Heartbeat / Online.** Each EA poll marks the license **Online** for 8 seconds.

**License (key).** The text that identifies your license and authenticates your commands. It is the only credential. See [protect your license key](https://zb-connector.com/docs/security/license-keys/).

**Lot.** The unit of trade size. `volume` in a command is in lots.

**Magic number.** A number the EA puts on the orders it opens, 123456 by default, so it can tell its own trades from others.

**MT5.** MetaTrader 5, the trading platform that runs the EA.

**Pip.** The EA counts a pip as 10 times the symbol’s point, for every symbol. Breakeven `offset` and `trailDistance` are in pips.

**Poll.** The EA’s request for new commands, once per second by default. ZB Connector never connects to your computer: the EA always asks.

**positionID.** Your label for a position, stored as the MT5 order comment. Later commands use it to find the position.

**Queue.** Where commands wait for your license until the EA collects them.

**Return code (retcode).** The number MT5 returns for a trade request. See [MT5 errors](https://zb-connector.com/docs/troubleshooting/errors/).

**Safeguard.** The EA’s profit and loss circuit breaker. It can stop new trades when a limit is reached, over a daily or weekly base, or none.

**Stop level mode.** An EA input that sets how `sl` and `tp` are read on `long` and `short`: as price levels (the default), pips or ticks.

**Symbol.** The instrument’s name as your broker writes it in MT5, for example `EURUSD`.

**Ticket.** The number MT5 gives a position.

**Trade scope.** An EA input. By default the EA only counts and manages the trades it opened itself.

**Webhook.** The web address that TradingView posts your alert message to. See [alert basics](https://zb-connector.com/docs/tradingview/alert-basics/).

**WebRequest allow-list.** The list in MT5 (**Tools → Options → Expert Advisors**) of web addresses that EAs may contact. The ZB Connector address must be on it.
