sync_ea
Upload and compile Expert Advisor source code to MetaTrader 4 for automated trading strategy implementation.
Instructions
Upload EA file to MetaTrader 4 for compilation
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>",
"ea_content": "<ea_content>"
},
"name": "sync_ea"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ea_name | Yes | Name of the EA file (without .mq4 extension) | |
| ea_content | Yes | MQL4 source code content |