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 - 86

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

Two histograms in one window, showing the maximum average price deviation in points from the initial value.

The EA waits for a TP or SL to trigger, and then opens a position in the opposite direction. It checks if there is enough money before sending a trade request. OnTradeTransaction.

Stripped Laguerre of double smoothed stochastic.

Laguerre stripped of RSI "experiment".

A variation of the Laguerre filter indicator.

RSO is an Oscillator version of RSI.

A simple trend indicator based on the RSI changes.

Another ZigZag trend indicator based on extremum points of SMA indicator.

MqlParams container class that uses method chaining to quickly add params and reduce lines of code.

An simple Indicator displaying daily opening line.

This indicator helps to move charts one by one to the the front, just like slide show, and make your hands free.

The size of a candlestick. The size is calculated by the following formula: "minuend" minus "deduction".

All information about the current symbol (information from the CSymbolInfo class object is used) represented as a dialog panel.

A trading strategy based on RSI and Bollinger Bands.

An Expert Advisor for 4 currency pairs, including EURUSD, GBPUSD, USDCHF and USDJPY. It is based on four-hour moving averages.

The oscillator is drawn as a colored histogram based on the difference between the Close price and the iSAR indicator, expressed in points.

The RBVI indicator (Relative Broker Vigor Index) implemented as a colored histogram.

The RBVI indicator with the timeframe selection option available in its input parameters.

The channel is based on a percentage price deviation. It is implemented with a color background filling. The channel width is controlled by the percentage deviation.

Two colored filled rectangles with the display of channel levels. The rectangles are drawn between the values ​​of two channels on one bar of any timeframe of the GRFLeadingEdge indicator.

The indicator implements a breakthrough system using the PercentageCrossoverChannel channel.

A Moving indicator that does not use averaging in its code.

The indicator draws a color filled channel at a distance from the current price, which is equal to the current spread multiplied by ten.

The script finds on the chart all OBJ_TREND (trendline) objects and moves the line to the specified date with the specified price shift.

Two colored filled rectangles with the display of channel levels. The rectangles are drawn between the values ​​of two Keltner channels on one bar of any timeframe of the XMA_KLx5_Cloud indicator.

Two Keltner channels based on one moving average, drawn as a colored cloud, with the display of the last values as price labels.

Two colored filled rectangles with the display of channel levels. The rectangles are drawn between the values ​​of two Bollinger channels on one bar of any timeframe of the XMA_BBx5_Cloud indicator.

Analyzes bars whose opening time (hour and minute) is equal to the current bar opening time.

This is a trend trading system based on the signals of two Kolier_SuperTrend indicators.

Many traders are interested in native work with the BTC-e exchange directly from MetaTrader. In the exchange API, it is necessary to send data with the confirmation of parameters validity through HMAC-SHA512. The algorithm of SHA512 and HMAC calculation is implemented in this class.

Total Power Indicator in the semaphore-arrow form, generating alerts and sending emails and push notifications.

Total Power Indicator, in which values are fixed in the range from zero to one hundred.

Shows an appropriate value for the last three bars on each timeframe: "1" if the bar is bullish, and "0" if the bar is bearish.

The indicator sets the "Fixed scale" property to a chart window and holds the first bar in the middle of the window.

The WmiVol indicator with the timeframe selection option available in input parameters.

Two colored filled rectangles drawn between the values ​​of two GRFLeadingEdger indicator channels on one bar.

Two colored filled rectangles drawn between the values ​​of two Keltner channels on one bar.

Two colored filled rectangles drawn between the values ​​of two Bollinger channels on one bar.

The library makes indicators' Init/Deinit synchronized

The indicator shows the current spread using a color line.

1...798081828384858687888990919293...183