TERMINAL_INFO Command
Get information from the Metatrader terminal application
Help
Example
Single Line command (necessary for MTsocketAPI):
Same command in Beauty Format:
MTsocketAPI reply:
{
"MSG":"TERMINAL_INFO",
"LANGUAGE":"English",
"COMPANY":"Any Company",
"NAME":"Any Company MetaTrader 5",
"PATH":"C:\\Program Files\\Darwinex MetaTrader 5",
"DATA_PATH":"C:\\Users\\user1\\AppData\\Roaming\\MetaQuotes\\Terminal\\6C3C6A1FDFSFSF21BF8028",
"COMMONDATA_PATH":"C:\\Users\\user1\\AppData\\Roaming\\MetaQuotes\\Terminal\\Common",
"BUILD":3440,
"COMMUNITY_ACCOUNT":0,
"COMMUNITY_CONNECTION":0,
"CONNECTED":1,
"DLLS_ALLOWED":1,
"TRADE_ALLOWED":1,
"EMAIL_ENABLED":0,
"FTP_ENABLED":0,
"NOTIFICATIONS_ENABLED":0,
"MAXBARS":100000,
"MQID":0,
"CODEPAGE":0,
"CPU_CORES":8,
"DISK_SPACE":15361,
"MEMORY_PHYSICAL":8060,
"MEMORY_TOTAL":16120,
"MEMORY_AVAILABLE":15729,
"MEMORY_USED":391,
"SCREEN_DPI":96,
"PING_LAST":37515,
"ERROR_ID":0,
"ERROR_DESCRIPTION":"The operation completed successfully",
"DEMO":"MTsocketAPI running in DEMO mode (www.mtsocketapi.com)"
}
Note
Information about each field can be read here.