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

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

Classic and one of the most popular trading strategies based on 2 moving averages crossover. This expert advisor is designed with visual strategy builder - Mission Automate. Code is generated automatically. More info: https://www.mql5.com/en/articles/4951

Arrow trends by iBearsPower and iBullsPower indicator for MT5

The utility will display the high, low, open, close and time statistics for any user selected bar of any timeframe for the symbol of the chart the utility resides on.

This utility allows monitoring of multiple symbols and positions on one chart with one-click switching of the chart symbol.

Indicator Bears and Bulls Power for MT5 together in one separate window.

The code consists of lines created according to the opening, closing, low and high values of prices.

Three Moving Averages Convergence/Divergence - Indicator for MT5

Export tool for OHLC prices, calculated prices & indicator buffers

Multi-asset cluster indicator taking all currencies as a sum of squares forming market unity (1.0)

This indicator shows average and peak speeds of price changes per minute.

Improved version based on RSI_candles by © mladen 2018 https://www.mql5.com/en/code/20968

Smoothed CCI

Random number generation using the 32-bit PCG generator.

Advisor for trading Gbp/Chf. Algorithm for bar opening prices. Timeframe H1.

This indi will draw OBJ_ARROW_BUY/OBJ_ARROW_SELL when find signals on Arrow Indi Buffers.

A fast library for combinations and permutations in MQL.

The script exports summary of closed trades grouped by each trading day to .csv file

Variance (Welford’s method for computing)

The script exports summary of closed trades grouped by each currency pair to .csv file

A script to close all market positions and/or pending orders.

This script will change the SL and TP of all open trades of the symbol to the price where the script is dropped off.

Sell Relative Strengt Index (SRSI)

ATR

Average true range

BB stops of MACD with multiple stops

XO

XO

Hull moving average

The Expert Advisor uses four iMA (Moving Average, MA) indicators from two timeframes. Two indicators with averaging periods 1 and 8 are created on the H1 timeframe and two indicators with averaging periods 1 and 8 are also created on the H4 timeframe.

A class to reconstruct closed trades (paired in/out deals) from history sorted by close time.

Display interactive HTML graph of the account balance inside the web browser.

Builds a sliding line with a polynomial of 4 degrees. Extrapolates as a section of a given function with a sinusoid and its axial one. One value is taken from the constructed lines on each bar and a line of extrapolated values is plotted, which does not redraw.

A cross platform library/framework

Exponential moving average

Linear Weighted Moving Average

Advisor scalper. Trading algorithm: Candle[0]> Candle[1] * 2. Taimeframe - 4H && Day.

Simple moving average

Vortex 2

A base class to simplify analyzing trade transactions in MQL5.

This indicator uses the open price for the day, and computes the percent change for that day. Use on any chart TF up to and including D1.

Short description.

Average trend

1...151617181920212223242526272829...183