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

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

Indicator that draws Fibonacci levels based on the last bar.

The Fibo ZigaZag indicator allows to calculate the probable support and resistance levels using the Fibonacci ratios.

The vaMA indicator with the ability to replace averaging. It displays the most recent value as a price label with the possibility to round the channel levels up to a required number of digits. Additionally, it indicates the trend strength by colored dots based on the standard deviation algorithm.

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

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

The vaMA indicator with the ability to replace averaging. It displays the most recent value as a price label with the possibility to round the channel levels up to a required number of digits.

Version of the iBarShift function for the MetaTrader 5, takes a parameter of type datetime — opening time of the bar, the index of which must be found.

The Exp_StochasticDiff Expert Advisor is based on change of direction of the StochasticDiff indicator.

Semaphore signal indicator based on the code of the StochasticDiff indicator.

Semaphore signal indicator based on the code of the RVIDiff indicator.

The Expert Advisor plots a Fibonacci based on the standard ZigZag indicator and traded rectracements from all levels. The levels are fixed and cannot be customized by the user.

The indicator displays the total number of deals by symbol in real time.

A simple trend indicator with calculation of rise and fall in Close prices.

The ZZ Fibo Trader is a simple illustration of the use of the Simple ZZ Fibo, which plots Fibonacci lines on long impulse waves of the ZigZag. In addition, the algorithm illustrates operation of the parabolic system for moving the stop loss.

Simple code that illustrates trading based on the OnTimer event. When the timer triggers, the robot alternately performs buy and sell deals with fixed stop loss and take profit values.

Class for exchanging data between programs. It allows to pass structures of arbitrary size via the global variables of the terminal from one program to another.

The script displays the brief statistics for trading on the instrument over the specified period - the number of deals, profit, profit factor.

The script switches all opened charts at a certain interval. It is also possible to display only the charts of certain symbols.

The Standard Deviation indicator implemented in the form of a color histogram.

Moving average wing averaging of the linear combination of the input price timeseries.

Symbol for downloading the history data for the current symbol with indication of progress.

Script draws the Axel Rudolph levels

Normalized MACD.

Buy sell volume.

"Corrected" momentum.

"Corrected" velocity (smoother momentum).

Volume weighted average bands.

MACD ca - sort of a "step MACD" or "corrected MACD".

Corr RSI - "step" or "corrected" RSI.

Average using dr. Andreas Uhl's "correction method.

iCrosshairClickTarget indicator for MetaTrader 5 is an improved version of iCrosshair indicator for MetaTrader 4.

RSI(OMA) with automatic Fibonacci levels.

QWMA - the "CA" ("Corrected Average") version

Sentiment zone oscillator.

AdxVma trend.

Balance of market power (using improved Jurik filter for calculation).

PDFma — average using probability density function for average calculation.

Elliot oscillator indicator.

Recursive (double) smoothed stochastic - allows calculating double smoothed stochastic up to depth 15.

ExpBuySellSide is a MetaTrader 5 Expert Advisor based on the ATRStops and StepUpDown indicators.

1...949596979899100101102103104105106107108...183