Documentation

Data Structures

This section contains the technical details of working with various data structures (arrays, linked lists, etc.) and description of the relevant components of the MQL5 Standard Library .

Using classes of data structures, will save time when creating custom data stores of various formats (including composite data structures).

MQL5 Standard Library (in terms of data sets) is placed in the working directory of the terminal in the Include\Arrays folder.

Data Arrays

Use of classes of dynamic arrays of data will save time when creating a custom data stores of various formats (including multidimensional arrays).

MQL5 Standard Library (in terms of arrays of data) is placed in the working directory of the terminal in the Include\Arrays folder.

Class

Description

Base class of dynamic data array CArray

Base class of dynamic data array

CArrayChar

Dynamic array of variables of type char or uchar

CArrayShort

Dynamic array of variables of type short or ushort

CArrayInt

Dynamic array of variables of type int or uint

CArrayLong

Dynamic array of variables of type long or ulong

CArrayFloat

Dynamic array of variables of type float

CArrayDouble

Dynamic array of variables of type double

CArrayString

Dynamic array of variables of type string

Base class of object array CArrayObj

Dynamic array of pointers CObject

Base class of list CList

Provides the ability to work with a list of instances of CObject and its descendant

CTreeNode

Provides the ability to work with nodes of the binary tree CTree

CTree

Provides the ability to work with the binary tree of the CTreeNode class instances and its descendants