check_order
Validate a hypothetical trade order using MetaTrader 5's server validation to ensure it meets requirements before actual submission.
Instructions
Run MT5's server-side order_check validation for a hypothetical order. Requires approval; demo only; never sent.
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": {
"order_type": "<order_type>",
"symbol": "<symbol>",
"volume": "<volume>",
"price": "<price>"
},
"name": "check_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sl | No | ||
| tp | No | ||
| magic | No | ||
| price | Yes | ||
| symbol | Yes | ||
| volume | Yes | ||
| comment | No | mt5-mcp check (not sent) | |
| deviation | No | ||
| order_type | Yes |