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 |
|---|---|---|---|
| MT4 · Compilation errors | 362 | Ambiguous parameter in function template (several parameter types can be applied) | YI GOLD suggestionsCompare each argument and reference mode with the official signature. Validate ranges and preserve relevant failure context. MetaQuotes |
| MT4 · Compilation errors | 363 | Unable to determine the parameter type, by which the function template argument should be normalized | YI GOLD suggestionsCompare each argument and reference mode with the official signature. Validate ranges and preserve relevant failure context. MetaQuotes |
| MT4 · Compilation errors | 364 | Incorrect number of parameters in the function template | YI GOLD suggestionsCompare each argument and reference mode with the official signature. Validate ranges and preserve relevant failure context. MetaQuotes |
| MT4 · Compilation errors | 365 | Function template cannot be virtual | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT4 · Compilation errors | 366 | Function templates cannot be exported | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT4 · Compilation errors | 367 | Function templates cannot be imported | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT4 · Compilation errors | 368 | Structures containing the objects are not allowed | YI GOLD suggestionsVerify chart ID, object existence and property types. Check creation/update results and avoid name collisions. MetaQuotes |
| MT4 · Compilation errors | 369 | String arrays and structures containing the objects are not allowed | YI GOLD suggestionsCheck length, bounds, dynamic-array declarations and ArraySetAsSeries. Validate returned element counts before access. MetaQuotes |
| MT4 · Compilation errors | 370 | A static class/structure member must be explicitly initialized | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT4 · Compilation errors | 371 | Compiler limitation: the string cannot contain more than 65 535 characters | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT4 · Compilation errors | 372 | Inconsistent #ifdef/#endif | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT4 · Compilation errors | 373 | Object of class cannot be returned, copy constructor not found | YI GOLD suggestionsVerify chart ID, object existence and property types. Check creation/update results and avoid name collisions. MetaQuotes |
| MT4 · Compilation errors | 374 | Non-static members and methods cannot be used | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT4 · Compilation errors | 375 | OnTesterInit() impossible to use without OnTesterDeinit() | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT4 · Compilation errors | 376 | Redefinition of formal parameter '%s' | YI GOLD suggestionsCompare each argument and reference mode with the official signature. Validate ranges and preserve relevant failure context. MetaQuotes |
| MT4 · Compilation errors | 377 | Macro __FUNCSIG__ and __FUNCTION__ cannot appear outside of a function body | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT4 · Compilation errors | 378 | Invalid returned type. For example, this error will be produced for functions imported from DLL that return structure or pointer. | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT4 · Compilation errors | 379 | Template usage error | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT4 · Compilation errors | 380 | Not used | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT4 · Compilation errors | 381 | Illegal syntax when declaring pure virtual function, only "=NULL" or "=0" are allowed | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT4 · Compilation errors | 382 | Only virtual functions can be declared with the pure-specifier ("=NULL" or "=0") | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT4 · Compilation errors | 383 | Abstract class cannot be instantiated | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT4 · Compilation errors | 384 | A pointer to a user-defined type should be applied as a target type for dynamic casting using the dynamic_cast operator | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT4 · Compilation errors | 385 | "Pointer to function" type is expected | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT4 · Compilation errors | 386 | Pointers to methods are not supported | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT4 · Compilation errors | 387 | Error — cannot define the type of a pointer to function | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT4 · Compilation errors | 388 | Type cast is not available due to private inheritance | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT4 · Compilation errors | 389 | A variable with const modifier should be initialized during declaration | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT4 · Runtime errors | 0 ERR_NO_ERROR | No error returned | YI GOLD suggestionsDo not treat this as a failure. Still check the function return value and operation state. MetaQuotes |
| MT4 · Runtime errors | 1 ERR_NO_RESULT | No error returned, but the result is unknown | 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 |
| MT4 · Runtime errors | 2 ERR_COMMON_ERROR | Common 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 |
| MT4 · Runtime errors | 3 ERR_INVALID_TRADE_PARAMETERS | Invalid trade parameters | YI GOLD suggestionsCompare each argument and reference mode with the official signature. Validate ranges and preserve relevant failure context. MetaQuotes |
| MT4 · Runtime errors | 4 ERR_SERVER_BUSY | Trade server is busy | YI GOLD suggestionsSerialize account requests, verify previous outcomes, reduce frequency and use bounded backoff. MetaQuotes |
| MT4 · Runtime errors | 5 ERR_OLD_VERSION | Old version of the client terminal | 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 |
| MT4 · Runtime errors | 6 ERR_NO_CONNECTION | No connection with trade server | 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 |
| MT4 · Runtime errors | 7 ERR_NOT_ENOUGH_RIGHTS | Not enough rights | 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 |
| MT4 · Runtime errors | 8 ERR_TOO_FREQUENT_REQUESTS | Too frequent requests | YI GOLD suggestionsSerialize account requests, verify previous outcomes, reduce frequency and use bounded backoff. MetaQuotes |
| MT4 · Runtime errors | 9 ERR_MALFUNCTIONAL_TRADE | Malfunctional trade operation | 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 |
| MT4 · Runtime errors | 64 ERR_ACCOUNT_DISABLED | Account disabled | 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 |
| MT4 · Runtime errors | 65 ERR_INVALID_ACCOUNT | Invalid account | 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.