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 · Runtime errors | 4103 ERR_CHART_NOT_FOUND | Chart not found | YI GOLD suggestionsVerify symbol, timeframe, indicator handle, BarsCalculated and copied element counts. Wait for data availability rather than filling missing prices with zeros. MetaQuotes |
| MT5 · Runtime errors | 4104 ERR_CHART_NO_EXPERT | No Expert Advisor in the chart that could handle the event | YI GOLD suggestionsVerify symbol, timeframe, indicator handle, BarsCalculated and copied element counts. Wait for data availability rather than filling missing prices with zeros. MetaQuotes |
| MT5 · Runtime errors | 4105 ERR_CHART_CANNOT_OPEN | Chart opening error | YI GOLD suggestionsVerify symbol, timeframe, indicator handle, BarsCalculated and copied element counts. Wait for data availability rather than filling missing prices with zeros. MetaQuotes |
| MT5 · Runtime errors | 4106 ERR_CHART_CANNOT_CHANGE | Failed to change chart symbol and period | YI GOLD suggestionsVerify symbol, timeframe, indicator handle, BarsCalculated and copied element counts. Wait for data availability rather than filling missing prices with zeros. MetaQuotes |
| MT5 · Runtime errors | 4107 ERR_CHART_WRONG_PARAMETER | Error value of the parameter for the function of working with charts | YI GOLD suggestionsVerify symbol, timeframe, indicator handle, BarsCalculated and copied element counts. Wait for data availability rather than filling missing prices with zeros. MetaQuotes |
| MT5 · Runtime errors | 4108 ERR_CHART_CANNOT_CREATE_TIMER | Failed to create timer | YI GOLD suggestionsVerify symbol, timeframe, indicator handle, BarsCalculated and copied element counts. Wait for data availability rather than filling missing prices with zeros. MetaQuotes |
| MT5 · Runtime errors | 4109 ERR_CHART_WRONG_PROPERTY | Wrong chart property ID | YI GOLD suggestionsVerify symbol, timeframe, indicator handle, BarsCalculated and copied element counts. Wait for data availability rather than filling missing prices with zeros. MetaQuotes |
| MT5 · Runtime errors | 4110 ERR_CHART_SCREENSHOT_FAILED | Error creating screenshots | YI GOLD suggestionsVerify symbol, timeframe, indicator handle, BarsCalculated and copied element counts. Wait for data availability rather than filling missing prices with zeros. MetaQuotes |
| MT5 · Runtime errors | 4111 ERR_CHART_NAVIGATE_FAILED | Error navigating through chart | YI GOLD suggestionsVerify symbol, timeframe, indicator handle, BarsCalculated and copied element counts. Wait for data availability rather than filling missing prices with zeros. MetaQuotes |
| MT5 · Runtime errors | 4112 ERR_CHART_TEMPLATE_FAILED | Error applying template | YI GOLD suggestionsVerify symbol, timeframe, indicator handle, BarsCalculated and copied element counts. Wait for data availability rather than filling missing prices with zeros. MetaQuotes |
| MT5 · Runtime errors | 4113 ERR_CHART_WINDOW_NOT_FOUND | Subwindow containing the indicator was not found | YI GOLD suggestionsVerify symbol, timeframe, indicator handle, BarsCalculated and copied element counts. Wait for data availability rather than filling missing prices with zeros. MetaQuotes |
| MT5 · Runtime errors | 4114 ERR_CHART_INDICATOR_CANNOT_ADD | Error adding an indicator to chart | YI GOLD suggestionsVerify symbol, timeframe, indicator handle, BarsCalculated and copied element counts. Wait for data availability rather than filling missing prices with zeros. MetaQuotes |
| MT5 · Runtime errors | 4115 ERR_CHART_INDICATOR_CANNOT_DEL | Error deleting an indicator from the chart | YI GOLD suggestionsVerify symbol, timeframe, indicator handle, BarsCalculated and copied element counts. Wait for data availability rather than filling missing prices with zeros. MetaQuotes |
| MT5 · Runtime errors | 4116 ERR_CHART_INDICATOR_NOT_FOUND | Indicator not found on the specified chart | YI GOLD suggestionsVerify symbol, timeframe, indicator handle, BarsCalculated and copied element counts. Wait for data availability rather than filling missing prices with zeros. MetaQuotes |
| MT5 · Runtime errors | 4201 ERR_OBJECT_ERROR | Error working with a graphical object | YI GOLD suggestionsVerify chart ID, object existence and property types. Check creation/update results and avoid name collisions. MetaQuotes |
| MT5 · Runtime errors | 4202 ERR_OBJECT_NOT_FOUND | Graphical object was not found | YI GOLD suggestionsVerify chart ID, object existence and property types. Check creation/update results and avoid name collisions. MetaQuotes |
| MT5 · Runtime errors | 4203 ERR_OBJECT_WRONG_PROPERTY | Wrong ID of a graphical object property | YI GOLD suggestionsVerify chart ID, object existence and property types. Check creation/update results and avoid name collisions. MetaQuotes |
| MT5 · Runtime errors | 4204 ERR_OBJECT_GETDATE_FAILED | Unable to get date corresponding to the value | YI GOLD suggestionsVerify chart ID, object existence and property types. Check creation/update results and avoid name collisions. MetaQuotes |
| MT5 · Runtime errors | 4205 ERR_OBJECT_GETVALUE_FAILED | Unable to get value corresponding to the date | YI GOLD suggestionsVerify chart ID, object existence and property types. Check creation/update results and avoid name collisions. MetaQuotes |
| MT5 · Runtime errors | 4301 ERR_MARKET_UNKNOWN_SYMBOL | Unknown symbol | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 4302 ERR_MARKET_NOT_SELECTED | Symbol is not selected in MarketWatch | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 4303 ERR_MARKET_WRONG_PROPERTY | Wrong identifier of a symbol property | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 4304 ERR_MARKET_LASTTIME_UNKNOWN | Time of the last tick is not known (no ticks) | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 4305 ERR_MARKET_SELECT_ERROR | Error adding or deleting a symbol in MarketWatch | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 4306 ERR_MARKET_SELECT_LIMIT | Exceeded the limit of selected symbols in MarketWatch | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 4307 ERR_MARKET_SESSION_INDEX | Wrong session ID when calling the SymbolInfoSessionQuote/SymbolInfoSessionTrade function | YI GOLD suggestionsCheck length, bounds, dynamic-array declarations and ArraySetAsSeries. Validate returned element counts before access. MetaQuotes |
| MT5 · Runtime errors | 4401 ERR_HISTORY_NOT_FOUND | Requested history not found | YI GOLD suggestionsVerify symbol, timeframe, indicator handle, BarsCalculated and copied element counts. Wait for data availability rather than filling missing prices with zeros. MetaQuotes |
| MT5 · Runtime errors | 4402 ERR_HISTORY_WRONG_PROPERTY | Wrong ID of the history property | YI GOLD suggestionsVerify symbol, timeframe, indicator handle, BarsCalculated and copied element counts. Wait for data availability rather than filling missing prices with zeros. MetaQuotes |
| MT5 · Runtime errors | 4403 ERR_HISTORY_TIMEOUT | Exceeded history request timeout | YI GOLD suggestionsInspect connectivity, logs and request time. Verify actual order status before bounded retries with backoff to avoid duplicate exposure after a timeout. MetaQuotes |
| MT5 · Runtime errors | 4404 ERR_HISTORY_BARS_LIMIT | Number of requested bars limited by terminal settings | YI GOLD suggestionsVerify symbol, timeframe, indicator handle, BarsCalculated and copied element counts. Wait for data availability rather than filling missing prices with zeros. MetaQuotes |
| MT5 · Runtime errors | 4405 ERR_HISTORY_LOAD_ERRORS | Multiple errors when loading history | YI GOLD suggestionsVerify symbol, timeframe, indicator handle, BarsCalculated and copied element counts. Wait for data availability rather than filling missing prices with zeros. MetaQuotes |
| MT5 · Runtime errors | 4407 ERR_HISTORY_SMALL_BUFFER | Receiving array is too small to store all requested data | YI GOLD suggestionsCheck length, bounds, dynamic-array declarations and ArraySetAsSeries. Validate returned element counts before access. MetaQuotes |
| MT5 · Runtime errors | 4501 ERR_GLOBALVARIABLE_NOT_FOUND | Global variable of the client terminal is not found | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 4502 ERR_GLOBALVARIABLE_EXISTS | Global variable of the client terminal with the same name already exists | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 4503 ERR_GLOBALVARIABLE_NOT_MODIFIED | Global variables were not modified | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 4504 ERR_GLOBALVARIABLE_CANNOTREAD | Cannot read file with global variable values | YI GOLD suggestionsCheck permitted terminal sandbox paths, names, access flags, formats and handles. Record open failures without granting permissive directory access. MetaQuotes |
| MT5 · Runtime errors | 4505 ERR_GLOBALVARIABLE_CANNOTWRITE | Cannot write file with global variable values | YI GOLD suggestionsCheck permitted terminal sandbox paths, names, access flags, formats and handles. Record open failures without granting permissive directory access. MetaQuotes |
| MT5 · Runtime errors | 4510 ERR_MAIL_SEND_FAILED | Email sending failed | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 4511 ERR_PLAY_SOUND_FAILED | Sound playing failed | YI GOLD suggestionsInspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description. MetaQuotes |
| MT5 · Runtime errors | 4512 ERR_MQL5_WRONG_PROPERTY | Wrong identifier of the program property | YI GOLD suggestionsInspect 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.