Files
mql5-skills/skills/mql5/references/docs/34-standardlibrary/1514-standardlibrary-datastructures.md
T
2026-06-23 21:47:51 +08:00

1.6 KiB

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.

Class Description
CArray Base class of dynamic data array
CArrayChar Dynamic array of char or uchar variables
CArrayShort Dynamic array of short or ushort variables
CArrayInt Dynamic array of int or uint variables
CArrayLong Dynamic array of long or ulong variables
CArrayFloat Dynamic array of float variables
CArrayDouble Dynamic array of double variables
CArrayString Dynamic array of string variables
CArrayObj Dynamic array of CObject pointers
CList Provides the ability to work with a list of instances of CObject class and its descendants
CTreeNode Provides the ability to work with nodes of the CTree binary tree
CTree Provides the ability to work with the binary tree of the CTreeNode class instances and its descendants