Watch how to download trading robots for free
Find us on Telegram!
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 - 4

Submit your code

Library for working with files using WinAPI without location limitations.

CADXWOnArray class is designed for calculation of ADXW (Average Directional Movement Index Wilder, ADX Wilder) values on indicator buffers. The example of use of the class is provided.

CMACDOnArray class is designed for calculation of MACD (Moving Average Convergence/Divergence) values on indicator buffers. The example of use of the class is provided.

CDeMarkerOnArray class is designed for calculation of DeMarker values on indicator buffers.

Class for working with matrices.

Dedicated functions to read and write object properties.

This non-trading utility generates custom symbol information on 1M chart. Configure using Tick Size, Pip Size, Points or R. Now with Asymetric Reversals!

The API functions to Free Fuzzy Logic Library.

CMAOnArray class is used for Moving Average calculation on indicator buffer's data. The example of use of the class is provided.

The file selection graphical interface class.

Calculation of 32 digit string MD5-hash from transmitted byte array

The class to play music using the MIDI device

This class is designed for creating interactive buttons with various states on a price chart.

The CDebugLogger class is a flexible and comprehensive logging utility designed for use in MQL4/5 environments. It allows developers to log messages at various levels of importance (INFO, WARNING, ERROR, DEBUG) with options to include timestamps, function signatures, file names, and line numbers in the log entries. The class supports logging to both the console and files, with the ability to save logs in a common folder and in CSV format. Additionally, it offers functionality to silence logs based on specific keywords, ensuring that sensitive information is not logged. This class is ideal for developers looking to implement robust logging mechanisms in their MQL4/5 applications, with customizable features that cater to a wide range of debugging and monitoring needs.

CStdDevOnArray class is designed for calculation of Standard Deviation (StdDev) on indicator buffers. The example of use of the class is provided.

The CTemaOnArray class is intended for calculation of TEMA (Triple Exponential Moving Average) on an indicator buffer.

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

The class monitors the emergence of a candlestick

CADOnArray class is designed for calculation of AD (Accumulation Distribution, A/D) values on indicator buffers. Test_ADOnArray indicator is provided as the example of the class use.

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

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

The function that decrypts the code of the trade operation result for the functions OrderSend() and OrderCheck().

The MetaTrader 4/5 library allows generating reports based on the trading history.

This calculates Optimal f using the Geometric Mean. Per Ralph Vince, "In trading we can count on our wins being for varying amounts and our losses being for varying amounts. Therefore the Kelly formulas could not give us the correct optimal f." So, using his equation(s), I created this library for the Geometric Mean version of Optimal f.

A basic container for storing an ordered list of objects.

CStochasticOnArray class is designed for calculation of Stochastic indicator values on indicator buffers. The example of use of the class is provided.

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

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

A cross platform library/framework

CNetMLP provides multilayer perceptron (MLP).

DLL (MS VC++ 2010) for working with Memory Mapped files.

Graphic control for color selection.

Uses the idea of ​​the classical moving average smoothing. The class can be used when you want to smooth out any array of type double without using the standard indicator.

A set of macros to benchmark small code snippets for their execution speeds.

This is a basic library to create and manage grids.

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

Example of implementation of lines hash array with a string key.

Byte-wise operation with structures and standard data types.

Increased accuracy of the standard timer.

Create objects by copying a prototype

123456789