Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
Rejoignez notre page de fans
Accédez à la CodeBase depuis votre terminal MetaTrader 5
Vous n'avez pas trouvé le bon code ? Commandez-le dans la section Freelance
Comment rédiger un Expert Advisor ou un indicateur

Codes sources MQL5 des bibliothèque pour MetaTrader 5 - 9

icon

Les bibliothèques sont de petits sous-programmes contenant une certaine fonctionnalité qui peuvent ensuite être utilisés pour développer de nouvelles applications. Une fois écrite et soigneusement vérifiée, une bibliothèque permet aux utilisateurs d'accélérer le développement de nouvelles applications MQL5. L'un des exemples illustratifs est la bibliothèque ALGLIB qui contient de multiples fonctions d'analyse numérique.

Les codes sources des bibliothèques peuvent être téléchargés et utilisés dans MetaEditor lors du développement de stratégies de trading. Ils ne peuvent pas être lancés indépendamment dans MetaTrader 5.

Soumettre votre code

Class for displaying multi-line comments.

Serialization and deserialization of JSON protocol. The code is ported from a high-speed С++ library.

Bug fixed versions of CRect and CCanvas which are part of the standard library.

This file replaces the WndContainer.mqh original file. It prevents the chart from being affected when you click and hold the mouse inside a container area.

Functions for creating various objects and changing object properties.

Set of statistical functions which allows you to calculate some values describing timeseries.

Trading signals module based on Ozymandias.

A class for a transparent button.

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

CTimeControl class for include to your EA for easy setting and checking your own trading time.

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

Library of fast Fourier transformation functions (FFT).

Synchronize ОС/EA/MT processes etc. Any self-made DLLs are not needed now.

Library for calculation of a margin required for opening a position in MetaТrader 5.

Checking a date for belonging to winter or summer time. The code was developed for news debugging.

Trading signals module based on Delta ZigZag indicator.

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

Library for sending mail messages.

This code allows you to set a maximum percentage of equity risk.

Way to keep a tally of wins an losses.

Uses the idea of ​​the classical Donchian channel.

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 library of GUI Controls.

EasyXML is a native MQL5 XML Parsing Library. It can parse XML from three different sources: URL, File and String Input. It is completely object oriented and strives to integrate neatly with MQL5, as it utilizes CObject and CArrayObj from the MQL5 standard library to store the DOM.

There are a lot of users who searched for iBarShift function like in MQL4. But this function is no more include in MQL5, mainly because MQL5 provides all necessary basic, low-level, functions to process such thing in a library.

Version 1.2 - MQL5\Include\mql4compat.mqh

A trailing stop module based on the WPR indicator with short and long Stop Loss

Emulator of functions for working with objects. It gives possibility to see the objects after testing in the chart

Trade functions library designed for use in the code of scripts and Expert Advisors depending on a broker

An updated version of the CBitPic class with the ability to control drawing transparency

The class to play music using the MIDI device

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

Library to work with Skype.

Function to define the trend strength

The class for localization/multilingual support of text messages in user MQL5 programs

The "Day of Week" function is designed to determine the number of required month according to data of the week and the day of the week inside this month

The class is the simplified version of the CArrayRing class: it has a predetermined fixed size of 256 elements, it is faster, and allows to organize the mini time series, indicator minibuffers, short sized buffers to store intermediate stream data inside the Expert Advisor or indicator.

Initial library of combinatorics functions.

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 class realizes generalized regression network (General Regression Neural Network - GRNN)

12345678910