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 · Compiler warnings85 Too great character code in the string, must be in the range 0 to 65535
YI GOLD suggestions

Review the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds.

MetaQuotes
MT4 · Compiler warnings86 Unrecognized character in the string
YI GOLD suggestions

Review the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds.

MetaQuotes
MT4 · Compiler warnings87 No indicator window property (setting the display in the main window or a subwindow) is defined. Property #property indicator_chart_window is applied
YI GOLD suggestions

Verify symbol, timeframe, indicator handle, BarsCalculated and copied element counts. Wait for data availability rather than filling missing prices with zeros.

MetaQuotes
MT4 · Compiler warnings88 Property ignored, it must be declared on the global scope. The warning is not generated for the following properties: copyright, link, version and strict.
YI GOLD suggestions

Review the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds.

MetaQuotes
MT5 · Compilation errors100 File reading error
YI GOLD suggestions

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

MetaQuotes
MT5 · Compilation errors101 Error of opening an *. EX5 for writing
YI GOLD suggestions

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

MetaQuotes
MT5 · Compilation errors103 Not enough free memory to complete compilation
YI GOLD suggestions

Reduce recursion and large local arrays, review allocation/release, batch history processing and check memory-operation results.

MetaQuotes
MT5 · Compilation errors104 Empty syntactic unit unrecognized by compiler
YI GOLD suggestions

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

MetaQuotes
MT5 · Compilation errors105 Incorrect file name in #include
YI GOLD suggestions

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

MetaQuotes
MT5 · Compilation errors106 Error accessing a file in #include (probably the file does not exist)
YI GOLD suggestions

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

MetaQuotes
MT5 · Compilation errors108 Inappropriate name for #define
YI GOLD suggestions

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

MetaQuotes
MT5 · Compilation errors109 Unknown command of preprocessor (valid #include, #define, #property, #import)
YI GOLD suggestions

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

MetaQuotes
MT5 · Compilation errors110 Symbol unknown to compiler
YI GOLD suggestions

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

MetaQuotes
MT5 · Compilation errors111 Function not implemented (description is present, but no body)
YI GOLD suggestions

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

MetaQuotes
MT5 · Compilation errors112 Double quote (") omitted
YI GOLD suggestions

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

MetaQuotes
MT5 · Compilation errors113 Opening angle bracket (<) or double quote (") omitted
YI GOLD suggestions

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

MetaQuotes
MT5 · Compilation errors114 Single quote (') omitted
YI GOLD suggestions

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

MetaQuotes
MT5 · Compilation errors115 Closing angle bracket ">" omitted
YI GOLD suggestions

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

MetaQuotes
MT5 · Compilation errors116 Type not specified in declaration
YI GOLD suggestions

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

MetaQuotes
MT5 · Compilation errors117 No return operator or return is found not in all branches of the implementation
YI GOLD suggestions

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

MetaQuotes
MT5 · Compilation errors118 Opening bracket of call parameters was expected
YI GOLD suggestions

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

MetaQuotes
MT5 · Compilation errors119 Error writing EX5
YI GOLD suggestions

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

MetaQuotes
MT5 · Compilation errors120 Invalid access to an array
YI GOLD suggestions

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

MetaQuotes
MT5 · Compilation errors121 The function is not of void type and the return operator must 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
MT5 · Compilation errors122 Incorrect declaration of the destructor
YI GOLD suggestions

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

MetaQuotes
MT5 · Compilation errors123 Colon ":" is missing
YI GOLD suggestions

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

MetaQuotes
MT5 · Compilation errors124 Variable is already declared
YI GOLD suggestions

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

MetaQuotes
MT5 · Compilation errors125 Variable with such identifier already declared
YI GOLD suggestions

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

MetaQuotes
MT5 · Compilation errors126 Variable name is too long (> 250 characters)
YI GOLD suggestions

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

MetaQuotes
MT5 · Compilation errors127 Structure with such identifier already defined
YI GOLD suggestions

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

MetaQuotes
MT5 · Compilation errors128 Structure 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
MT5 · Compilation errors129 Structure member with the same name already defined
YI GOLD suggestions

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

MetaQuotes
MT5 · Compilation errors130 No such structure member
YI GOLD suggestions

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

MetaQuotes
MT5 · Compilation errors131 Breached pairing of brackets
YI GOLD suggestions

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

MetaQuotes
MT5 · Compilation errors132 Opening parenthesis "(" expected
YI GOLD suggestions

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

MetaQuotes
MT5 · Compilation errors133 Unbalanced braces (no "}")
YI GOLD suggestions

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

MetaQuotes
MT5 · Compilation errors134 Difficult to compile (too much branching, internal stack levels are overfilled)
YI GOLD suggestions

Reduce recursion and large local arrays, review allocation/release, batch history processing and check memory-operation results.

MetaQuotes
MT5 · Compilation errors135 Error of file opening for reading
YI GOLD suggestions

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

MetaQuotes
MT5 · Compilation errors136 Not enough memory to download the source file into memory
YI GOLD suggestions

Reduce recursion and large local arrays, review allocation/release, batch history processing and check memory-operation results.

MetaQuotes
MT5 · Compilation errors137 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

Official meanings and YI GOLD suggestions are presented separately. References are verified during version builds; page visits do not fetch external sites.