Skip to content

Data Collections

Data Structures

This section contains the technical details on 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 data arrays 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 located in the working directory of the terminal in the Include\Arrays folder.

ClassDescription
CArrayBase class of dynamic data array
CArrayCharDynamic array of char or uchar variables
CArrayShortDynamic array of short or ushort variables
CArrayIntDynamic array of int or uint variables
CArrayLongDynamic array of long or ulong variables
CArrayFloatDynamic array of float variables
CArrayDoubleDynamic array of double variables
CArrayStringDynamic array of string variables
CArrayObjDynamic array of CObject pointers
CListProvides the ability to work with a list of instances of CObject class and its descendants
CTreeNodeProvides the ability to work with nodes of the CTree binary tree
CTreeProvides the ability to work with the binary tree of the CTreeNode class instances and its descendants
Last updated on