YI GOLD

MT4 / MT5 Error Codes & Trading Tools

Search official trade, runtime and compilation codes and warnings. Calculate risk using actual contract specifications.

Position & Risk

Size exposure using equity, stop distance and actual specifications.

Open calculator
Advanced contract parameters

Margin & Value

Estimate margin, tick value and price-move value.

Open calculator
Advanced contract parameters

Compound & Drawdown

A mathematical scenario, not a forecast of strategy returns.

Open calculator

Calculations run locally in your browser. Inputs are not uploaded or saved. Terminal and broker margin rules apply; estimates exclude slippage, commission and swap.

Official error code lookup

1171 matching records

Platform / categoryCode / constantOfficial meaningTroubleshooting
MT4 · Compilation errors143 Use of "void" type is unacceptable
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors144 No pair for ")" or "]", i.e. "(or" [ " is absent
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors145 No pair for "(or" [ ", i.e. ") "or"] " is absent
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors146 Incorrect array size
YI GOLD suggestions

Check length, bounds, dynamic-array declarations and ArraySetAsSeries. Validate returned element counts before access.

MetaQuotes
MT4 · Compilation errors147 Too many parameters (> 64)
YI GOLD suggestions

Compare each argument and reference mode with the official signature. Validate ranges and preserve relevant failure context.

MetaQuotes
MT4 · Compilation errors149 This token is not expected here
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors150 Invalid use of operation (invalid operands)
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors151 Expression of void type not allowed
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors152 Operator is expected
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors153 Misuse of break
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors154 Semicolon ";" expected
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors155 Comma "," expected
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors156 Must be a class type, not struct
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors157 Expression is expected
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors158 "non HEX character" found in HEX or too long number (number of digits> 511)
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors159 String-constant has more than 65534 characters
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors160 Function definition is unacceptable here
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors161 Unexpected end of program
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors162 Forward declaration is prohibited for structures
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors163 Function with this name is already defined and has another return type
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors164 Function with this name is already defined and has a different set of parameters
YI GOLD suggestions

Compare each argument and reference mode with the official signature. Validate ranges and preserve relevant failure context.

MetaQuotes
MT4 · Compilation errors165 Function with this name is already defined and implemented
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors166 Function overload for this call was not found
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors167 Function with a return value of void type cannot return a value
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors168 Function is not defined
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors170 Value is expected
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors171 In case expression only integer constants are valid
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors172 The value of case in this switch is already used
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors173 Integer is expected
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors174 In #import expression file name is expected
YI GOLD suggestions

Check permitted terminal sandbox paths, names, access flags, formats and handles. Record open failures without granting permissive directory access.

MetaQuotes
MT4 · Compilation errors175 Expressions are not allowed on global level
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors176 Omitted parenthesis ")" before ";"
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors177 To the left of equality sign a variable is expected
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors178 The result of expression is not used
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors179 Declaring of variables is not allowed in case
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors180 Implicit conversion from a string to a number
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors181 Implicit conversion of a number to a string
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors182 Ambiguous call of an overloaded function (several overloads fit)
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors183 Illegal else without proper if
YI GOLD suggestions

Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.

MetaQuotes
MT4 · Compilation errors184 Invalid case or default without a switch
YI GOLD suggestions

Locate 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.