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
MT5 · Runtime errors4103 ERR_CHART_NOT_FOUNDChart not found
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
MT5 · Runtime errors4104 ERR_CHART_NO_EXPERTNo Expert Advisor in the chart that could handle the event
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
MT5 · Runtime errors4105 ERR_CHART_CANNOT_OPENChart opening error
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
MT5 · Runtime errors4106 ERR_CHART_CANNOT_CHANGEFailed to change chart symbol and period
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
MT5 · Runtime errors4107 ERR_CHART_WRONG_PARAMETERError value of the parameter for the function of working with charts
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
MT5 · Runtime errors4108 ERR_CHART_CANNOT_CREATE_TIMERFailed to create timer
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
MT5 · Runtime errors4109 ERR_CHART_WRONG_PROPERTYWrong chart property ID
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
MT5 · Runtime errors4110 ERR_CHART_SCREENSHOT_FAILEDError creating screenshots
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
MT5 · Runtime errors4111 ERR_CHART_NAVIGATE_FAILEDError navigating through chart
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
MT5 · Runtime errors4112 ERR_CHART_TEMPLATE_FAILEDError applying template
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
MT5 · Runtime errors4113 ERR_CHART_WINDOW_NOT_FOUNDSubwindow containing the indicator was not found
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
MT5 · Runtime errors4114 ERR_CHART_INDICATOR_CANNOT_ADDError adding an indicator to chart
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
MT5 · Runtime errors4115 ERR_CHART_INDICATOR_CANNOT_DELError deleting an indicator from the chart
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
MT5 · Runtime errors4116 ERR_CHART_INDICATOR_NOT_FOUNDIndicator not found on the specified chart
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
MT5 · Runtime errors4201 ERR_OBJECT_ERRORError working with a graphical object
YI GOLD suggestions

Verify chart ID, object existence and property types. Check creation/update results and avoid name collisions.

MetaQuotes
MT5 · Runtime errors4202 ERR_OBJECT_NOT_FOUNDGraphical object was not found
YI GOLD suggestions

Verify chart ID, object existence and property types. Check creation/update results and avoid name collisions.

MetaQuotes
MT5 · Runtime errors4203 ERR_OBJECT_WRONG_PROPERTYWrong ID of a graphical object property
YI GOLD suggestions

Verify chart ID, object existence and property types. Check creation/update results and avoid name collisions.

MetaQuotes
MT5 · Runtime errors4204 ERR_OBJECT_GETDATE_FAILEDUnable to get date corresponding to the value
YI GOLD suggestions

Verify chart ID, object existence and property types. Check creation/update results and avoid name collisions.

MetaQuotes
MT5 · Runtime errors4205 ERR_OBJECT_GETVALUE_FAILEDUnable to get value corresponding to the date
YI GOLD suggestions

Verify chart ID, object existence and property types. Check creation/update results and avoid name collisions.

MetaQuotes
MT5 · Runtime errors4301 ERR_MARKET_UNKNOWN_SYMBOLUnknown symbol
YI GOLD suggestions

Inspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description.

MetaQuotes
MT5 · Runtime errors4302 ERR_MARKET_NOT_SELECTEDSymbol is not selected in MarketWatch
YI GOLD suggestions

Inspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description.

MetaQuotes
MT5 · Runtime errors4303 ERR_MARKET_WRONG_PROPERTYWrong identifier of a symbol property
YI GOLD suggestions

Inspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description.

MetaQuotes
MT5 · Runtime errors4304 ERR_MARKET_LASTTIME_UNKNOWNTime of the last tick is not known (no ticks)
YI GOLD suggestions

Inspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description.

MetaQuotes
MT5 · Runtime errors4305 ERR_MARKET_SELECT_ERRORError adding or deleting a symbol in MarketWatch
YI GOLD suggestions

Inspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description.

MetaQuotes
MT5 · Runtime errors4306 ERR_MARKET_SELECT_LIMITExceeded the limit of selected symbols in MarketWatch
YI GOLD suggestions

Inspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description.

MetaQuotes
MT5 · Runtime errors4307 ERR_MARKET_SESSION_INDEXWrong session ID when calling the SymbolInfoSessionQuote/SymbolInfoSessionTrade function
YI GOLD suggestions

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

MetaQuotes
MT5 · Runtime errors4401 ERR_HISTORY_NOT_FOUNDRequested history not found
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
MT5 · Runtime errors4402 ERR_HISTORY_WRONG_PROPERTYWrong ID of the history property
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
MT5 · Runtime errors4403 ERR_HISTORY_TIMEOUTExceeded history request timeout
YI GOLD suggestions

Inspect connectivity, logs and request time. Verify actual order status before bounded retries with backoff to avoid duplicate exposure after a timeout.

MetaQuotes
MT5 · Runtime errors4404 ERR_HISTORY_BARS_LIMITNumber of requested bars limited by terminal settings
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
MT5 · Runtime errors4405 ERR_HISTORY_LOAD_ERRORSMultiple errors when loading history
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
MT5 · Runtime errors4407 ERR_HISTORY_SMALL_BUFFERReceiving array is too small to store all requested data
YI GOLD suggestions

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

MetaQuotes
MT5 · Runtime errors4501 ERR_GLOBALVARIABLE_NOT_FOUNDGlobal variable of the client terminal is not found
YI GOLD suggestions

Inspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description.

MetaQuotes
MT5 · Runtime errors4502 ERR_GLOBALVARIABLE_EXISTSGlobal variable of the client terminal with the same name already exists
YI GOLD suggestions

Inspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description.

MetaQuotes
MT5 · Runtime errors4503 ERR_GLOBALVARIABLE_NOT_MODIFIEDGlobal variables were not modified
YI GOLD suggestions

Inspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description.

MetaQuotes
MT5 · Runtime errors4504 ERR_GLOBALVARIABLE_CANNOTREADCannot read file with global variable values
YI GOLD suggestions

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

MetaQuotes
MT5 · Runtime errors4505 ERR_GLOBALVARIABLE_CANNOTWRITECannot write file with global variable values
YI GOLD suggestions

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

MetaQuotes
MT5 · Runtime errors4510 ERR_MAIL_SEND_FAILEDEmail sending failed
YI GOLD suggestions

Inspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description.

MetaQuotes
MT5 · Runtime errors4511 ERR_PLAY_SOUND_FAILEDSound playing failed
YI GOLD suggestions

Inspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description.

MetaQuotes
MT5 · Runtime errors4512 ERR_MQL5_WRONG_PROPERTYWrong identifier of the program property
YI GOLD suggestions

Inspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description.

MetaQuotes

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