compile_ea
Compile Expert Advisors for MetaTrader 4 to verify code functionality and prepare automated trading strategies for deployment.
Instructions
Compile an EA on MetaTrader 4 and get compilation results
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ea_name": "<ea_name>"
},
"name": "compile_ea"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ea_name | Yes | Name of the EA to compile (without .mq4 extension) |