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 | 226 | ZeroMemory() is not allowed for objects with protected members or inheritance | YI GOLD suggestionsReduce recursion and large local arrays, review allocation/release, batch history processing and check memory-operation results. MetaQuotes |
| MT5 · Compilation errors | 227 | Ambiguous call of the overloaded function (exact match of parameters for several overloads) | YI GOLD suggestionsCompare each argument and reference mode with the official signature. Validate ranges and preserve relevant failure context. MetaQuotes |
| MT5 · Compilation errors | 228 | Variable name expected | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 229 | A reference cannot be declared in this place | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 230 | Already used as the enumeration name | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 232 | Class or structure expected | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 235 | Cannot call 'delete' operator to delete the array | YI GOLD suggestionsCheck length, bounds, dynamic-array declarations and ArraySetAsSeries. Validate returned element counts before access. MetaQuotes |
| MT5 · Compilation errors | 236 | Operator ' while' expected | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 237 | Operator 'delete' must have a pointer | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 238 | There is 'default' for this 'switch' already | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 239 | Syntax error | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 240 | Escape-sequence can occur only in strings (starts with '\') | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 241 | Array required - square bracket '[' does not apply to an array, or non arrays are passed as array parameters | YI GOLD suggestionsCheck length, bounds, dynamic-array declarations and ArraySetAsSeries. Validate returned element counts before access. MetaQuotes |
| MT5 · Compilation errors | 242 | Can not be initialized through the 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 | 243 | Import is not defined | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 244 | Optimizer error on the syntactic tree | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 245 | Declared too many structures (try to simplify the program) | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 246 | Conversion of the parameter is not allowed | YI GOLD suggestionsCompare each argument and reference mode with the official signature. Validate ranges and preserve relevant failure context. MetaQuotes |
| MT5 · Compilation errors | 247 | Incorrect use of the 'delete' operator | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 248 | It's not allowed to declare a pointer to a reference | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 249 | It's not allowed to declare a reference to a reference | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 250 | It's not allowed to declare a pointer to a pointer | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 251 | Structure declaration in the list of parameter is not allowed | YI GOLD suggestionsCompare each argument and reference mode with the official signature. Validate ranges and preserve relevant failure context. MetaQuotes |
| MT5 · Compilation errors | 252 | Invalid operation of typecasting | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 253 | A pointer can be declared only for 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 | 256 | Undeclared identifier | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 257 | Executable code optimizer error | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 258 | Executable code generation error | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 260 | Invalid expression for the 'switch' operator | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 261 | Pool of string constants overfilled, simplify program | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 262 | Cannot convert to enumeration | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 263 | Do not use 'virtual' for data (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 | 264 | Cannot call protected method of 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 | 265 | Overridden virtual functions return a different type | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 266 | Class cannot be inherited from a 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 | 267 | Structure cannot be inherited from 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 | 268 | Constructor cannot be virtual ( virtual specifier 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 | 269 | Method of structure cannot be virtual | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 270 | Function must have a body | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 271 | Overloading of system functions (terminal functions) is prohibited | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
Official meanings and YI GOLD suggestions are presented separately. References are verified during version builds; page visits do not fetch external sites.