Position & Risk
Size exposure using equity, stop distance and actual specifications.
Search official trade, runtime and compilation codes and warnings. Calculate risk using actual contract specifications.
Size exposure using equity, stop distance and actual specifications.
Estimate margin, tick value and price-move value.
A mathematical scenario, not a forecast of strategy returns.
Calculations run locally in your browser. Inputs are not uploaded or saved. Terminal and broker margin rules apply; estimates exclude slippage, commission and swap.
1171 matching records
| Platform / category | Code / constant | Official meaning | Troubleshooting |
|---|---|---|---|
| MT5 · Runtime errors | 5201 ERR_WEBREQUEST_CONNECT_FAILED | Failed to connect to specified URL | YI GOLD suggestionsInspect connectivity, logs and request time. Verify actual order status before bounded retries with backoff to avoid duplicate exposure after a timeout. MetaQuotes |
| MT5 · Runtime errors | 5202 ERR_WEBREQUEST_TIMEOUT | Timeout exceeded | YI GOLD suggestionsInspect connectivity, logs and request time. Verify actual order status before bounded retries with backoff to avoid duplicate exposure after a timeout. MetaQuotes |
| MT5 · Runtime errors | 5203 ERR_WEBREQUEST_REQUEST_FAILED | HTTP request failed | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 5270 ERR_NETSOCKET_INVALIDHANDLE | Invalid socket handle passed to function | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 5271 ERR_NETSOCKET_TOO_MANY_OPENED | Too many open sockets (max 128) | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 5272 ERR_NETSOCKET_CANNOT_CONNECT | Failed to connect to remote host | YI GOLD suggestionsInspect connectivity, logs and request time. Verify actual order status before bounded retries with backoff to avoid duplicate exposure after a timeout. MetaQuotes |
| MT5 · Runtime errors | 5273 ERR_NETSOCKET_IO_ERROR | Failed to send/receive data from socket | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 5274 ERR_NETSOCKET_HANDSHAKE_FAILED | Failed to establish secure connection (TLS Handshake) | YI GOLD suggestionsInspect connectivity, logs and request time. Verify actual order status before bounded retries with backoff to avoid duplicate exposure after a timeout. MetaQuotes |
| MT5 · Runtime errors | 5275 ERR_NETSOCKET_NO_CERTIFICATE | No data on certificate protecting the connection | YI GOLD suggestionsInspect connectivity, logs and request time. Verify actual order status before bounded retries with backoff to avoid duplicate exposure after a timeout. MetaQuotes |
| MT5 · Runtime errors | 5300 ERR_NOT_CUSTOM_SYMBOL | A custom symbol must be specified | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 5301 ERR_CUSTOM_SYMBOL_WRONG_NAME | The name of the custom symbol is invalid. The symbol name can only contain Latin letters without punctuation, spaces or special characters (may only contain ".", "_", "&" and "#"). It is not recommended to use characters <, >, :, ", /,\, |, ?, *. | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 5302 ERR_CUSTOM_SYMBOL_NAME_LONG | The name of the custom symbol is too long. The length of the symbol name must not exceed 32 characters including the ending 0 character | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 5303 ERR_CUSTOM_SYMBOL_PATH_LONG | The path of the custom symbol is too long. The path length should not exceed 128 characters including "Custom\\", the symbol name, group separators and the ending 0 | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 5304 ERR_CUSTOM_SYMBOL_EXIST | A custom symbol with the same name already exists | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 5305 ERR_CUSTOM_SYMBOL_ERROR | Error occurred while creating, deleting or changing the custom symbol | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 5306 ERR_CUSTOM_SYMBOL_SELECTED | You are trying to delete a custom symbol selected in Market Watch | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 5307 ERR_CUSTOM_SYMBOL_PROPERTY_WRONG | An invalid custom symbol property | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 5308 ERR_CUSTOM_SYMBOL_PARAMETER_ERROR | A wrong parameter while setting the property of a custom symbol | YI GOLD suggestionsCompare each argument and reference mode with the official signature. Validate ranges and preserve relevant failure context. MetaQuotes |
| MT5 · Runtime errors | 5309 ERR_CUSTOM_SYMBOL_PARAMETER_LONG | A too long string parameter while setting the property of a custom symbol | YI GOLD suggestionsCompare each argument and reference mode with the official signature. Validate ranges and preserve relevant failure context. MetaQuotes |
| MT5 · Runtime errors | 5310 ERR_CUSTOM_TICKS_WRONG_ORDER | Ticks in the array are not arranged in the order of time | YI GOLD suggestionsCheck length, bounds, dynamic-array declarations and ArraySetAsSeries. Validate returned element counts before access. MetaQuotes |
| MT5 · Runtime errors | 5400 ERR_CALENDAR_MORE_DATA | Array size is insufficient for receiving descriptions of all values | YI GOLD suggestionsCheck length, bounds, dynamic-array declarations and ArraySetAsSeries. Validate returned element counts before access. MetaQuotes |
| MT5 · Runtime errors | 5401 ERR_CALENDAR_TIMEOUT | Request time limit exceeded | YI GOLD suggestionsInspect connectivity, logs and request time. Verify actual order status before bounded retries with backoff to avoid duplicate exposure after a timeout. MetaQuotes |
| MT5 · Runtime errors | 5402 ERR_CALENDAR_NO_DATA | Country is not found | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 5601 ERR_DATABASE_ERROR | Generic error | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 5602 ERR_DATABASE_LOGIC | SQLite internal logic error | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 5603 ERR_DATABASE_PERM | Access denied | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 5604 ERR_DATABASE_ABORT | Callback routine requested abort | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 5605 ERR_DATABASE_BUSY | Database file locked | YI GOLD suggestionsSerialize account requests, verify previous outcomes, reduce frequency and use bounded backoff. MetaQuotes |
| MT5 · Runtime errors | 5606 ERR_DATABASE_LOCKED | Database table locked | YI GOLD suggestionsSerialize account requests, verify previous outcomes, reduce frequency and use bounded backoff. MetaQuotes |
| MT5 · Runtime errors | 5607 ERR_DATABASE_NOMEM | Insufficient memory for completing operation | YI GOLD suggestionsReduce recursion and large local arrays, review allocation/release, batch history processing and check memory-operation results. MetaQuotes |
| MT5 · Runtime errors | 5608 ERR_DATABASE_READONLY | Attempt to write to readonly database | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 5609 ERR_DATABASE_INTERRUPT | Operation terminated by sqlite3_interrupt() | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 5610 ERR_DATABASE_IOERR | Disk I/O error | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 5611 ERR_DATABASE_CORRUPT | Database disk image corrupted | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 5612 ERR_DATABASE_NOTFOUND | Unknown operation code in sqlite3_file_control() | YI GOLD suggestionsCheck permitted terminal sandbox paths, names, access flags, formats and handles. Record open failures without granting permissive directory access. MetaQuotes |
| MT5 · Runtime errors | 5613 ERR_DATABASE_FULL | Insertion failed because database is full | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 5614 ERR_DATABASE_CANTOPEN | Unable to open the database file | YI GOLD suggestionsCheck permitted terminal sandbox paths, names, access flags, formats and handles. Record open failures without granting permissive directory access. MetaQuotes |
| MT5 · Runtime errors | 5615 ERR_DATABASE_PROTOCOL | Database lock protocol error | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 5616 ERR_DATABASE_EMPTY | Internal use only | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 5617 ERR_DATABASE_SCHEMA | Database schema changed | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
Official meanings and YI GOLD suggestions are presented separately. References are verified during version builds; page visits do not fetch external sites.