Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Access the CodeBase from your MetaTrader 5 terminal
Couldn't find the right code? Order it in the Freelance section
How to Write an Expert Advisor or an Indicator

Top libraries for MetaTrader 5 based on user ratings - 3

Submit your code

Crossover of overbought/oversold levels of Chande Momentum Oscillator is used as a signal to open positions.

Trading signals module for MQL5 Wizard. The moment, when NonLagDot indicator changes its color, indicates the time for market entry.

Trading signals module for MQL5 Wizard. SuperTrend indicator's color dot serves as a market entry signal.

Graphical control for pixel drawing.

The class allows to organize the mini time series, indicator minibuffers, short sized buffers to store intermediate stream data inside the Expert Advisor or indicator.

The module for tracking open positions based on Delta ZigZag for MQL5 Wizard.

MqlParams container class that uses method chaining to quickly add params and reduce lines of code.

A library for creating analog clocks using MetaTrader 4/5 graphical resources.

A library for common rounding methods used in MQL development, primitive wrapper class for type (double), and vector for CDouble objects. MQL5 and MQL4 compatible!

Libraries based on the article "Random decision forest in reinforcement learning"

A base class to simplify analyzing trade transactions in MQL5.

The CDemaOnArray class is intended for calculation of DEMA (Double Exponential Moving Average) on an indicator buffer.

CCHOOnArray class is designed for calculation of Chaikin Oscillator (CHO) values on indicator buffers. Test_CHOOnArray indicator is provided as the example of the class use.

The CFastFile eliminates the need for an intermediate writing of data to the physical file on disk. It provides the significant acceleration when working with data.

Library to work with Skype.

A library of classes for creating a user-friendly interface of your programs.

Regular expressions provide a formal language for quick and flexible processing of texts. Each regular expression is a pattern (mask), for which the regular expression engine tries to find matches in the source text. A pattern consists of one or more character literals, operators, or constructs.

A library for working with traditional and custom symbols

Printing GetLastError() and MqlTradeResult retcode as text description.

Virtual trading environment

Long Short-Term Memory Neural Network - for time series analysis.

A class for easy access to the closed position properties.

Trend indicator similar to Ichimoku Kinko Hyo, with a number of drawing options and calculation parameters.

This class provides methods for working with Windows *.ini files.

The library contains the following hash functions: adler32, CRC-32, MaHash8v64. Also it has functions for radix conversion of a number.

The script contains a class, that can be used to solve mathematical and logical expressions, defined as string.

Trading signals module for MQL5 Wizard. WPRSIsignal indicator's color arrow serves as a market entry signal.

The class realizes generalized regression network (General Regression Neural Network - GRNN)

Class for exchanging data between programs. It allows to pass structures of arbitrary size via the global variables of the terminal from one program to another.

Many traders are interested in native work with the BTC-e exchange directly from MetaTrader. In the exchange API, it is necessary to send data with the confirmation of parameters validity through HMAC-SHA512. The algorithm of SHA512 and HMAC calculation is implemented in this class.

Handy functions for comparison, rounding, formatting and debugging of doubles (prices, lots and money).

Multi-currency Expert Advisor functional module for organization of an access to any historical data with a request result processing.

New CCalendarInputBox control element of the IncGUI library has been designed for date and/or time input.

Trading signals module based on Delta ZigZag indicator.

FuzzyNet library for developing fuzzy models was written in C#. While converting to MQL5, 8 membership functions and 4 defuzzification methods for Mamdani-type systems were added to the library.

Original mathematical functions taken from different places, which either do not have analogues or perform much faster than alternative implementations

A library for reading/writing the parameters of arbitrary Expert Advisors.

A class to reconstruct closed trades (paired in/out deals) from history sorted by close time.

Smooth Algorithms fixed version plus Trade Algorithms plus full operational EA, plus two indicators . So you will get complete project where you be able to see example how to use and implement this libraries

All we want is to think about algorithms and methods, not about syntax and values how to place orders. Here you have simple functions to manage positions in MQL5.

123456789