pending_order
Places buy/sell limit or stop pending orders on a live MetaTrader 5 account, scheduling entries at specified prices with optional stop loss and take profit.
Instructions
Place a pending order. kind: 'buy limit', 'sell limit', 'buy stop' or 'sell stop'. REAL order on a live account.
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": {
"account_id": "<account_id>",
"symbol": "<symbol>",
"kind": "<kind>",
"volume": "<volume>",
"price": "<price>"
},
"name": "pending_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sl | No | ||
| tp | No | ||
| kind | Yes | ||
| price | Yes | ||
| symbol | Yes | ||
| volume | Yes | ||
| account_id | Yes |