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

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

The indicator plots price channel and Fibonacci levels based on the latest NRTR_ZigZag peaks

The Expert Advisor increases the lot size after each of profitable deal, if it was preceded by losing trades. Martingale.

Short-term trends. Two iMA indicators, one iStochastic.

Precision trend (histo).

The newest version of the Precision Trend Indicator.

Detrended Synthetic Price in oscillator form.

Detrended Synthetic Price (bars).

Detrended Synthetic Price with histogram.

How many buffers does your indicator use? What's it calculating? Is it efficient? If you want to know what's going on behind the scenes, you'll now be able to.

DSL - DMI oscillator

ADXm (vertical/horizontal filter adaptive).

Example of Buy Limit & Sell Limit pending orders with Bollinger Bands.

Converts .set files from MT5 format to MT4 format.

Vidya zone using 3 prices for calculation.

A Keltner Channel drawn relative to the average value of the Larry Williams' Percent Range oscillator as a sequence of candlesticks

The NRTR_extr_ZigZag indicator with price labels of the ZigZag peak values.

The NRTR_ZigZag indicator with price labels of the ZigZag peak values.

OnTradeTransaction

Analysis of OHLC on 0, 1, 2 and 3 bars.

The NRTR_extr_ZigZag indicator with the timeframe selection option available in the input parameters

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

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

The Expert Advisor solves the problem of position trailing along a given curve by moving its Stop Loss and Take Profit.

This is a standard StdDev indicator with an additional feature, which changes the line color depending on its values. When the value increases, the line color is painted in green; when it falls, the line becomes red; if values stay the same over several periods, the line color stays yellow.

A Keltner Channel drawn relative to the average value of the MFI oscillator as a sequence of candlesticks

The trading system is based on direction changes of the wighted oscillator WeightOscillator

An example of receiving the High and Low prices of bars over the past 24 hours.

Trading system using the IBS_RSI_CCI_v4 indicator

The library allows to automatically assign 'magic' to an Expert Advisor on any symbol and any timeframe. It allows having up to 65535 magic numbers in one Expert Advisor.

The IBS_RSI_CCI_v4 indicator with the timeframe selection option available in the input parameters

The ZigZag indicator plotted using the NRTR_extr algorithm.

The ZigZag indicator plotted using the NRTR algorithm.

The strategy uses two indicators Moving Average, MA with different periods, Commodity Channel Index, CCI and Williams’ Percent Range, %R.

The trading strategy uses two MA indicators, one ATR and one CCI.

The Ichimoku indicator with an alert.

The strategy is based on two indicators: ADX and MA, and the close of the first bar. Also, different TakeProfit, StopLoss and Trailing levels are used for Buy and Sell.

An assessment is made based on the values of five indicators (Gator, WPR, AC, DeMarker and RSI). Uses trapezoidal membership functions. Before sending a trade request, it checks if funds on the account are enough.

The indicator shows the statistical characteristics of bars: the mean value, variance, skewness and kurtosis

The Expert Advisor idea is based on the constant change of trade direction depending on the TakeProfit, StopLoss and TrailingStop levels.

The "MQL5 Wizard MA RSI" Expert Advisor has been generated using the MQL5 Wizard based on the signals of the trend MA (Moving Average) indicator and of the RSI (Relative Strength Index) oscillator.

1...848586878889909192939495969798...183