Previous Next

*Please note that due to a major overhaul of Glib, our documentation is currently being revised and updated. We appreciate your patience and understanding during this process. Stay tuned for the latest, up-to-date information on Glib features and functionalities.


Glib consists of several classes with extended functions and pattern recognition.

It includes functions for using chart formations, support and resistance lines including pivot points, as well as functions for simple trading operations.

If you have downloaded all the data from Glib and sorted it correctly, this library is located in the working directory of the terminal in the Include folder.

You can add the library to your project through the simple #include and have access to the classes immediately:

#include <Glib.mqh>



Basic structures and enumerations

The basic structures and enumerations used for the data input/output of the Glib classes.


A simple and fast way to use the ZigZag indicator with extended data.


Automatically creates support and resistance lines including pivot points through multiple time units.


Automatically detects the 15 most traded chart formations on multiple time units.


The possibility to open, modify or close trades extremely easy and fast.


Contains useful functions and information about bars.