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 | 138 | Reference cannot be 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 | 140 | Assignment expected (appears at 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 | 141 | Opening brace "{" 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 | 142 | Parameter can be a dynamic array only | YI GOLD suggestionsCheck length, bounds, dynamic-array declarations and ArraySetAsSeries. Validate returned element counts before access. MetaQuotes |
| MT5 · Compilation errors | 143 | Use of "void" type is unacceptable | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 144 | No pair for ")" or "]", i.e. "(or" [ " is absent | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 145 | No pair for "(or" [ ", i.e. ") "or"] " is absent | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 146 | Incorrect array size | YI GOLD suggestionsCheck length, bounds, dynamic-array declarations and ArraySetAsSeries. Validate returned element counts before access. MetaQuotes |
| MT5 · Compilation errors | 147 | Too many parameters (> 64) | YI GOLD suggestionsCompare each argument and reference mode with the official signature. Validate ranges and preserve relevant failure context. MetaQuotes |
| MT5 · Compilation errors | 149 | This token is not expected here | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 150 | Invalid use of operation (invalid operands) | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 151 | Expression of void type 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 | 152 | Operator is 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 | 153 | Misuse of break | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 154 | Semicolon ";" 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 | 155 | Comma "," 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 | 156 | Must be a class type, not struct | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 157 | Expression is 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 | 158 | "non HEX character" found in HEX or too long number (number of digits> 511) | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 159 | String-constant has more than 65534 characters | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 160 | Function definition is unacceptable here | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 161 | Unexpected end of 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 | 162 | Forward declaration is prohibited for structures | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 163 | Function with this name is already defined and has another return 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 | 164 | Function with this name is already defined and has a different set of parameters | YI GOLD suggestionsCompare each argument and reference mode with the official signature. Validate ranges and preserve relevant failure context. MetaQuotes |
| MT5 · Compilation errors | 165 | Function with this name is already defined and implemented | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 166 | Function overload for this call was not 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 | 167 | Function with a return value of void type cannot return a value | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 168 | Function 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 | 170 | Value is 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 | 171 | In case expression only integer constants are valid | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 172 | The value of case in this switch is already used | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 173 | Integer is 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 | 174 | In #import expression file name is expected | 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 | 175 | Expressions are not allowed on global level | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 176 | Omitted parenthesis ")" before ";" | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 177 | To the left of equality sign a variable is 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 | 178 | The result of expression is not used | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 179 | Declaring of variables is not allowed in case | YI GOLD suggestionsLocate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile. MetaQuotes |
| MT5 · Compilation errors | 180 | Implicit conversion from a string to a number | 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.