modify_pending_order
Update price, stop loss, or take profit on a pending order in MetaTrader 5 to adjust trade levels before execution.
Instructions
Change price, SL or TP of a pending order.
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": {
"ticket": "<ticket>"
},
"name": "modify_pending_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sl | No | ||
| tp | No | ||
| price | No | ||
| ticket | Yes |