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 warnings45 Difference between the signs of operands in the operations of comparison. Example: (char) c1> (uchar) c2
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 warnings46 Problems with function importing - declaration of #import is required or import of functions is closed
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 warnings47 Too large description - extra characters will not be included in the executable file
YI GOLD suggestions

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

MetaQuotes
MT4 · Compiler warnings48 The number of indicator buffers declared is less than required
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 warnings49 No color to plot a graphical series in the indicator
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 warnings50 No graphical series to draw the indicator
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 warnings51 'OnStart' handler function not found in the script
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 warnings52 'OnStart' handler function is defined with wrong parameters
YI GOLD suggestions

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

MetaQuotes
MT4 · Compiler warnings53 'OnStart' function can be defined only in a script
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 warnings54 'OnInit' function is defined with wrong parameters
YI GOLD suggestions

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

MetaQuotes
MT4 · Compiler warnings55 'OnInit' function is not used in scripts
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 warnings56 'OnDeinit' function is defined with wrong parameters
YI GOLD suggestions

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

MetaQuotes
MT4 · Compiler warnings57 'OnDeinit' function is not used in scripts
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 warnings58 Two 'OnCalculate' functions are defined. OnCalculate () at one price array will be used
YI GOLD suggestions

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

MetaQuotes
MT4 · Compiler warnings59 Overfilling detected when calculating a complex integer constant
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 warnings60 Probably, the variable is not initialized .
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 warnings61 This declaration makes it impossible to refer to the local variable declared on the specified line
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 warnings62 This declaration makes it impossible to refer to the global variable declared on the specified line
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 warnings63 Cannot be used for static allocated array
YI GOLD suggestions

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

MetaQuotes
MT4 · Compiler warnings64 This variable declaration hides predefined variable
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 warnings65 The value of the expression is always true / false
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 warnings66 Using a variable or bool type expression in mathematical operations is unsafe
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 warnings67 The result of applying the unary minus operator to an unsigned ulong type is undefined
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 warnings68 The version specified in the #property version property is unacceptable for the Market section; the correct format of #property version id "XXX.YYY"
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 warnings69 Empty controlled statement found
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 warnings70 Invalid function return type or incorrect parameters during declaration of the event handler function
YI GOLD suggestions

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

MetaQuotes
MT4 · Compiler warnings71 An implicit cast of structures to one type is required
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 warnings72 This declaration makes direct access to the member of a class declared in the specified string impossible. Access will be possible only with the scope resolution operation ::
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 warnings73 Binary constant is too big, high-order digits will be truncated
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 warnings74 Parameter in the method of the inherited class has a different const modifier, the derived function has overloaded the parent function
YI GOLD suggestions

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

MetaQuotes
MT4 · Compiler warnings75 Negative or too large shift value in shift bitwise operation , execution result is undefined
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 warnings76 Function must return a value
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 warnings77 void function returns a value
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 warnings78 Not all control paths return a value
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 warnings79 Expressions are not allowed on a global scope
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 warnings80 Check operator precedence for possible error; use parentheses to clarify precedence
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 warnings81 Two OnCalCulate() are defined. OHLC version will be used
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 warnings82 Struct has no members, size assigned to 1 byte
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 warnings83 Return value of the function should be checked
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 warnings84 Resource indicator is compiled for debugging. That slows down the performance. Please recompile the indicator to increase performance
YI GOLD suggestions

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

MetaQuotes

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