Our agent has very strict requirements to ensure he doesn't do anything extra.
Built-in MCP tools strictly control access to internally permitted directories, and no external rules can change this. Even symbolic links within permitted directories are blocked to avoid any potential complaints.
The only correct way is to work inside the following directories:
catalog
rights
MQL5
read + write + execute
Common
read + write + execute
Tester
read
Logs
read
For temporary data, the agent uses the MQL5\Files\Temp directory.
Even in dangerous mode with shell commands, the agent (depending on the LLM model and provider) still tries to adhere to the restrictions on the system-declared directories.
Both subagents are complete. Here's a demonstration in action.
What was used
Two parallel ad-hoc delegates via delegate :
delegate(instructions="...", async=true, max_turns=12) → task 20261010_9
delegate(instructions="...", async=true, max_turns=12) → task 20261010_10
load(source="20261010_9") // дождаться 1-го
load(source="20261010_10") // дождаться 2-го
Key principles of delegation:
Read-only exploration is freely parallelized —both subagents only read, and there are no resource conflicts.
async: true → tasks run in the background, then load(taskId) collects the results.
max_turns limits the cost of the subagent (here 12).
The instructions are self-sufficient —the delegate only knows instructions + source , so pre-flight and explicit rules (“do not trade,” “do not include login/balance”) are embedded directly into the task.
Writes are file-based only : two delegates shouldn't touch the same file (conflict). Both delegates are read-only, so there was no risk.
Secrets are not output : the account subagent is explicitly prohibited from returning login/balance/equity.
Delegates are not coordinated : partition planning is done by the leading agent (me), and the results are synthesized here too.
Security note: One delegate noted a discrepancy—experts_trade_allowed = false on the terminal, while mcp_trade_allowed = true . Autotrading is currently disabled at the terminal level; this is an environmental issue; no trading activity was performed.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Forum on trading, automated trading systems, and trading strategy testing
New MetaTrader 5 Platform Build 6230: More AI Capabilities
Renat Fatkhullin , 2026.10.10 15:34
We migrated the cluster across all five regions, and it wasn't as smooth as it seems.
When we're all done, I'll write. In the meantime, there will be interruptions for a few hours.
More -
Forum on trading, automated trading systems, and trading strategy testing
New MetaTrader 5 Platform Build 6230: More AI Capabilities
Renat Fatkhullin , 2026.10.10 20:24
Our agent has very strict requirements to ensure he doesn't do anything extra.
Built-in MCP tools strictly control access to internally permitted directories, and no external rules can change this. Even symbolic links within permitted directories are blocked to avoid any potential complaints.
The only correct way is to work inside the following directories:
For temporary data, the agent uses the MQL5\Files\Temp directory.
Even in dangerous mode with shell commands, the agent (depending on the LLM model and provider) still tries to adhere to the restrictions on the system-declared directories.
Forum on trading, automated trading systems, and trading strategy testing
New MetaTrader 5 Platform Build 6230: More AI Capabilities
Renat Fatkhullin , 2026.10.10 21:05
Since build 6253, subagents have been working in the agent.Forum on trading, automated trading systems, and trading strategy testing
AI in MetaTrader 5: From Market Analysis to Trading Strategy Testing
Renat Fatkhullin , 2026.10.10 21:02
Since build 6253, the agent now uses subagents, improving efficiency and parallelism.
✓ subagent: delegate
✓ subagent: delegate
✓ subagent: metatrader5__get_trading_account_info
✓ subagent: metatrader5__list_directory
Both subagents are complete. Here's a demonstration in action.
What was used
Two parallel ad-hoc delegates via delegate :
Key principles of delegation:
Sub-agent results (synthesis)
Subagent 20261010_9 — terminal facts (read-only):
Subagent 20261010_10 — MQL5 inventory (read-only):
When is what mode?
The rules I followed
Security note: One delegate noted a discrepancy—experts_trade_allowed = false on the terminal, while mcp_trade_allowed = true . Autotrading is currently disabled at the terminal level; this is an environmental issue; no trading activity was performed.
Forum on trading, automated trading systems, and trading strategy testing
AI Assistant MT5
Renat Fatkhullin , 2026.10.08 08:14
We are upgrading our agent service cluster zone by zone, migrating to a new, rewritten, and more efficient system.Forum on trading, automated trading systems, and trading strategy testing
New MetaTrader 5 Platform Build 6230: More AI Capabilities
Renat Fatkhullin , 2026.10.11 15:48
Migration completed.