Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Twitter !
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

Bibliothèque de code source MQL5 pour MetaTrader 5 - 7

icon

Il s'agit de la plus grande bibliothèque de code source gratuite pour les programmes de la plateforme MetaTrader 5. Vous y trouverez des Expert Advisors, des indicateurs techniques, des scripts et des bibliothèques prêts à l'emploi. Utilisez la bibliothèque de codes lors de l'apprentissage du langage MQL5 et développez vos propres applications de trading automatisé basées sur les codes fournis.

Vous pouvez librement télécharger et tester les codes publiés, ainsi que les lancer dans MetaTrader 5. La bibliothèque est également disponible directement depuis la plateforme MetaTrader 5 et l'environnement de développement MetaEditor.

Soumettre votre code

Candlestick chart without shadows

A simple trading system using the custom indicator "WPR Custom Cloud"

Added alerts to custom indicator

Colored SAR indicator. Alerts on color change

The indicator draws three daily rectangles

Simple EA on 'iVIDyA' indicator

Indicator based on iAO (signal 'saucer') and filter based on iMA

Service Script for aggregating Economic Calendar data to a .txt file

Trading strategy for the custom indicator 'OsMA Four Colors Arrow EA'

Three candles from another timeframe are drawn using graphical objects

Smoothing the custom indicator 'Relative Momentum Index' using iMA

Two indicator series ('Two MA Color N Bars' and 'Square') in one code

Displays direction of volatility and volume

Martingale based on custom indicator 'VIDYA N Bars Borders'

The indicator plots (using OBJ_TRIANGLE) the area between 'Open', 'High', 'Low' and 'Close' of the day

A simple indicator that tries to assess autocorrelation in price series.

A series of indicators 'Square' - shows the state of the indicators in the form of lines of squares. Displays two indicators: MACD and Stochactic

Finalization of previous version. Now, when opening a 'SELL' position, we immediately close all 'BUY' positions and vice versa: when opening a 'BUY' position, we immediately close all 'SELL' positions

Trading strategy based on the iAMA (Adaptive Moving Average, AMA) and iRSI (Relative Strength Index, RSI) indicator. Doubling the position at a loss (not Martingale!)

Just a very simple expert that execute orders from a text file.

iVIDYA (Variable Index Dynamic Average) indicator with levels for N bars

The script (not an Expert Advisor) sets and moves the Stop Loss for all positions on the current symbol to the specified price

The indicator displays the 'Ask' line -> a spread is added to the 'Close' price

Two 'Main' lines from two iStochastic (Stochastic Oscillator, STO) indicators with filled areas between the lines. Line crossing notifications (Sound, Alert, mail, push)

Strategy based on custom indicator 'RSI Dual Cloud'. Four types of signals

Two RSI (Relative Strength Index, RSI) lines - 'Fast' and 'Slow'. Filling areas from the window borders to these lines

Shows your position size through a comment from any symbol chart based on a risk percent on daily ATR, you can use either balance or equity.

Cumulative candle, taking into account High and Low

Channel of 'N' bars at 'Low' and 'High' prices

Trend indicator. Added alerts (Sound, Alert, email, push)

Development of the first version. Added parameters 'Maximum number of positions' and 'Minimum step of positions'

The indicator shows the zones between the price crossing and the "MA" indicator

Histogram between price and indicator or between two indicators

Strategy based on the 'DeMarker' indicator, working with pending orders

The indicator shows the position of two indicators (iMA and iStochastic)

Version 2: extended functionality (added a few extra options)

A simple indicator plotting a channel with a constant range

Assistant - works on the current symbol, has the 'Trailing activate if profit is >=' parameter in the trailing parameters. Sets the initial Stop Loss and Take Profit. Closes all positions when target profit is reached

Assistant - works on the current symbol, has the 'Trailing activate if profit is >=' parameter in the trailing parameters

In a given time interval, a rectangle is constructed.

1234567891011121314...183