Voir comment télécharger gratuitement des robots de trading
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

Bibliothèque de code source MQL4 et MQL5


Vous souhaitez apprendre le langage de programmation MQL5 ou MQL4, mais vous ne savez pas par où commencer ? Divers programmes pour votre terminal MetaTrader sont disponibles ici. Téléchargez et étudiez les exemples de code publiés, développez vos propres indicateurs et Expert Advisors. Publiez vos applications dans la plus grande bibliothèque de codes MQL5 et MQL4, et elles seront disponibles dans chaque terminal MetaTrader et MetaEditor.

Vos exemples de code dans MQL4 et MQL5 seront distribués dans le monde entier, et des milliers de traders entendront parler de vous !

Soumettre votre code

Limit channels - with states

The Hurst Coefficient Indicator was created John Ehlers in “Cycle Analytics For Traders”, pg.67-68.

ATR based limit channels

Short description.

Hann filter

Fir filters


Directional Movement using Hann windowing

CCI (mimic)

MT5 Indicator for Position Size Calculation

Rex indicator extended version

MyRsi with Noise Elimination Technology - by John Ehlers

MyRsi - by John Ehlers

The Hilbert Oscillator Indicator was created John Ehlers in "Rocket Science For Traders", pg.90-91

Moving Average Bands Width

Moving average bands - extended version

Moving Average Bands

Nadaraya-Watson estimator

This indicator provides handles for 2 properties, MA Speed (scaled) & Price-to-MA Distance (%)

Open Pending order After Position Get StopLoss

SymbolInfo example script lacks margin and leverage data wich are nowhere to be found explicitely in Metatrader, the trader must search thoroughly into the broker site in order to find them. The aim of this script is to provide a remedy to it from a standard tool.

This code use close all profit at end of week for currency pair

This code use detect economic calendar and put pending order before released news time

This free code manages to close all positions just by drag and drop into a chart.

This is MQL5 version of Shved Supply and Demand indicator written by Shved and upgraded by eevviill7 from this link. Subsequently Mr. Behzad Movaghar added other functionalities to this link. This version of the Indicator contains the Code with an option to select the time frame of the Indicator other than that of the chart. For example if the chart is in 5M and the user want to see the support and Resistance levels of a particular chart pair at 15 M, is possible with this.

Check exists pending order prevent duplicate create pending order

Use protect profit after open position

You can identify buy trend and sell trend with this indicator

This EA demonstrates creating and saving a graphic chart using data from the MT5 Strategy Tester.

The HighPass - LowPass Roofing Filter was created by John Ehlers (Cycle Analytics For Traders pg.78)

Use the intersection of two moving average lines to draw a vertical line.Then You can simply read the current market pattern

After the three average lines are arranged completely according to high and low, it can be regarded as a trend formation. After the pattern is destroyed, the hatching is no longer drawn Under the condition of no hatching, it is regarded as an indeterminate period

Building good trading habits by seeing things in terms of percentage not in terms of money.

Script to download EVZ data for Euro FX Vix indicator

Fibonacci Channel with Quartile Trendline Levels

The Fisher Transform Indicator was created John Ehlers "Cybernetic Analysis For Stocks And Futures".

Building good trading habits by seeing things in terms of percentage not in terms of money.

Binance API Library MT5

This is a simple script that Closes all Orders and Positions available

Shows Last Price, Daily percentage change and Time based on Input selection to the Price Line

"The Fisher Stochastic Center Of Gravity" was created by John Ehlers (УCybernetic Analysis For Stocks And FuturesФ , pg.95)