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 · Compilation errors | 272 | Const specifier is invalid for functions that are not members of a class or structure | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 274 | Not allowed to change class members in constant method | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 276 | Inappropriate initialization sequence | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 277 | Missed default value for the parameter (specific declaration of default parameters) | YI GOLD suggestionsCompare each argument and reference mode with the official signature. Validate ranges and preserve relevant failure context. MetaQuotes |
| MT5 · Compilation errors | 278 | Overriding the default parameter (different values in declaration and implementation) | YI GOLD suggestionsCompare each argument and reference mode with the official signature. Validate ranges and preserve relevant failure context. MetaQuotes |
| MT5 · Compilation errors | 279 | Not allowed to call non-constant method for a constant object | YI GOLD suggestionsVerify chart ID, object existence and property types. Check creation/update results and avoid name collisions. MetaQuotes |
| MT5 · Compilation errors | 280 | An object is necessary for accessing members (a dot for a non class/structure is specified) | YI GOLD suggestionsVerify chart ID, object existence and property types. Check creation/update results and avoid name collisions. MetaQuotes |
| MT5 · Compilation errors | 281 | The name of an already declared structure cannot be used in declaration | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 284 | Unauthorized conversion (at closed inheritance) | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 285 | Structures and arrays cannot be used as input variables | YI GOLD suggestionsCheck length, bounds, dynamic-array declarations and ArraySetAsSeries. Validate returned element counts before access. MetaQuotes |
| MT5 · Compilation errors | 286 | Const specifier is not valid for constructor/destructor | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 287 | Incorrect string expression for a datetime | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 288 | Unknown property (#property) | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 289 | Incorrect value of a property | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 290 | Invalid index for a property in #property | YI GOLD suggestionsCheck length, bounds, dynamic-array declarations and ArraySetAsSeries. Validate returned element counts before access. MetaQuotes |
| MT5 · Compilation errors | 291 | Call parameter omitted - <func (x,)> | YI GOLD suggestionsCompare each argument and reference mode with the official signature. Validate ranges and preserve relevant failure context. MetaQuotes |
| MT5 · Compilation errors | 293 | Object must be passed by reference | YI GOLD suggestionsVerify chart ID, object existence and property types. Check creation/update results and avoid name collisions. MetaQuotes |
| MT5 · Compilation errors | 294 | Array must be passed by reference | YI GOLD suggestionsCheck length, bounds, dynamic-array declarations and ArraySetAsSeries. Validate returned element counts before access. MetaQuotes |
| MT5 · Compilation errors | 295 | Function was declared as exportable | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 296 | Function was not declared as exportable | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 297 | It is prohibited to export imported function | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 298 | Imported function cannot have this parameter (prohibited to pass a pointer, class or structure containing a dynamic array, pointer, class, etc.) | YI GOLD suggestionsCheck length, bounds, dynamic-array declarations and ArraySetAsSeries. Validate returned element counts before access. MetaQuotes |
| MT5 · Compilation errors | 299 | Must be a class | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 300 | #import was not closed | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 302 | Type mismatch | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 303 | Extern variable is already initialized | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 304 | No exported function or entry point found | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 305 | Explicit constructor call is not allowed | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 306 | Method was declared as constant | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 307 | Method was not declared as constant | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 308 | Incorrect size of the resource file | YI GOLD suggestionsCheck permitted terminal sandbox paths, names, access flags, formats and handles. Record open failures without granting permissive directory access. MetaQuotes |
| MT5 · Compilation errors | 309 | Incorrect resource name | YI GOLD suggestionsCheck permitted terminal sandbox paths, names, access flags, formats and handles. Record open failures without granting permissive directory access. MetaQuotes |
| MT5 · Compilation errors | 310 | Resource file opening error | YI GOLD suggestionsCheck permitted terminal sandbox paths, names, access flags, formats and handles. Record open failures without granting permissive directory access. MetaQuotes |
| MT5 · Compilation errors | 311 | Resource file reading error | YI GOLD suggestionsCheck permitted terminal sandbox paths, names, access flags, formats and handles. Record open failures without granting permissive directory access. MetaQuotes |
| MT5 · Compilation errors | 312 | Unknown resource type | YI GOLD suggestionsCheck permitted terminal sandbox paths, names, access flags, formats and handles. Record open failures without granting permissive directory access. MetaQuotes |
| MT5 · Compilation errors | 313 | Incorrect path to the resource file | YI GOLD suggestionsCheck permitted terminal sandbox paths, names, access flags, formats and handles. Record open failures without granting permissive directory access. MetaQuotes |
| MT5 · Compilation errors | 314 | The specified resource name is already used | YI GOLD suggestionsCheck permitted terminal sandbox paths, names, access flags, formats and handles. Record open failures without granting permissive directory access. MetaQuotes |
| MT5 · Compilation errors | 315 | Argument expected for the function-like macro | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 316 | Unexpected symbol in macro definition | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 317 | Error in formal parameters of the macro | YI GOLD suggestionsCompare each argument and reference mode with the official signature. Validate ranges and preserve relevant failure context. MetaQuotes |
Official meanings and YI GOLD suggestions are presented separately. References are verified during version builds; page visits do not fetch external sites.