mt4_autotrading
Checks if automated trading is active on MT4 terminals by reporting the terminal master switch status and per-expert live trading flags, identifying disabled or inconsistent settings.
Instructions
Report whether algo-trading is enabled — terminal master switch + per-EA.
Shows the terminal-level AutoTrading button (from terminal.ini) and how many attached experts have live-trading enabled. Flags terminals whose master is off (nothing trades) or whose experts have non-uniform/disabled flags.
Note: the per-EA live-trading flag is a best-effort decode of the MT4 chart-expert bitmask; the terminal master switch is authoritative.
Args: terminal: a terminal id, or "all" (default).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| terminal | No | all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |