{"name":"Broker API Hub: MetaTrader 5 (Python package and MQL5)","page":"https://openbrokerapi.com/platforms/metatrader-5","file":"https://openbrokerapi.com/data/platforms/metatrader-5.json","generated":"2026-10-12","generatedBasis":"The newest checked date among the records in this file. It is not the date the file was built.","newestReading":"2026-10-12","newestReadingBasis":"The date the page prints as Newest reading: the newest checked date on the record itself, on its claims, on its limit and endpoint records and, for a platform, on a broker's note that it offers the platform. generated can be later, because this file also holds error, change and MCP records.","licence":"Mixed. Each section states its own licence. Sections from the registers are CC BY 4.0. Sections from the broker, platform, endpoint and error records are all rights reserved and are given for reference.","licenceUrl":"https://creativecommons.org/licenses/by/4.0/","cite":"Broker API Hub, MetaTrader 5 (Python package and MQL5), openbrokerapi.com/platforms/metatrader-5, newest check 2026-10-12","note":"Independent and unofficial. An empty list or a null means this site holds no record. It does not mean that none exists. Every record carries its own source and checked date: cite those where you rely on a single figure.","identity":{"licence":"All rights reserved","leftOut":"The tagline, which is this site's own writing. It is on the page.","id":"metatrader-5","slug":"metatrader-5","name":"MetaTrader 5 (Python package and MQL5)","kind":"platform","nativeApi":null,"apiFamily":["Python package (MetaTrader5)","MQL5","WebRequest and sockets from MQL5"],"products":["FX","CFD","Exchange instruments (broker dependent)"],"availability":"active","legalEntity":null,"regulator":null,"docsUrl":"https://www.mql5.com/en/docs/python_metatrader5","baseUrls":null,"orderTypes":["Market","Limit","Stop","Stop limit","Close by"],"sources":[{"url":"https://www.mql5.com/en/docs/python_metatrader5","title":"MQL5: Python integration reference","checked":"2026-09-24"},{"url":"https://www.mql5.com/en/docs","title":"MQL5 Reference","checked":"2026-09-22"},{"url":"https://www.mql5.com/en/docs/network","title":"Network functions","checked":"2026-09-22"},{"url":"https://pypi.org/project/MetaTrader5/","title":"MetaTrader5 on PyPI","checked":"2026-09-20"},{"url":"https://www.mql5.com/en/docs/python_metatrader5/mt5initialize_py","title":"MQL5 docs: initialize","checked":"2026-09-20"},{"url":"https://www.mql5.com/en/docs/python_metatrader5/mt5ordersend_py","title":"MQL5 docs: order_send","checked":"2026-09-20"},{"url":"https://www.metatrader5.com/en/terminal/help/startworking/acc_open","title":"Opening an account (MT5 help)","checked":"2026-09-21"},{"url":"https://www.mql5.com/en/docs/python_metatrader5/mt5copyratesfrom_py","title":"MQL5 docs: copy_rates_from","checked":"2026-09-22"},{"url":"https://www.mql5.com/en/docs/python_metatrader5/mt5historydealsget_py","title":"MQL5 docs: history_deals_get","checked":"2026-09-20"},{"url":"https://www.mql5.com/en/docs/constants/tradingconstants/orderproperties","title":"MQL5 docs: Order properties","checked":"2026-09-22"},{"url":"https://www.mql5.com/en/forum/303238","title":"MQL5 forum thread 303238 (MetaQuotes staff posts)","checked":"2026-09-22"},{"url":"https://www.mql5.com/en/docs/python_metatrader5/mt5login_py","title":"MQL5 docs: login","checked":"2026-09-20"},{"url":"https://www.mql5.com/en/docs/python_metatrader5/mt5lasterror_py","title":"MQL5 docs: last_error","checked":"2026-09-20"},{"url":"https://www.mql5.com/en/docs/python_metatrader5/mt5symbolinfotick_py","title":"MQL5 docs: symbol_info_tick","checked":"2026-09-20"},{"url":"https://www.mql5.com/en/docs/python_metatrader5/mt5copyratesfrompos_py","title":"MQL5 docs: copy_rates_from_pos","checked":"2026-09-20"},{"url":"https://www.metatrader5.com/en/releasenotes/terminal/2447","title":"MetaQuotes: MetaTrader 5 build 6060 release notes","checked":"2026-09-22"},{"url":"https://www.metatrader5.com/en/releasenotes/terminal/2450","title":"MetaQuotes: MetaTrader 5 build 6090 release notes","checked":"2026-09-22"},{"url":"https://www.metaquotes.net/en/company/news/5479","title":"MetaQuotes company news","checked":"2026-09-20"},{"url":"https://www.metatrader5.com/en/releasenotes","title":"MetaTrader 5 release notes, MetaQuotes","checked":"2026-09-23"},{"url":"https://www.mql5.com/en/market/rules","title":"Market rules, MQL5","checked":"2026-09-25"}],"lastChecked":"2026-09-24","review":"ported"},"claims":{"licence":"All rights reserved","records":[{"key":"access_route","value":"Install the MT5 terminal from your broker, then pip install MetaTrader5 on Windows x86-64 or write MQL5 in MetaEditor. The terminal must be at build 4755 or later.","status":"verified","sources":[{"url":"https://www.mql5.com/en/docs/python_metatrader5/mt5ordersend_py","title":"order_send","checked":"2026-09-20"}]},{"key":"eligibility","value":"Real accounts come from brokers offering MT5; the API runs through your own local terminal.","status":"verified","sources":[{"url":"https://www.metatrader5.com/en/terminal/help/startworking/acc_open","title":"Opening an account (MT5 help)","checked":"2026-09-21"}]},{"key":"demo","value":"Yes: demo accounts can be opened from within the terminal.","status":"verified","sources":[{"url":"https://www.metatrader5.com/en/terminal/help/startworking/acc_open","title":"Opening an account (MT5 help)","checked":"2026-09-21"}]},{"key":"auth","value":"No API keys: initialize() connects to the local terminal, optionally with account login, password and server.","status":"verified","sources":[{"url":"https://www.mql5.com/en/docs/python_metatrader5/mt5initialize_py","title":"initialize","checked":"2026-09-20"}]},{"key":"streaming","value":"No push API in Python: poll ticks and bars; market_book_add subscribes the terminal to depth events. MQL5 EAs get tick events.","status":"verified","sources":[{"url":"https://www.mql5.com/en/docs/python_metatrader5","title":"MetaTrader for Python","checked":"2026-09-20"}]},{"key":"history_depth","value":"Bars limited to the terminal's Max bars in chart setting. Deal history by date range with no stated limit.","status":"verified","sources":[{"url":"https://www.mql5.com/en/docs/python_metatrader5/mt5copyratesfrom_py","title":"MQL5 docs: copy_rates_from","checked":"2026-09-22"}]},{"key":"rate_limits","value":"Not published. The Python page states none, carries no version and no date, and gives no consolidated error list beyond last_error() (read 22 Sep 2026).","status":"verified","sources":[{"url":"https://www.mql5.com/en/docs/python_metatrader5","title":"MetaTrader for Python","checked":"2026-09-20"}]}]},"platformApis":{"licence":"All rights reserved","records":[]},"sdks":{"licence":"All rights reserved","records":[{"name":"MetaTrader5","language":"Python","url":"https://pypi.org/project/MetaTrader5/","official":true,"source":"https://pypi.org/project/MetaTrader5/","checked":"2026-10-04"},{"name":"Community Python MCP server (MQL5 article 21905)","language":"Python","url":"https://www.mql5.com/en/articles/21905","official":false,"source":"https://www.mql5.com/en/articles/21905","checked":"2026-09-19"}]},"endpoints":{"licence":"All rights reserved","leftOut":"Parameters, request bodies, example responses and notes. Each is on the endpoint's page.","records":[]},"calls":{"licence":"All rights reserved","what":"Functions of a language binding and messages of a wire protocol: calls that are not HTTP requests, so they have no method and no path and are in no OpenAPI file.","leftOut":"Descriptions of arguments and fields, return values, samples and notes. Each is on the call's page.","records":[{"kind":"function","interface":"MetaTrader5 Python package","name":"account_info","group":"Account","summary":"Returns everything the terminal holds about the trading account it is logged in to, in one call.","language":"Python","signatures":["account_info()"],"returnType":"namedtuple or None","tasks":["accounts"],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5accountinfo_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5accountinfo_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-account-info"},{"kind":"function","interface":"MetaTrader5 Python package","name":"copy_rates_from","group":"Bars and ticks","summary":"Returns a number of bars for one instrument and timeframe, counting back from a date.","language":"Python","signatures":["copy_rates_from(\n  symbol,\n  timeframe,\n  date_from,\n  count\n)"],"returnType":"numpy array or None","tasks":["candles"],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5copyratesfrom_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5copyratesfrom_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-copy-rates-from"},{"kind":"function","interface":"MetaTrader5 Python package","name":"copy_rates_from_pos","group":"Bars and ticks","summary":"Returns a number of bars for one instrument and timeframe, starting from a bar index where 0 is the bar now forming.","language":"Python","signatures":["copy_rates_from_pos(\n  symbol,\n  timeframe,\n  start_pos,\n  count\n)"],"returnType":"numpy array or None","tasks":["candles"],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5copyratesfrompos_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5copyratesfrompos_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-copy-rates-from-pos"},{"kind":"function","interface":"MetaTrader5 Python package","name":"copy_rates_range","group":"Bars and ticks","summary":"Returns the bars for one instrument and timeframe that open between two dates.","language":"Python","signatures":["copy_rates_range(\n  symbol,\n  timeframe,\n  date_from,\n  date_to\n)"],"returnType":"numpy array or None","tasks":["candles"],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5copyratesrange_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5copyratesrange_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-copy-rates-range"},{"kind":"function","interface":"MetaTrader5 Python package","name":"copy_ticks_from","group":"Bars and ticks","summary":"Returns a number of ticks for one instrument, starting from a date.","language":"Python","signatures":["copy_ticks_from(\n  symbol,\n  date_from,\n  count,\n  flags\n)"],"returnType":"numpy array or None","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5copyticksfrom_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5copyticksfrom_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-copy-ticks-from"},{"kind":"function","interface":"MetaTrader5 Python package","name":"copy_ticks_range","group":"Bars and ticks","summary":"Returns the ticks for one instrument between two dates.","language":"Python","signatures":["copy_ticks_range(\n  symbol,\n  date_from,\n  date_to,\n  flags\n)"],"returnType":"numpy array or None","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5copyticksrange_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5copyticksrange_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-copy-ticks-range"},{"kind":"function","interface":"MetaTrader5 Python package","name":"history_deals_get","group":"History","summary":"Returns deals from the account's trading history: those between two dates, optionally filtered by symbol, or those of one order, or those of one position.","language":"Python","signatures":["history_deals_get(\n  date_from,\n  date_to,\n  group=\"GROUP\"\n)","history_deals_get(\n  ticket=TICKET\n)","history_deals_get(\n  position=POSITION\n)"],"returnType":"tuple of namedtuples, or None","tasks":["history"],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5historydealsget_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5historydealsget_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-history-deals-get"},{"kind":"function","interface":"MetaTrader5 Python package","name":"history_deals_total","group":"History","summary":"Returns how many deals are in the account's trading history between two dates.","language":"Python","signatures":["history_deals_total(\n  date_from,\n  date_to\n)"],"returnType":"int","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5historydealstotal_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5historydealstotal_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-history-deals-total"},{"kind":"function","interface":"MetaTrader5 Python package","name":"history_orders_get","group":"History","summary":"Returns orders from the account's trading history: those between two dates, optionally filtered by symbol, or the one with a given ticket, or those of one position.","language":"Python","signatures":["history_orders_get(\n  date_from,\n  date_to,\n  group=\"GROUP\"\n)","history_orders_get(\n  ticket=TICKET\n)","history_orders_get(\n  position=POSITION\n)"],"returnType":"tuple of namedtuples, or None","tasks":["history"],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5historyordersget_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5historyordersget_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-history-orders-get"},{"kind":"function","interface":"MetaTrader5 Python package","name":"history_orders_total","group":"History","summary":"Returns how many orders are in the account's trading history between two dates.","language":"Python","signatures":["history_orders_total(\n  date_from,\n  date_to\n)"],"returnType":"int","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5historyorderstotal_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5historyorderstotal_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-history-orders-total"},{"kind":"function","interface":"MetaTrader5 Python package","name":"initialize","group":"Connection","summary":"Connects the Python package to a MetaTrader 5 terminal on the same computer, starting the terminal if it is not running, and can log in to a trading account in the same call.","language":"Python","signatures":["initialize()","initialize(\n  path\n)","initialize(\n  path,\n  login=LOGIN,\n  password=\"PASSWORD\",\n  server=\"SERVER\",\n  timeout=TIMEOUT,\n  portable=False\n)"],"returnType":"bool","tasks":["session"],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5initialize_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5initialize_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-initialize"},{"kind":"function","interface":"MetaTrader5 Python package","name":"last_error","group":"Connection","summary":"Returns the code and description of the last error raised by a call to the package. The codes are the package's own, not the terminal's.","language":"Python","signatures":["last_error()"],"returnType":"tuple","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5lasterror_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5lasterror_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-last-error"},{"kind":"function","interface":"MetaTrader5 Python package","name":"login","group":"Connection","summary":"Switches the connected terminal to a trading account, by account number, with the password and server optional.","language":"Python","signatures":["login(\n  login,\n  password=\"PASSWORD\",\n  server=\"SERVER\",\n  timeout=TIMEOUT\n)"],"returnType":"bool","tasks":["session"],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5login_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5login_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-login"},{"kind":"function","interface":"MetaTrader5 Python package","name":"market_book_add","group":"Market depth","summary":"Subscribes the terminal to changes in the depth of market for one instrument, which is what makes market_book_get() return data.","language":"Python","signatures":["market_book_add(\n  symbol\n)"],"returnType":"bool","tasks":["streaming-subscribe"],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5marketbookadd_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5marketbookadd_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-market-book-add"},{"kind":"function","interface":"MetaTrader5 Python package","name":"market_book_get","group":"Market depth","summary":"Returns the current depth of market for one instrument, once market_book_add() has subscribed the terminal to it.","language":"Python","signatures":["market_book_get(\n  symbol\n)"],"returnType":"tuple or None","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5marketbookget_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5marketbookget_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-market-book-get"},{"kind":"function","interface":"MetaTrader5 Python package","name":"market_book_release","group":"Market depth","summary":"Ends the terminal's subscription to depth of market changes for one instrument.","language":"Python","signatures":["market_book_release(\n  symbol\n)"],"returnType":"bool","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5marketbookrelease_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5marketbookrelease_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-market-book-release"},{"kind":"function","interface":"MetaTrader5 Python package","name":"order_calc_margin","group":"Orders","summary":"Works out the margin, in the account's currency, that a trade of a given type, symbol, volume and price would need.","language":"Python","signatures":["order_calc_margin(\n  action,\n  symbol,\n  volume,\n  price\n)"],"returnType":"float or None","tasks":["order-preview"],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5ordercalcmargin_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5ordercalcmargin_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-order-calc-margin"},{"kind":"function","interface":"MetaTrader5 Python package","name":"order_calc_profit","group":"Orders","summary":"Works out the profit or loss, in the account's currency, of a trade opened at one price and closed at another.","language":"Python","signatures":["order_calc_profit(\n  action,\n  symbol,\n  volume,\n  price_open,\n  price_close\n)"],"returnType":"float or None","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5ordercalcprofit_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5ordercalcprofit_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-order-calc-profit"},{"kind":"function","interface":"MetaTrader5 Python package","name":"order_check","group":"Orders","summary":"Checks whether the account has the funds for a trade request without sending it, and returns what the balance, equity and margin would be.","language":"Python","signatures":["order_check(\n  request\n)"],"returnType":"MqlTradeCheckResult structure","tasks":["order-preview"],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5ordercheck_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5ordercheck_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-order-check"},{"kind":"function","interface":"MetaTrader5 Python package","name":"order_send","group":"Orders","summary":"Sends a trade request from the terminal to the trade server. One call covers a market order, a pending order, a change to an order or position, a cancellation and a close: the request's action field says which.","language":"Python","signatures":["order_send(\n  request\n)"],"returnType":"MqlTradeResult structure","tasks":["place-order","amend-order","cancel-order","close-position"],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5ordersend_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5ordersend_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-order-send"},{"kind":"function","interface":"MetaTrader5 Python package","name":"orders_get","group":"Orders","summary":"Returns the active pending orders on the account: all of them, those in one symbol, those whose symbol matches a filter, or the one with a given ticket.","language":"Python","signatures":["orders_get()","orders_get(\n  symbol=\"SYMBOL\"\n)","orders_get(\n  group=\"GROUP\"\n)","orders_get(\n  ticket=TICKET\n)"],"returnType":"tuple of namedtuples, or None","tasks":["open-orders"],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5ordersget_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5ordersget_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-orders-get"},{"kind":"function","interface":"MetaTrader5 Python package","name":"orders_total","group":"Orders","summary":"Returns how many pending orders are active on the account.","language":"Python","signatures":["orders_total()"],"returnType":"int","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5orderstotal_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5orderstotal_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-orders-total"},{"kind":"function","interface":"MetaTrader5 Python package","name":"positions_get","group":"Positions","summary":"Returns the open positions on the account: all of them, those in one symbol, those whose symbol matches a filter, or the one with a given ticket.","language":"Python","signatures":["positions_get()","positions_get(\n  symbol=\"SYMBOL\"\n)","positions_get(\n  group=\"GROUP\"\n)","positions_get(\n  ticket=TICKET\n)"],"returnType":"tuple of namedtuples, or None","tasks":["positions"],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5positionsget_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5positionsget_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-positions-get"},{"kind":"function","interface":"MetaTrader5 Python package","name":"positions_total","group":"Positions","summary":"Returns how many positions are open on the account.","language":"Python","signatures":["positions_total()"],"returnType":"int","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5positionstotal_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5positionstotal_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-positions-total"},{"kind":"function","interface":"MetaTrader5 Python package","name":"shutdown","group":"Connection","summary":"Closes the connection that initialize() opened between the Python package and the terminal.","language":"Python","signatures":["shutdown()"],"returnType":"None","tasks":["session"],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5shutdown_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5shutdown_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-shutdown"},{"kind":"function","interface":"MetaTrader5 Python package","name":"symbol_info","group":"Symbols","summary":"Returns the terminal's data on one financial instrument: its contract and dealing properties as well as its latest prices.","language":"Python","signatures":["symbol_info(\n  symbol\n)"],"returnType":"namedtuple or None","tasks":["instrument-search"],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5symbolinfo_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5symbolinfo_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-symbol-info"},{"kind":"function","interface":"MetaTrader5 Python package","name":"symbol_info_tick","group":"Symbols","summary":"Returns the last tick the terminal has for one financial instrument.","language":"Python","signatures":["symbol_info_tick(\n  symbol\n)"],"returnType":"tuple or None","tasks":["price-snapshot"],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5symbolinfotick_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5symbolinfotick_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-symbol-info-tick"},{"kind":"function","interface":"MetaTrader5 Python package","name":"symbol_select","group":"Symbols","summary":"Adds a financial instrument to the terminal's Market Watch window, or removes it.","language":"Python","signatures":["symbol_select(\n  symbol,\n  enable=None\n)"],"returnType":"bool","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5symbolselect_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5symbolselect_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-symbol-select"},{"kind":"function","interface":"MetaTrader5 Python package","name":"symbols_get","group":"Symbols","summary":"Returns the financial instruments in the terminal, all of them or those whose names match a filter.","language":"Python","signatures":["symbols_get(\n  group=\"GROUP\"\n)"],"returnType":"tuple or None","tasks":["instrument-search"],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5symbolsget_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5symbolsget_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-symbols-get"},{"kind":"function","interface":"MetaTrader5 Python package","name":"symbols_total","group":"Symbols","summary":"Returns how many financial instruments the terminal holds.","language":"Python","signatures":["symbols_total()"],"returnType":"int","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5symbolstotal_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5symbolstotal_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-symbols-total"},{"kind":"function","interface":"MetaTrader5 Python package","name":"terminal_info","group":"Connection","summary":"Returns the status and settings of the connected terminal in one call.","language":"Python","signatures":["terminal_info()"],"returnType":"namedtuple or None","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5terminalinfo_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5terminalinfo_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-terminal-info"},{"kind":"function","interface":"MetaTrader5 Python package","name":"version","group":"Connection","summary":"Returns the version of the connected MetaTrader 5 terminal, with its build number and the date of that build.","language":"Python","signatures":["version()"],"returnType":"tuple or None","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5version_py","officialReference":"https://www.mql5.com/en/docs/python_metatrader5/mt5version_py","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/python-version"},{"kind":"function","interface":"MQL5","name":"AccountInfoDouble","group":"Account","summary":"Returns one floating point property of the trading account, such as its balance, equity or free margin.","language":"MQL5","signatures":["double AccountInfoDouble(\n  ENUM_ACCOUNT_INFO_DOUBLE property_id\n)"],"returnType":"double","tasks":["accounts"],"status":"verified","source":"https://www.mql5.com/en/docs/account/accountinfodouble","officialReference":"https://www.mql5.com/en/docs/account/accountinfodouble","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-accountinfodouble"},{"kind":"function","interface":"MQL5","name":"AccountInfoInteger","group":"Account","summary":"Returns one integer property of the trading account, such as its number, its leverage or whether trading is allowed.","language":"MQL5","signatures":["long AccountInfoInteger(\n  ENUM_ACCOUNT_INFO_INTEGER property_id\n)"],"returnType":"long","tasks":["accounts"],"status":"verified","source":"https://www.mql5.com/en/docs/account/accountinfointeger","officialReference":"https://www.mql5.com/en/docs/account/accountinfointeger","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-accountinfointeger"},{"kind":"function","interface":"MQL5","name":"AccountInfoString","group":"Account","summary":"Returns one text property of the trading account, such as its currency, the server's name or the broker's company name.","language":"MQL5","signatures":["string AccountInfoString(\n  ENUM_ACCOUNT_INFO_STRING property_id\n)"],"returnType":"string","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/account/accountinfostring","officialReference":"https://www.mql5.com/en/docs/account/accountinfostring","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-accountinfostring"},{"kind":"function","interface":"MQL5","name":"CopyRates","group":"Bars and ticks","summary":"Copies historical bars of a symbol and timeframe into an array of MqlRates structures, by start position and count, by start time and count, or between two times.","language":"MQL5","signatures":["int CopyRates(\n  string symbol_name,\n  ENUM_TIMEFRAMES timeframe,\n  int start_pos,\n  int count,\n  MqlRates rates_array[]\n)","int CopyRates(\n  string symbol_name,\n  ENUM_TIMEFRAMES timeframe,\n  datetime start_time,\n  int count,\n  MqlRates rates_array[]\n)","int CopyRates(\n  string symbol_name,\n  ENUM_TIMEFRAMES timeframe,\n  datetime start_time,\n  datetime stop_time,\n  MqlRates rates_array[]\n)"],"returnType":"int","tasks":["candles"],"status":"verified","source":"https://www.mql5.com/en/docs/series/copyrates","officialReference":"https://www.mql5.com/en/docs/series/copyrates","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-copyrates"},{"kind":"function","interface":"MQL5","name":"CopyTicks","group":"Bars and ticks","summary":"Copies ticks of a symbol into an array of MqlTick structures, from a time onwards or the most recent ones. The oldest tick copied is at index 0.","language":"MQL5","signatures":["int CopyTicks(\n  string symbol_name,\n  MqlTick& ticks_array[],\n  uint flags=COPY_TICKS_ALL,\n  ulong from=0,\n  uint count=0\n)"],"returnType":"int","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/series/copyticks","officialReference":"https://www.mql5.com/en/docs/series/copyticks","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-copyticks"},{"kind":"function","interface":"MQL5","name":"CopyTicksRange","group":"Bars and ticks","summary":"Copies the ticks of a symbol between two times into an array of MqlTick structures. The oldest tick copied is at index 0.","language":"MQL5","signatures":["int CopyTicksRange(\n  const string symbol_name,\n  MqlTick& ticks_array[],\n  uint flags=COPY_TICKS_ALL,\n  ulong from_msc=0,\n  ulong to_msc=0\n)"],"returnType":"int","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/series/copyticksrange","officialReference":"https://www.mql5.com/en/docs/series/copyticksrange","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-copyticksrange"},{"kind":"function","interface":"MQL5","name":"HistoryDealGetDouble","group":"History","summary":"Returns one floating point property of a deal in the account's history, by ticket.","language":"MQL5","signatures":["double HistoryDealGetDouble(\n  ulong ticket_number,\n  ENUM_DEAL_PROPERTY_DOUBLE property_id\n)","bool HistoryDealGetDouble(\n  ulong ticket_number,\n  ENUM_DEAL_PROPERTY_DOUBLE property_id,\n  double& double_var\n)"],"returnType":"double, or bool in the second form","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/trading/historydealgetdouble","officialReference":"https://www.mql5.com/en/docs/trading/historydealgetdouble","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-historydealgetdouble"},{"kind":"function","interface":"MQL5","name":"HistoryDealGetInteger","group":"History","summary":"Returns one integer or date property of a deal in the account's history, by ticket.","language":"MQL5","signatures":["long HistoryDealGetInteger(\n  ulong ticket_number,\n  ENUM_DEAL_PROPERTY_INTEGER property_id\n)","bool HistoryDealGetInteger(\n  ulong ticket_number,\n  ENUM_DEAL_PROPERTY_INTEGER property_id,\n  long& long_var\n)"],"returnType":"long, or bool in the second form","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/trading/historydealgetinteger","officialReference":"https://www.mql5.com/en/docs/trading/historydealgetinteger","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-historydealgetinteger"},{"kind":"function","interface":"MQL5","name":"HistoryDealGetString","group":"History","summary":"Returns one text property of a deal in the account's history, by ticket.","language":"MQL5","signatures":["string HistoryDealGetString(\n  ulong ticket_number,\n  ENUM_DEAL_PROPERTY_STRING property_id\n)","bool HistoryDealGetString(\n  ulong ticket_number,\n  ENUM_DEAL_PROPERTY_STRING property_id,\n  string& string_var\n)"],"returnType":"string, or bool in the second form","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/trading/historydealgetstring","officialReference":"https://www.mql5.com/en/docs/trading/historydealgetstring","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-historydealgetstring"},{"kind":"function","interface":"MQL5","name":"HistoryDealGetTicket","group":"History","summary":"Returns the ticket of the deal at a place in the loaded history, and selects that deal for the history deal functions.","language":"MQL5","signatures":["ulong HistoryDealGetTicket(\n  int index\n)"],"returnType":"ulong","tasks":["history"],"status":"verified","source":"https://www.mql5.com/en/docs/trading/historydealgetticket","officialReference":"https://www.mql5.com/en/docs/trading/historydealgetticket","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-historydealgetticket"},{"kind":"function","interface":"MQL5","name":"HistoryDealSelect","group":"History","summary":"Selects one deal in the account's history by its ticket, so the history deal functions can read it.","language":"MQL5","signatures":["bool HistoryDealSelect(\n  ulong ticket\n)"],"returnType":"bool","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/trading/historydealselect","officialReference":"https://www.mql5.com/en/docs/trading/historydealselect","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-historydealselect"},{"kind":"function","interface":"MQL5","name":"HistoryDealsTotal","group":"History","summary":"Returns how many deals are in the history that was last loaded.","language":"MQL5","signatures":["int HistoryDealsTotal()"],"returnType":"int","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/trading/historydealstotal","officialReference":"https://www.mql5.com/en/docs/trading/historydealstotal","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-historydealstotal"},{"kind":"function","interface":"MQL5","name":"HistoryOrderGetDouble","group":"History","summary":"Returns one floating point property of an order in the account's history, by ticket.","language":"MQL5","signatures":["double HistoryOrderGetDouble(\n  ulong ticket_number,\n  ENUM_ORDER_PROPERTY_DOUBLE property_id\n)","bool HistoryOrderGetDouble(\n  ulong ticket_number,\n  ENUM_ORDER_PROPERTY_DOUBLE property_id,\n  double& double_var\n)"],"returnType":"double, or bool in the second form","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/trading/historyordergetdouble","officialReference":"https://www.mql5.com/en/docs/trading/historyordergetdouble","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-historyordergetdouble"},{"kind":"function","interface":"MQL5","name":"HistoryOrderGetInteger","group":"History","summary":"Returns one integer or date property of an order in the account's history, by ticket.","language":"MQL5","signatures":["long HistoryOrderGetInteger(\n  ulong ticket_number,\n  ENUM_ORDER_PROPERTY_INTEGER property_id\n)","bool HistoryOrderGetInteger(\n  ulong ticket_number,\n  ENUM_ORDER_PROPERTY_INTEGER property_id,\n  long& long_var\n)"],"returnType":"long, or bool in the second form","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/trading/historyordergetinteger","officialReference":"https://www.mql5.com/en/docs/trading/historyordergetinteger","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-historyordergetinteger"},{"kind":"function","interface":"MQL5","name":"HistoryOrderGetString","group":"History","summary":"Returns one text property of an order in the account's history, by ticket.","language":"MQL5","signatures":["string HistoryOrderGetString(\n  ulong ticket_number,\n  ENUM_ORDER_PROPERTY_STRING property_id\n)","bool HistoryOrderGetString(\n  ulong ticket_number,\n  ENUM_ORDER_PROPERTY_STRING property_id,\n  string& string_var\n)"],"returnType":"string, or bool in the second form","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/trading/historyordergetstring","officialReference":"https://www.mql5.com/en/docs/trading/historyordergetstring","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-historyordergetstring"},{"kind":"function","interface":"MQL5","name":"HistoryOrderGetTicket","group":"History","summary":"Returns the ticket of the order at a place in the loaded history.","language":"MQL5","signatures":["ulong HistoryOrderGetTicket(\n  int index\n)"],"returnType":"ulong","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/trading/historyordergetticket","officialReference":"https://www.mql5.com/en/docs/trading/historyordergetticket","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-historyordergetticket"},{"kind":"function","interface":"MQL5","name":"HistoryOrderSelect","group":"History","summary":"Selects one order in the account's history by its ticket, so the history order functions can read it.","language":"MQL5","signatures":["bool HistoryOrderSelect(\n  ulong ticket\n)"],"returnType":"bool","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/trading/historyorderselect","officialReference":"https://www.mql5.com/en/docs/trading/historyorderselect","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-historyorderselect"},{"kind":"function","interface":"MQL5","name":"HistoryOrdersTotal","group":"History","summary":"Returns how many orders are in the history that was last loaded.","language":"MQL5","signatures":["int HistoryOrdersTotal()"],"returnType":"int","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/trading/historyorderstotal","officialReference":"https://www.mql5.com/en/docs/trading/historyorderstotal","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-historyorderstotal"},{"kind":"function","interface":"MQL5","name":"HistorySelect","group":"History","summary":"Loads the account's history of deals and orders for a period of server time, so the other history functions have something to read.","language":"MQL5","signatures":["bool HistorySelect(\n  datetime from_date,\n  datetime to_date\n)"],"returnType":"bool","tasks":["history"],"status":"verified","source":"https://www.mql5.com/en/docs/trading/historyselect","officialReference":"https://www.mql5.com/en/docs/trading/historyselect","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-historyselect"},{"kind":"function","interface":"MQL5","name":"HistorySelectByPosition","group":"History","summary":"Loads the deals and orders that belong to one position, by the position's identifier.","language":"MQL5","signatures":["bool HistorySelectByPosition(\n  ulong position_id\n)"],"returnType":"bool","tasks":["history"],"status":"verified","source":"https://www.mql5.com/en/docs/trading/historyselectbyposition","officialReference":"https://www.mql5.com/en/docs/trading/historyselectbyposition","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-historyselectbyposition"},{"kind":"function","interface":"MQL5","name":"OrderCalcMargin","group":"Sending orders","summary":"Works out the margin, in the account's currency, that an order of a given type, symbol, volume and price would need on the account as it stands.","language":"MQL5","signatures":["bool OrderCalcMargin(\n  ENUM_ORDER_TYPE action,\n  string symbol,\n  double volume,\n  double price,\n  double& margin\n)"],"returnType":"bool","tasks":["order-preview"],"status":"verified","source":"https://www.mql5.com/en/docs/trading/ordercalcmargin","officialReference":"https://www.mql5.com/en/docs/trading/ordercalcmargin","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-ordercalcmargin"},{"kind":"function","interface":"MQL5","name":"OrderCalcProfit","group":"Sending orders","summary":"Works out the profit or loss, in the account's currency, of a trade opened at one price and closed at another, on the account and market as they stand.","language":"MQL5","signatures":["bool OrderCalcProfit(\n  ENUM_ORDER_TYPE action,\n  string symbol,\n  double volume,\n  double price_open,\n  double price_close,\n  double& profit\n)"],"returnType":"bool","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/trading/ordercalcprofit","officialReference":"https://www.mql5.com/en/docs/trading/ordercalcprofit","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-ordercalcprofit"},{"kind":"function","interface":"MQL5","name":"OrderCheck","group":"Sending orders","summary":"Checks whether there is enough money for a trade request without sending it, and writes what the account would look like into a result structure.","language":"MQL5","signatures":["bool OrderCheck(\n  MqlTradeRequest& request,\n  MqlTradeCheckResult& result\n)"],"returnType":"bool","tasks":["order-preview"],"status":"verified","source":"https://www.mql5.com/en/docs/trading/ordercheck","officialReference":"https://www.mql5.com/en/docs/trading/ordercheck","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-ordercheck"},{"kind":"function","interface":"MQL5","name":"OrderGetDouble","group":"Pending orders","summary":"Returns one floating point property of a pending order. It reads the order last selected with OrderGetTicket() or OrderSelect().","language":"MQL5","signatures":["double OrderGetDouble(\n  ENUM_ORDER_PROPERTY_DOUBLE property_id\n)","bool OrderGetDouble(\n  ENUM_ORDER_PROPERTY_DOUBLE property_id,\n  double& double_var\n)"],"returnType":"double, or bool in the second form","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/trading/ordergetdouble","officialReference":"https://www.mql5.com/en/docs/trading/ordergetdouble","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-ordergetdouble"},{"kind":"function","interface":"MQL5","name":"OrderGetInteger","group":"Pending orders","summary":"Returns one integer or date property of a pending order. It reads the order last selected with OrderGetTicket() or OrderSelect().","language":"MQL5","signatures":["long OrderGetInteger(\n  ENUM_ORDER_PROPERTY_INTEGER property_id\n)","bool OrderGetInteger(\n  ENUM_ORDER_PROPERTY_INTEGER property_id,\n  long& long_var\n)"],"returnType":"long, or bool in the second form","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/trading/ordergetinteger","officialReference":"https://www.mql5.com/en/docs/trading/ordergetinteger","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-ordergetinteger"},{"kind":"function","interface":"MQL5","name":"OrderGetString","group":"Pending orders","summary":"Returns one text property of a pending order. It reads the order last selected with OrderGetTicket() or OrderSelect().","language":"MQL5","signatures":["string OrderGetString(\n  ENUM_ORDER_PROPERTY_STRING property_id\n)","bool OrderGetString(\n  ENUM_ORDER_PROPERTY_STRING property_id,\n  string& string_var\n)"],"returnType":"string, or bool in the second form","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/trading/ordergetstring","officialReference":"https://www.mql5.com/en/docs/trading/ordergetstring","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-ordergetstring"},{"kind":"function","interface":"MQL5","name":"OrderGetTicket","group":"Pending orders","summary":"Returns the ticket of the pending order at a position in the list of current orders, and selects that order so its properties can be read.","language":"MQL5","signatures":["ulong OrderGetTicket(\n  int index\n)"],"returnType":"ulong","tasks":["open-orders"],"status":"verified","source":"https://www.mql5.com/en/docs/trading/ordergetticket","officialReference":"https://www.mql5.com/en/docs/trading/ordergetticket","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-ordergetticket"},{"kind":"function","interface":"MQL5","name":"OrderSelect","group":"Pending orders","summary":"Selects a pending order by its ticket, so that OrderGetDouble(), OrderGetInteger() and OrderGetString() read that order.","language":"MQL5","signatures":["bool OrderSelect(\n  ulong ticket\n)"],"returnType":"bool","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/trading/orderselect","officialReference":"https://www.mql5.com/en/docs/trading/orderselect","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-orderselect"},{"kind":"function","interface":"MQL5","name":"OrderSend","group":"Sending orders","summary":"Sends a trade request to the trade server and waits for its answer. One function covers a market order, a pending order, a change, a cancellation and a close: the action field of the request says which.","language":"MQL5","signatures":["bool OrderSend(\n  MqlTradeRequest& request,\n  MqlTradeResult& result\n)"],"returnType":"bool","tasks":["place-order","amend-order","cancel-order","close-position"],"status":"verified","source":"https://www.mql5.com/en/docs/trading/ordersend","officialReference":"https://www.mql5.com/en/docs/trading/ordersend","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-ordersend"},{"kind":"function","interface":"MQL5","name":"OrderSendAsync","group":"Sending orders","summary":"Sends a trade request to the trade server without waiting for its answer. The page describes it as made for high frequency trading, where waiting for the server is not acceptable.","language":"MQL5","signatures":["bool OrderSendAsync(\n  MqlTradeRequest& request,\n  MqlTradeResult& result\n)"],"returnType":"bool","tasks":["place-order"],"status":"verified","source":"https://www.mql5.com/en/docs/trading/ordersendasync","officialReference":"https://www.mql5.com/en/docs/trading/ordersendasync","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-ordersendasync"},{"kind":"function","interface":"MQL5","name":"OrdersTotal","group":"Pending orders","summary":"Returns how many pending orders are current on the account.","language":"MQL5","signatures":["int OrdersTotal()"],"returnType":"int","tasks":["open-orders"],"status":"verified","source":"https://www.mql5.com/en/docs/trading/orderstotal","officialReference":"https://www.mql5.com/en/docs/trading/orderstotal","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-orderstotal"},{"kind":"function","interface":"MQL5","name":"PositionGetDouble","group":"Positions","summary":"Returns one floating point property of an open position. It reads the position last selected with PositionGetSymbol() or PositionSelect().","language":"MQL5","signatures":["double PositionGetDouble(\n  ENUM_POSITION_PROPERTY_DOUBLE property_id\n)","bool PositionGetDouble(\n  ENUM_POSITION_PROPERTY_DOUBLE property_id,\n  double& double_var\n)"],"returnType":"double, or bool in the second form","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/trading/positiongetdouble","officialReference":"https://www.mql5.com/en/docs/trading/positiongetdouble","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-positiongetdouble"},{"kind":"function","interface":"MQL5","name":"PositionGetInteger","group":"Positions","summary":"Returns one integer or date property of an open position. It reads the position last selected with PositionGetSymbol() or PositionSelect().","language":"MQL5","signatures":["long PositionGetInteger(\n  ENUM_POSITION_PROPERTY_INTEGER property_id\n)","bool PositionGetInteger(\n  ENUM_POSITION_PROPERTY_INTEGER property_id,\n  long& long_var\n)"],"returnType":"long, or bool in the second form","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/trading/positiongetinteger","officialReference":"https://www.mql5.com/en/docs/trading/positiongetinteger","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-positiongetinteger"},{"kind":"function","interface":"MQL5","name":"PositionGetString","group":"Positions","summary":"Returns one text property of an open position. It reads the position last selected with PositionGetSymbol() or PositionSelect().","language":"MQL5","signatures":["string PositionGetString(\n  ENUM_POSITION_PROPERTY_STRING property_id\n)","bool PositionGetString(\n  ENUM_POSITION_PROPERTY_STRING property_id,\n  string& string_var\n)"],"returnType":"string, or bool in the second form","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/trading/positiongetstring","officialReference":"https://www.mql5.com/en/docs/trading/positiongetstring","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-positiongetstring"},{"kind":"function","interface":"MQL5","name":"PositionGetSymbol","group":"Positions","summary":"Returns the symbol of the open position at a place in the list of positions, and selects that position so its properties can be read.","language":"MQL5","signatures":["string PositionGetSymbol(\n  int index\n)"],"returnType":"string","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/trading/positiongetsymbol","officialReference":"https://www.mql5.com/en/docs/trading/positiongetsymbol","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-positiongetsymbol"},{"kind":"function","interface":"MQL5","name":"PositionGetTicket","group":"Positions","summary":"Returns the ticket of the open position at an index in the list of positions, and selects that position so its properties can be read.","language":"MQL5","signatures":["ulong PositionGetTicket(\n  int index\n)"],"returnType":"ulong","tasks":["positions"],"status":"verified","source":"https://www.mql5.com/en/docs/trading/positiongetticket","officialReference":"https://www.mql5.com/en/docs/trading/positiongetticket","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-positiongetticket"},{"kind":"function","interface":"MQL5","name":"PositionSelect","group":"Positions","summary":"Selects the open position in a symbol, so that PositionGetDouble(), PositionGetInteger() and PositionGetString() read it.","language":"MQL5","signatures":["bool PositionSelect(\n  string symbol\n)"],"returnType":"bool","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/trading/positionselect","officialReference":"https://www.mql5.com/en/docs/trading/positionselect","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-positionselect"},{"kind":"function","interface":"MQL5","name":"PositionSelectByTicket","group":"Positions","summary":"Selects an open position by its ticket, so that PositionGetDouble(), PositionGetInteger() and PositionGetString() read it.","language":"MQL5","signatures":["bool PositionSelectByTicket(\n  ulong ticket\n)"],"returnType":"bool","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/trading/positionselectbyticket","officialReference":"https://www.mql5.com/en/docs/trading/positionselectbyticket","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-positionselectbyticket"},{"kind":"function","interface":"MQL5","name":"PositionsTotal","group":"Positions","summary":"Returns how many positions are open on the account.","language":"MQL5","signatures":["int PositionsTotal()"],"returnType":"int","tasks":["positions"],"status":"verified","source":"https://www.mql5.com/en/docs/trading/positionstotal","officialReference":"https://www.mql5.com/en/docs/trading/positionstotal","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-positionstotal"},{"kind":"function","interface":"MQL5","name":"SymbolInfoDouble","group":"Symbols and prices","summary":"Returns one floating point property of a symbol, such as its bid, its ask or its point size.","language":"MQL5","signatures":["double SymbolInfoDouble(\n  string name,\n  ENUM_SYMBOL_INFO_DOUBLE prop_id\n)","bool SymbolInfoDouble(\n  string name,\n  ENUM_SYMBOL_INFO_DOUBLE prop_id,\n  double& double_var\n)"],"returnType":"double, or bool in the second form","tasks":["instrument-search"],"status":"verified","source":"https://www.mql5.com/en/docs/marketinformation/symbolinfodouble","officialReference":"https://www.mql5.com/en/docs/marketinformation/symbolinfodouble","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-symbolinfodouble"},{"kind":"function","interface":"MQL5","name":"SymbolInfoInteger","group":"Symbols and prices","summary":"Returns one integer property of a symbol, such as its spread, or whether that spread floats.","language":"MQL5","signatures":["long SymbolInfoInteger(\n  string name,\n  ENUM_SYMBOL_INFO_INTEGER prop_id\n)","bool SymbolInfoInteger(\n  string name,\n  ENUM_SYMBOL_INFO_INTEGER prop_id,\n  long& long_var\n)"],"returnType":"long, or bool in the second form","tasks":["instrument-search"],"status":"verified","source":"https://www.mql5.com/en/docs/marketinformation/symbolinfointeger","officialReference":"https://www.mql5.com/en/docs/marketinformation/symbolinfointeger","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-symbolinfointeger"},{"kind":"function","interface":"MQL5","name":"SymbolInfoString","group":"Symbols and prices","summary":"Returns one text property of a symbol, such as its description or its base and profit currencies.","language":"MQL5","signatures":["string SymbolInfoString(\n  string name,\n  ENUM_SYMBOL_INFO_STRING prop_id\n)","bool SymbolInfoString(\n  string name,\n  ENUM_SYMBOL_INFO_STRING prop_id,\n  string& string_var\n)"],"returnType":"string, or bool in the second form","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/marketinformation/symbolinfostring","officialReference":"https://www.mql5.com/en/docs/marketinformation/symbolinfostring","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-symbolinfostring"},{"kind":"function","interface":"MQL5","name":"SymbolInfoTick","group":"Symbols and prices","summary":"Writes the current prices of a symbol, with the time they were last updated, into an MqlTick structure.","language":"MQL5","signatures":["bool SymbolInfoTick(\n  string symbol,\n  MqlTick& tick\n)"],"returnType":"bool","tasks":["price-snapshot"],"status":"verified","source":"https://www.mql5.com/en/docs/marketinformation/symbolinfotick","officialReference":"https://www.mql5.com/en/docs/marketinformation/symbolinfotick","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-symbolinfotick"},{"kind":"function","interface":"MQL5","name":"SymbolName","group":"Symbols and prices","summary":"Returns the name of the symbol at a place in the list of symbols.","language":"MQL5","signatures":["string SymbolName(\n  int pos,\n  bool selected\n)"],"returnType":"string","tasks":["instrument-search"],"status":"verified","source":"https://www.mql5.com/en/docs/marketinformation/symbolname","officialReference":"https://www.mql5.com/en/docs/marketinformation/symbolname","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-symbolname"},{"kind":"function","interface":"MQL5","name":"SymbolSelect","group":"Symbols and prices","summary":"Adds a symbol to the Market Watch window, or removes it.","language":"MQL5","signatures":["bool SymbolSelect(\n  string name,\n  bool select\n)"],"returnType":"bool","tasks":[],"status":"verified","source":"https://www.mql5.com/en/docs/marketinformation/symbolselect","officialReference":"https://www.mql5.com/en/docs/marketinformation/symbolselect","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-symbolselect"},{"kind":"function","interface":"MQL5","name":"SymbolsTotal","group":"Symbols and prices","summary":"Returns how many symbols are available: those selected in Market Watch, or all of them.","language":"MQL5","signatures":["int SymbolsTotal(\n  bool selected\n)"],"returnType":"int","tasks":["instrument-search"],"status":"verified","source":"https://www.mql5.com/en/docs/marketinformation/symbolstotal","officialReference":"https://www.mql5.com/en/docs/marketinformation/symbolstotal","checked":"2026-10-12","page":"https://openbrokerapi.com/platforms/metatrader-5/functions/mql5-symbolstotal"}]},"limits":{"licence":"CC BY 4.0","register":"https://openbrokerapi.com/data/limits.json","structure":"structuredValue, structuredUnit and windowSeconds restate a limit as numbers where its own value and unit, or the opening of its text, state them outright: a count, optionally what is counted, and a window. They are read by a fixed pattern and are null wherever the pattern does not fit, so a null means not restated, not that there is no limit. windowSeconds is null for an allowance that is not a rate. structuredUnit is null where the wording does not name what is counted. A week is taken as 7 days. They add nothing to the record: value, unit, text and scope are unchanged and remain the record. A record whose status is conflicting has a second reading under conflict, which these fields do not restate.","records":[]},"errors":{"licence":"All rights reserved","leftOut":"The meaning and the fix of each error. They are this site's own writing, which the open licence does not cover, so each record gives the address of the page that holds them.","index":"https://openbrokerapi.com/errors/mt5","register":"https://openbrokerapi.com/data/errors.json","records":[{"code":"-1","http":null,"category":"library-error-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5lasterror_py","checked":"2026-09-19","page":"https://openbrokerapi.com/errors/mt5/res-e-fail"},{"code":"-2","http":null,"category":"library-error-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5lasterror_py","checked":"2026-09-19","page":"https://openbrokerapi.com/errors/mt5/res-e-invalid-params"},{"code":"-3","http":null,"category":"library-error-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5lasterror_py","checked":"2026-09-19","page":"https://openbrokerapi.com/errors/mt5/res-e-no-memory"},{"code":"-4","http":null,"category":"library-error-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5lasterror_py","checked":"2026-09-19","page":"https://openbrokerapi.com/errors/mt5/res-e-not-found"},{"code":"-5","http":null,"category":"library-error-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5lasterror_py","checked":"2026-09-19","page":"https://openbrokerapi.com/errors/mt5/res-e-invalid-version"},{"code":"-6","http":null,"category":"library-error-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5lasterror_py","checked":"2026-09-19","page":"https://openbrokerapi.com/errors/mt5/res-e-auth-failed"},{"code":"-7","http":null,"category":"library-error-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5lasterror_py","checked":"2026-09-19","page":"https://openbrokerapi.com/errors/mt5/res-e-unsupported"},{"code":"-8","http":null,"category":"library-error-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5lasterror_py","checked":"2026-09-19","page":"https://openbrokerapi.com/errors/mt5/minus-8-res-e-auto-trading-disabled"},{"code":"-10000","http":null,"category":"library-error-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5lasterror_py","checked":"2026-09-19","page":"https://openbrokerapi.com/errors/mt5/res-e-internal-fail"},{"code":"-10001","http":null,"category":"library-error-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5lasterror_py","checked":"2026-09-19","page":"https://openbrokerapi.com/errors/mt5/res-e-internal-fail-send"},{"code":"-10002","http":null,"category":"library-error-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5lasterror_py","checked":"2026-09-19","page":"https://openbrokerapi.com/errors/mt5/res-e-internal-fail-receive"},{"code":"-10003","http":null,"category":"library-error-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5lasterror_py","checked":"2026-09-19","page":"https://openbrokerapi.com/errors/mt5/minus-10003-res-e-internal-fail-init"},{"code":"-10003","http":null,"category":"library-error-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5lasterror_py","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/res-e-internal-fail-connect"},{"code":"-10005","http":null,"category":"library-error-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5lasterror_py","checked":"2026-09-19","page":"https://openbrokerapi.com/errors/mt5/res-e-internal-fail-timeout"},{"code":"0","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/0-err-success"},{"code":"1","http":null,"category":"library-error-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/python_metatrader5/mt5lasterror_py","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/1-res-s-ok"},{"code":"4001","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4001-err-internal-error"},{"code":"4002","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4002-err-wrong-internal-parameter"},{"code":"4003","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4003-err-invalid-parameter"},{"code":"4004","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4004-err-not-enough-memory"},{"code":"4005 ERR_STRUCT_WITHOBJECTS_ORCLASS","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4005"},{"code":"4006","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4006-err-invalid-array"},{"code":"4007","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4007-err-array-resize-error"},{"code":"4008","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4008-err-string-resize-error"},{"code":"4009","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4009-err-notinitialized-string"},{"code":"4010","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4010-err-invalid-datetime"},{"code":"4011","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4011-err-array-bad-size"},{"code":"4012","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4012-err-invalid-pointer"},{"code":"4013","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4013-err-invalid-pointer-type"},{"code":"4014","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4014-err-function-not-allowed"},{"code":"4015","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4015-err-resource-name-duplicated"},{"code":"4016","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4016-err-resource-not-found"},{"code":"4017 ERR_RESOURCE_UNSUPPORTED_TYPE","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4017"},{"code":"4018 ERR_RESOURCE_NAME_IS_TOO_LONG","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4018"},{"code":"4019","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4019-err-math-overflow"},{"code":"4020","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4020-err-sleep-error"},{"code":"4022","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4022-err-program-stopped"},{"code":"4023","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4023-err-invalid-type"},{"code":"4024","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4024-err-invalid-handle"},{"code":"4025","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4025-err-too-many-objects"},{"code":"4101","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4101-err-chart-wrong-id"},{"code":"4102","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4102-err-chart-no-reply"},{"code":"4103","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4103-err-chart-not-found"},{"code":"4104","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4104-err-chart-no-expert"},{"code":"4105","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4105-err-chart-cannot-open"},{"code":"4106","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4106-err-chart-cannot-change"},{"code":"4107","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4107-err-chart-wrong-parameter"},{"code":"4108 ERR_CHART_CANNOT_CREATE_TIMER","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4108"},{"code":"4109","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4109-err-chart-wrong-property"},{"code":"4110","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4110-err-chart-screenshot-failed"},{"code":"4111","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4111-err-chart-navigate-failed"},{"code":"4112","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4112-err-chart-template-failed"},{"code":"4113","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4113-err-chart-window-not-found"},{"code":"4114 ERR_CHART_INDICATOR_CANNOT_ADD","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4114"},{"code":"4115 ERR_CHART_INDICATOR_CANNOT_DEL","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4115"},{"code":"4116 ERR_CHART_INDICATOR_NOT_FOUND","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4116"},{"code":"4201","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4201-err-object-error"},{"code":"4202","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4202-err-object-not-found"},{"code":"4203","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4203-err-object-wrong-property"},{"code":"4204","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4204-err-object-getdate-failed"},{"code":"4205","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4205-err-object-getvalue-failed"},{"code":"4301","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4301-err-market-unknown-symbol"},{"code":"4302","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4302-err-market-not-selected"},{"code":"4303","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4303-err-market-wrong-property"},{"code":"4304","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4304-err-market-lasttime-unknown"},{"code":"4305","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4305-err-market-select-error"},{"code":"4306","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4306-err-market-select-limit"},{"code":"4307","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4307-err-market-session-index"},{"code":"4401","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4401-err-history-not-found"},{"code":"4402","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4402-err-history-wrong-property"},{"code":"4403","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4403-err-history-timeout"},{"code":"4404","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4404-err-history-bars-limit"},{"code":"4405","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4405-err-history-load-errors"},{"code":"4407","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4407-err-history-small-buffer"},{"code":"4501","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4501-err-globalvariable-not-found"},{"code":"4502","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4502-err-globalvariable-exists"},{"code":"4503 ERR_GLOBALVARIABLE_NOT_MODIFIED","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4503"},{"code":"4504 ERR_GLOBALVARIABLE_CANNOTREAD","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4504"},{"code":"4505 ERR_GLOBALVARIABLE_CANNOTWRITE","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4505"},{"code":"4510","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4510-err-mail-send-failed"},{"code":"4511","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4511-err-play-sound-failed"},{"code":"4512","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4512-err-mql5-wrong-property"},{"code":"4513","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4513-err-terminal-wrong-property"},{"code":"4514","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4514-err-ftp-send-failed"},{"code":"4515","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4515-err-notification-send-failed"},{"code":"4516 ERR_NOTIFICATION_WRONG_PARAMETER","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4516"},{"code":"4517 ERR_NOTIFICATION_WRONG_SETTINGS","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4517"},{"code":"4518 ERR_NOTIFICATION_TOO_FREQUENT","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4518"},{"code":"4519","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4519-err-ftp-noserver"},{"code":"4520","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4520-err-ftp-nologin"},{"code":"4521","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4521-err-ftp-file-error"},{"code":"4522","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4522-err-ftp-connect-failed"},{"code":"4523","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4523-err-ftp-changedir"},{"code":"4601","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4601-err-buffers-no-memory"},{"code":"4602","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4602-err-buffers-wrong-index"},{"code":"4603","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4603-err-custom-wrong-property"},{"code":"4701","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4701-err-account-wrong-property"},{"code":"4751","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4751-err-trade-wrong-property"},{"code":"4752","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4752-err-trade-disabled"},{"code":"4753","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4753-err-trade-position-not-found"},{"code":"4754","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4754-err-trade-order-not-found"},{"code":"4755","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4755-err-trade-deal-not-found"},{"code":"4756","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4756-err-trade-send-failed"},{"code":"4758","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4758-err-trade-calc-failed"},{"code":"4801","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4801-err-indicator-unknown-symbol"},{"code":"4802","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4802-err-indicator-cannot-create"},{"code":"4803","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4803-err-indicator-no-memory"},{"code":"4804","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4804-err-indicator-cannot-apply"},{"code":"4805","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4805-err-indicator-cannot-add"},{"code":"4806","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4806-err-indicator-data-not-found"},{"code":"4807","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4807-err-indicator-wrong-handle"},{"code":"4808 ERR_INDICATOR_WRONG_PARAMETERS","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4808"},{"code":"4809 ERR_INDICATOR_PARAMETERS_MISSING","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4809"},{"code":"4810","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4810-err-indicator-custom-name"},{"code":"4811","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4811-err-indicator-parameter-type"},{"code":"4812","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4812-err-indicator-wrong-index"},{"code":"4901","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4901-err-books-cannot-add"},{"code":"4902","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4902-err-books-cannot-delete"},{"code":"4903","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4903-err-books-cannot-get"},{"code":"4904","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/4904-err-books-cannot-subscribe"},{"code":"5001","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5001-err-too-many-files"},{"code":"5002","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5002-err-wrong-filename"},{"code":"5003","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5003-err-too-long-filename"},{"code":"5004","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5004-err-cannot-open-file"},{"code":"5005","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5005-err-file-cachebuffer-error"},{"code":"5006","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5006-err-cannot-delete-file"},{"code":"5007","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5007-err-invalid-filehandle"},{"code":"5008","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5008-err-wrong-filehandle"},{"code":"5009","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5009-err-file-nottowrite"},{"code":"5010","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5010-err-file-nottoread"},{"code":"5011","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5011-err-file-notbin"},{"code":"5012","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5012-err-file-nottxt"},{"code":"5013","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5013-err-file-nottxtorcsv"},{"code":"5014","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5014-err-file-notcsv"},{"code":"5015","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5015-err-file-readerror"},{"code":"5016","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5016-err-file-binstringsize"},{"code":"5017","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5017-err-incompatible-file"},{"code":"5018","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5018-err-file-is-directory"},{"code":"5019","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5019-err-file-not-exist"},{"code":"5020","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5020-err-file-cannot-rewrite"},{"code":"5021","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5021-err-wrong-directoryname"},{"code":"5022","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5022-err-directory-not-exist"},{"code":"5023","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5023-err-file-isnot-directory"},{"code":"5024","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5024-err-cannot-delete-directory"},{"code":"5025","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5025-err-cannot-clean-directory"},{"code":"5026","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5026-err-file-writeerror"},{"code":"5027","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5027-err-file-endoffile"},{"code":"5030","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5030-err-no-string-date"},{"code":"5031","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5031-err-wrong-string-date"},{"code":"5032","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5032-err-wrong-string-time"},{"code":"5033","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5033-err-string-time-error"},{"code":"5034","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5034-err-string-out-of-memory"},{"code":"5035","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5035-err-string-small-len"},{"code":"5036","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5036-err-string-too-bignumber"},{"code":"5037","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5037-err-wrong-formatstring"},{"code":"5038","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5038-err-too-many-formatters"},{"code":"5039","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5039-err-too-many-parameters"},{"code":"5040","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5040-err-wrong-string-parameter"},{"code":"5041","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5041-err-stringpos-outofrange"},{"code":"5042","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5042-err-string-zeroadded"},{"code":"5043","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5043-err-string-unknowntype"},{"code":"5044","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5044-err-wrong-string-object"},{"code":"5050","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5050-err-incompatible-arrays"},{"code":"5051","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5051-err-small-asseries-array"},{"code":"5052","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5052-err-small-array"},{"code":"5053","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5053-err-zerosize-array"},{"code":"5054","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5054-err-number-arrays-only"},{"code":"5055","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5055-err-onedim-arrays-only"},{"code":"5056","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5056-err-series-array"},{"code":"5057","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5057-err-double-array-only"},{"code":"5058","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5058-err-float-array-only"},{"code":"5059","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5059-err-long-array-only"},{"code":"5060","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5060-err-int-array-only"},{"code":"5061","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5061-err-short-array-only"},{"code":"5062","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5062-err-char-array-only"},{"code":"5063","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5063-err-string-array-only"},{"code":"5100","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5100-err-opencl-not-supported"},{"code":"5101","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5101-err-opencl-internal"},{"code":"5102","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5102-err-opencl-invalid-handle"},{"code":"5103","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5103-err-opencl-context-create"},{"code":"5104","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5104-err-opencl-queue-create"},{"code":"5105","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5105-err-opencl-program-create"},{"code":"5106 ERR_OPENCL_TOO_LONG_KERNEL_NAME","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5106"},{"code":"5107","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5107-err-opencl-kernel-create"},{"code":"5108 ERR_OPENCL_SET_KERNEL_PARAMETER","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5108"},{"code":"5109","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5109-err-opencl-execute"},{"code":"5110","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5110-err-opencl-wrong-buffer-size"},{"code":"5111 ERR_OPENCL_WRONG_BUFFER_OFFSET","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5111"},{"code":"5112","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5112-err-opencl-buffer-create"},{"code":"5113","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5113-err-opencl-too-many-objects"},{"code":"5114","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5114-err-opencl-selectdevice"},{"code":"5120","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5120-err-database-internal"},{"code":"5121","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5121-err-database-invalid-handle"},{"code":"5122 ERR_DATABASE_TOO_MANY_OBJECTS","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5122"},{"code":"5123","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5123-err-database-connect"},{"code":"5124","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5124-err-database-execute"},{"code":"5125","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5125-err-database-prepare"},{"code":"5126","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5126-err-database-no-more-data"},{"code":"5127","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5127-err-database-step"},{"code":"5128","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5128-err-database-not-ready"},{"code":"5129","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5129-err-database-bind-parameters"},{"code":"5200 ERR_WEBREQUEST_INVALID_ADDRESS","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5200"},{"code":"5201 ERR_WEBREQUEST_CONNECT_FAILED","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5201"},{"code":"5202","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5202-err-webrequest-timeout"},{"code":"5203 ERR_WEBREQUEST_REQUEST_FAILED","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5203"},{"code":"5270","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5270-err-netsocket-invalidhandle"},{"code":"5271 ERR_NETSOCKET_TOO_MANY_OPENED","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5271"},{"code":"5272","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5272-err-netsocket-cannot-connect"},{"code":"5273","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5273-err-netsocket-io-error"},{"code":"5274 ERR_NETSOCKET_HANDSHAKE_FAILED","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5274"},{"code":"5275","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5275-err-netsocket-no-certificate"},{"code":"5300","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5300-err-not-custom-symbol"},{"code":"5301","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5301-err-custom-symbol-wrong-name"},{"code":"5302","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5302-err-custom-symbol-name-long"},{"code":"5303","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5303-err-custom-symbol-path-long"},{"code":"5304","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5304-err-custom-symbol-exist"},{"code":"5305","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5305-err-custom-symbol-error"},{"code":"5306","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5306-err-custom-symbol-selected"},{"code":"5307 ERR_CUSTOM_SYMBOL_PROPERTY_WRONG","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5307"},{"code":"5308 ERR_CUSTOM_SYMBOL_PARAMETER_ERROR","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5308"},{"code":"5309 ERR_CUSTOM_SYMBOL_PARAMETER_LONG","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5309"},{"code":"5310","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5310-err-custom-ticks-wrong-order"},{"code":"5400","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5400-err-calendar-more-data"},{"code":"5401","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5401-err-calendar-timeout"},{"code":"5402","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5402-err-calendar-no-data"},{"code":"5601","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5601-err-database-error"},{"code":"5602","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5602-err-database-logic"},{"code":"5603","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5603-err-database-perm"},{"code":"5604","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5604-err-database-abort"},{"code":"5605","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5605-err-database-busy"},{"code":"5606","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5606-err-database-locked"},{"code":"5607","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5607-err-database-nomem"},{"code":"5608","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5608-err-database-readonly"},{"code":"5609","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5609-err-database-interrupt"},{"code":"5610","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5610-err-database-ioerr"},{"code":"5611","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5611-err-database-corrupt"},{"code":"5612","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5612-err-database-notfound"},{"code":"5613","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5613-err-database-full"},{"code":"5614","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5614-err-database-cantopen"},{"code":"5615","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5615-err-database-protocol"},{"code":"5616","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5616-err-database-empty"},{"code":"5617","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5617-err-database-schema"},{"code":"5618","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5618-err-database-toobig"},{"code":"5619","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5619-err-database-constraint"},{"code":"5620","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5620-err-database-mismatch"},{"code":"5621","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5621-err-database-misuse"},{"code":"5622","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5622-err-database-nolfs"},{"code":"5623","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5623-err-database-auth"},{"code":"5624","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5624-err-database-format"},{"code":"5625","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5625-err-database-range"},{"code":"5626","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5626-err-database-notadb"},{"code":"5700","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5700-err-matrix-internal"},{"code":"5701","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5701-err-matrix-not-initialized"},{"code":"5702","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5702-err-matrix-inconsistent"},{"code":"5703","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5703-err-matrix-invalid-size"},{"code":"5704","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5704-err-matrix-invalid-type"},{"code":"5705","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5705-err-matrix-func-not-allowed"},{"code":"5706","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5706-err-matrix-contains-nan"},{"code":"5707","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5707-err-matrix-openblas"},{"code":"5708 ERR_MATRIX_OPENBLAS_PARAMETER","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5708"},{"code":"5800","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5800-err-onnx-internal"},{"code":"5801","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5801-err-onnx-not-initialized"},{"code":"5802","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5802-err-onnx-not-supported"},{"code":"5803","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5803-err-onnx-run-failed"},{"code":"5804 ERR_ONNX_INVALID_PARAMETERS_COUNT","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5804"},{"code":"5805","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5805-err-onnx-invalid-parameter"},{"code":"5806 ERR_ONNX_INVALID_PARAMETER_TYPE","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5806"},{"code":"5807 ERR_ONNX_INVALID_PARAMETER_SIZE","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5807"},{"code":"5808","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/5808-err-onnx-wrong-dimension"},{"code":"10004","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-09-19","page":"https://openbrokerapi.com/errors/mt5/trade-retcode-requote"},{"code":"10006","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-09-19","page":"https://openbrokerapi.com/errors/mt5/trade-retcode-reject"},{"code":"10007","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/10007-trade-retcode-cancel"},{"code":"10008","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/10008-trade-retcode-placed"},{"code":"10009","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/10009-trade-retcode-done"},{"code":"10010","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/10010-trade-retcode-done-partial"},{"code":"10011","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/10011-trade-retcode-error"},{"code":"10012","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/10012-trade-retcode-timeout"},{"code":"10013","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-09-19","page":"https://openbrokerapi.com/errors/mt5/trade-retcode-invalid"},{"code":"10014","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-09-19","page":"https://openbrokerapi.com/errors/mt5/trade-retcode-invalid-volume"},{"code":"10015","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-09-19","page":"https://openbrokerapi.com/errors/mt5/trade-retcode-invalid-price"},{"code":"10016","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-09-19","page":"https://openbrokerapi.com/errors/mt5/trade-retcode-invalid-stops"},{"code":"10017 TRADE_RETCODE_TRADE_DISABLED","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/10017"},{"code":"10018","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-09-19","page":"https://openbrokerapi.com/errors/mt5/trade-retcode-market-closed"},{"code":"10019","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-09-19","page":"https://openbrokerapi.com/errors/mt5/trade-retcode-no-money"},{"code":"10020","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/10020-trade-retcode-price-changed"},{"code":"10021","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/10021-trade-retcode-price-off"},{"code":"10022 TRADE_RETCODE_INVALID_EXPIRATION","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/10022"},{"code":"10023","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/10023-trade-retcode-order-changed"},{"code":"10024 TRADE_RETCODE_TOO_MANY_REQUESTS","http":null,"category":"platform-return-code","rateLimit":true,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/10024"},{"code":"10025","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/10025-trade-retcode-no-changes"},{"code":"10026 TRADE_RETCODE_SERVER_DISABLES_AT","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/10026"},{"code":"10027","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-09-19","page":"https://openbrokerapi.com/errors/mt5/trade-retcode-client-disables-at"},{"code":"10028","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/10028-trade-retcode-locked"},{"code":"10029","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/10029-trade-retcode-frozen"},{"code":"10030","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-09-22","page":"https://openbrokerapi.com/errors/mt5/10030"},{"code":"10031","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/10031-trade-retcode-connection"},{"code":"10032","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/10032-trade-retcode-only-real"},{"code":"10033","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/10033-trade-retcode-limit-orders"},{"code":"10034","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/10034-trade-retcode-limit-volume"},{"code":"10035","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/10035-trade-retcode-invalid-order"},{"code":"10036 TRADE_RETCODE_POSITION_CLOSED","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/10036"},{"code":"10038 TRADE_RETCODE_INVALID_CLOSE_VOLUME","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/10038"},{"code":"10039 TRADE_RETCODE_CLOSE_ORDER_EXIST","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/10039"},{"code":"10040 TRADE_RETCODE_LIMIT_POSITIONS","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/10040"},{"code":"10041","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/10041-trade-retcode-reject-cancel"},{"code":"10042","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/10042-trade-retcode-long-only"},{"code":"10043","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/10043-trade-retcode-short-only"},{"code":"10044","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/10044-trade-retcode-close-only"},{"code":"10045","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/10045-trade-retcode-fifo-close"},{"code":"10046 TRADE_RETCODE_HEDGE_PROHIBITED","http":null,"category":"platform-return-code","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/10046"},{"code":"65536","http":null,"category":"platform-runtime-error","rateLimit":null,"status":"verified","source":"https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/mt5/65536-err-user-error-first"}]},"mcpServers":{"licence":"CC BY 4.0","page":"https://openbrokerapi.com/ai/mcp-directory","register":"https://openbrokerapi.com/data/mcp-servers.json","records":[{"id":"mt5-native","name":"MetaTrader 5 native MCP","vendor":"MetaQuotes","owner":"metatrader-5","official":true,"officialNote":"Built into the terminal. Build 6060 released 23 July 2026, beta 6030 on 16 July 2026.","can":"Market information, chart analysis and the trading environment, and it can perform required operations through the standard MCP interface.","placesOrders":true,"posture":"gated","postureNote":"The strongest platform gate found. AI operations are governed by configurable security settings: allow, prohibit, or require manual confirmation.","custody":"local","custodyNote":"MQL5.community account with passkeys. Custom API keys for OpenAI, Anthropic, Gemini, DeepSeek and Ollama are held in the terminal.","demo":null,"demoNote":null,"maintained":"Yes. Build 6060 released 23 July 2026.","sources":[{"url":"https://www.metatrader5.com/en/releasenotes/terminal/2447","title":"MetaTrader 5 release notes","checked":"2026-09-24"}],"checked":"2026-09-24"},{"id":"mt5-community","name":"metatrader-mcp-server","vendor":"ariadng, community","owner":"metatrader-5","official":false,"officialNote":"Pre-dates the native MetaTrader 5 server, and is the largest community broker MCP found.","can":"Place, modify and close orders on live or demo MT5 accounts, market data, account balance, equity, margin and leverage, and position tracking. stdio, SSE, HTTP/REST and WebSocket.","placesOrders":true,"posture":"open","postureNote":"No dry run and no demo enforcement.","custody":"local","custodyNote":"Credentials via CLI arguments or environment variables. All credentials stay on your machine.","demo":null,"demoNote":null,"maintained":"795 stars, 255 forks, 141 commits, MIT, latest release v0.5.1, not archived, active.","sources":[{"url":"https://github.com/ariadng/metatrader-mcp-server","title":"ariadng/metatrader-mcp-server","checked":"2026-09-24"}],"checked":"2026-09-24"},{"id":"mql5-fastmcp","name":"MQL5 community FastMCP server","vendor":"MQL5 community article, 30 April 2026","owner":"metatrader-5","official":false,"officialNote":"A published article, not a vendor product.","can":"14 tools for MetaTrader 5, with destructive tools annotated as such.","placesOrders":true,"posture":"hitl","postureNote":"Uses destructiveHint: True annotations so well behaved clients prompt for confirmation. The gate belongs to the client, not the server, so a badly behaved client removes it.","custody":null,"custodyNote":"Not documented in the article.","demo":null,"demoNote":"Not documented in the article.","maintained":"Article dated 30 April 2026.","sources":[{"url":"https://www.mql5.com/en/articles/21905","title":"MQL5 article 21905, 30 April 2026","checked":"2026-09-24"}],"checked":"2026-09-24"}],"noneFound":[]},"partnerProgramme":{"licence":"CC BY 4.0","register":"https://openbrokerapi.com/data/programmes.json","page":"https://openbrokerapi.com/partners/metatrader-5","record":{"id":"metatrader-5","firm":"MetaQuotes","programmeType":"not-verified","pagesOpened":[],"publishedFigure":null,"figureAsWorded":"not verified this cycle: no programme page was opened","figureIsCeiling":false,"figureNote":null,"restrictionsForPublishers":"No programme page was opened this cycle, so no restriction is recorded. The address tried returned HTTP 404, which is not evidence that the firm runs no programme.","documentsNotOpened":null,"checked":"2026-10-05","verification":"not-verified"}},"changes":{"licence":"CC BY 4.0","page":"https://openbrokerapi.com/changes","register":"https://openbrokerapi.com/data/changes.json","checkedMeans":"checked is the day the source was last opened. It is null where the register does not record one: read that as not recorded.","records":[{"id":"metatrader-5-2026-09-05-1","date":"2026-09-05","kind":"additive","text":"MetaTrader5 Python package 5.0.6180 on PyPI, Windows x86-64 builds for Python 3.6 to 3.14, so a Linux host still needs a bridge. It follows 5.0.6162 (3 Sep), 5.0.6147 (27 Aug), 5.0.6090 (1 Aug) and 5.0.6070 (28 Jul).","source":"https://pypi.org/project/MetaTrader5/","sourceTitle":"MetaTrader5 on PyPI","checked":"2026-09-20"},{"id":"metatrader-5-2026-09-03-1","date":"2026-09-03","kind":"additive","text":"Build 6180, 3 Sep 2026, is the current MetaTrader 5 build. It gave the AI Assistant Strategy Tester powers: retrieving tester reports, launching optimisations, and reading tester and expert advisor logs. The 6180 page does not itself use the word MCP, and the MQL5 language reference still carries no MCP section, so MCP remains a terminal feature rather than a language feature.","source":"https://www.metatrader5.com/en/releasenotes","sourceTitle":"MetaQuotes: what is new in MetaTrader 5","checked":"2026-09-18"},{"id":"metatrader-5-2026-08-20-1","date":"2026-08-20","kind":"additive","text":"Build 6140 added LLM providers including Alibaba, Cerebras and z.ai, added an MCP tool to halt the Strategy Tester, and cut the built-in MQL5.community context window from 1,000,000 to 500,000 tokens.","source":"https://www.metatrader5.com/en/releasenotes","sourceTitle":"MetaQuotes: what is new in MetaTrader 5","checked":"2026-09-18"},{"id":"metatrader-5-2026-07-30-1","date":"2026-07-30","kind":"additive","text":"Build 6090 expanded MCP methods so an assistant can add indicators to charts and list available indicators with their parameters, and disabled the AI Assistant on Windows 7.","source":"https://www.metatrader5.com/en/releasenotes/terminal/2450","sourceTitle":"MetaQuotes: what is new in MetaTrader 5","checked":"2026-09-22"},{"id":"metatrader-5-2026-07-30-2","date":"2026-07-30","kind":"change","text":"MetaTrader 5 build 6090 was a general improvements update and included an updated Python integration package.","source":"https://www.metatrader5.com/en/releasenotes/terminal/2450","sourceTitle":"MetaTrader 5 Platform Update Build 6090: General Improvements","checked":"2026-09-22"},{"id":"metatrader-5-2026-07-23-1","date":"2026-07-23","kind":"additive","text":"Build 6060 added native MCP and agentic AI support to the terminal, plus passkey authentication and separate Trader and Money manager access levels.","source":"https://www.metatrader5.com/en/releasenotes/terminal/2447","sourceTitle":"MetaQuotes: what is new in MetaTrader 5","checked":"2026-09-22"},{"id":"metatrader-5-2026-07-23-2","date":"2026-07-23","kind":"additive","text":"MetaTrader 5 build 6060 ships native MCP support and AI Assistants in the terminal and MetaEditor. AI initiated trading can be allowed, prohibited or set to need manual confirmation.","source":"https://www.metatrader5.com/en/releasenotes/terminal/2447","sourceTitle":"MT5 Build 6060 release notes","checked":"2026-09-22"},{"id":"metatrader-5-2026-06-26-1","date":"2026-06-26","kind":"additive","text":"MetaTrader 5 beta build 5955 introduces MCP and agentic AI in the terminal.","source":"https://www.mql5.com/en/forum/511825","sourceTitle":"MQL5 forum: Build 5955 beta, MCP and agentic AI","checked":null},{"id":"metatrader-5-2026-04-04-1","date":"2026-04-04","kind":"change","text":"MetaTrader5 Python package 5.0.5735 on PyPI, after 5.0.5640 (20 Feb), 5.0.5572 (31 Jan), 5.0.5509 (20 Jan) and 5.0.5488 (5 Jan 2026).","source":"https://pypi.org/project/MetaTrader5/","sourceTitle":"PyPI: MetaTrader5 release history","checked":"2026-09-20"},{"id":"metatrader-5-2025-06-05-1","date":"2025-06-05","kind":"ecosystem","text":"MetaTrader 5 build 5100 replaced Subversion with Git for MQL5 Storage and launched the MQL5 Algo Forge developer hub.","source":"https://www.metatrader5.com/en/releasenotes/terminal/2393","sourceTitle":"New MetaTrader 5 Platform Build 5100: Transition to Git and MQL5 Algo Forge developer hub","checked":null}]}}