Skip to content

CTerminalInfo

CTerminalInfo

CTerminalInfo is a class for simplified access to the properties of mql5 program environment.

Description

CTerminalInfo class provides access to the properties of mql5 program environment.

Declaration

class CTerminalInfo : public CObject

Title

#include <Trade\TerminalInfo.mqh>

Inheritance hierarchy

CObject

CTerminalInfo

Class methods by groups

Methods for access to the properties of integer type
BuildGets the build number of the client terminal
IsConnectedGets the information about connection to trade server
IsDLLsAllowedGets the information about permission of DLL usage
IsTradeAllowedGets the information about permission to trade
IsEmailEnabledGets the information about permission to send e-mails to SMTP server and login, specified in the terminal settings
IsFtpEnabledGets the information about permission to send trade reports to FTP server and login, specified in the terminal settings
MaxBarsGets the information about maximum number of bars on chart
CodePageGets the information about the code page of the language in the client terminal
CPUCoresGets the information about the CPU cores
MemoryPhysicalGets the information about the physical memory (in Mb)
MemoryTotalGets the information about the total memory available for the terminal/agent process (in Mb)
MemoryAvailableGets the information about the free memory available for the terminal/agent process (in Mb)
MemoryUsedGets the information about the memory used by the terminal/agent process (in Mb)
IsX64Gets the information about the type of the client terminal
OpenCLSupportGets the information about the version of OpenCL supported by video card
DiskSpaceGets the information about free disk space (in Mb)
Methods for access to the properties of string type
LanguageGets the language of the client terminal
NameGets the name of the client terminal
CompanyGets the company name of the client terminal
PathGets the folder of the client terminal
DataPathGets the data folder of the client terminal
CommonDataPathGets the common data folder of all client terminals, installed on the computer
Access to MQL5 API functions
InfoIntegerGets the value of the property of integer type
InfoStringGets the value of property of string type

Methods inherited from class CObject

: Prev, Prev, Next, Next, Save, Load, Type, Compare

Last updated on