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

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

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

A trading strategy using the Martingale system.

The Expert Advisor uses signals of the iMA (Moving Average, MA) indicator with a delay from the bar opening time.

The Expert Advisor searches for N identical candlesticks in a row. It buys on bullish candlesticks and sells on bearish ones.

The Dtm indicator with the possibility to change the indicator timeframe from input parameters.

Two identical trading systems based on the crossover of the CMO indicator and the zero line, for long and short trades, which can be configured in different ways in one Expert Advisor.

A trading system based on the signals of the Daniella semaphore signal indicator.

Trading against the trend direction as of N hours ago.

The indicator implements a breakout system using the Fractal_Levels indicator channel.

A daily bar breakout strategy.

An Expert Advisor based on "KDJ Indicator"

KDJ Indicator Oscillator

The Expert Advisor trades based on iMA and iRSI signals. Values of iMA on four bars are compared. Indices of these bars can be optimized.

A trading strategy "three bars down, Stochastic up".

A trading system based on the Martingale technique.

A trading system based on the Vortex Oscillator signals.

This version of the Vortex indicator shows the difference between the VI+ and VI- lines as a histogram oscillating around the zero line.

The Expert Advisor is based on the signals of indicators iBands (Bollinger Bands, BB) and iRSI (Relative Strength Index, RSI).

Martingale and anti-martingale.

The channel is drawn based on fractals.

The indicator shows a text block with the values ​​of the user defined Stochastic Oscillator period for each timeframe.

Maximum lot calculated based on free margin.

A semaphore signal indicator using Average True Range.

The Expert Advisor is based on the signals of the Stopreversal indicator and is provided with the possibility to set a strict trading time interval.

A real-time indicator showing the lag of quotes inside the terminal.

The indicator sets indexes for candlesticks in the price movement direction.

The Expert Advisor is based on the iRSI (Relative Strength Index, RSI) indicator signals.

The Expert Advisor is based on the iOsMA (Moving Average of Oscillator, OsMA) indicator signals.

An Expert Advisor for two currency pairs

Dtm

An oscillator in the DRAW_FILLING style, using digital filters.

The Expert Advisor tracks positions of all symbols with all magic numbers. If a position has been open for "Waiting for seconds" and its profit has reached "Take Profit" points, the EA closes the position. If the profit has not reached "Take Profit" points, the EA moves the take profit level.

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

The Expert Advisor is based on Bill Williams' strategy.

A trend indicator, which receives trade signals from the XMACD histogram.

Closing positions: all, only profitable or only losing positions.

The XMA_Divergence indicator with the possibility to change the indicator timeframe from input parameters.

The indicator shows a text block with the values ​​of the user defined CCI oscillator period for each timeframe

A trend indicator displaying divergence areas on the price chart.

The ShadeOpenX indicator with the possibility to display the percentage value of time that has elapsed since the beginning of the trading session displayed in input parameters. The possibility is implemented using the classes of libraries that were described in detail in the article "Custom indicators and infographics in CCanvas".

Two identical trading systems based on the change in the ColorJFatl_Digit moving direction for long and short trades, which can be configured in different ways in one Expert Advisor.

A trading system based on the NRTR_ATR_STOP indicator signals with the possibility to set a strict trading time interval.

1...737475767778798081828384858687...183