MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Automated Trading Language Documentation

DXMA Indicator
DXMA
Author: Kurl
Screenshot
GBPJPY, M5
Real
Subscribe to signal
Sfxasia1rb
46.88%, 1 468.81 USC
SLTP Control PanelSLTP Control Panel Try product
SLTP Control Panel
Author: Im_hungry
The Implementation of a Multi-currency Mode in MetaTrader 5 The Implementation of a Multi-currency Mode in MetaTrader 5
MQL5 ReferenceStandard LibraryClasses for Control Panels and Dialogs 

Classes for Creation of Control Panels and Dialogs

This section contains technical details of working with classes for creation of controls panels and description of the relevant components of the MQL5 standard library.

The use of these classes will save time when creating the control panels for MQL5 programs (Expert Advisors and indicators).

MQL5 Standard Library (in terms of controls) is placed in the client terminal data folder, in the MQL5\Include\Controls.

The example of Expert Advisor, which illustrates the working of these classes can be found in MQL5\Expert\Examples\Controls.

Auxiliary classes

Description

CPoint

Class of the point in Cartesian coordinates

CRect

Class of the rectangular area

Base classes

Description

CWnd

Base class for all controls

CWndObj

Base class for controls and dialogs

CWndContainer

Base class for complex controls (containing dependent controls)

Simple controls

Description

CLabel

Control, based on "Text label" graphic object

CBmpButton

Control, based on "Bitmap label" graphic object

CButton

Control, based on "Button" graphic object

CEdit

Control, based on "Edit field" graphic object

CPanel

Control, based on "Rectangle label"

CPicture

Control, based on "Bitmap label"

Complex controls

Description

CScroll

Base class of the scroll bar

CScrollV

Vertical scroll bar

CScrollH

Horizontal scroll bar

CWndClient

Base class of the client area with scroll bars

CListView

ListView

CComboBox

ComboBox

CCheckBox

CheckBox

CCheckGroup

CheckGroup

CRadioButton

RadioButton

CCheckGroup

CheckGroup

CSpinEdit

SpinEdit

CDialog

Dialog

CAppDialog

Application Dialog


Updated: 2012.04.06