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

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

Works with pending Buy Stop and Sell Stop orders. The EA uses the iMA (Moving Average, MA) indicator with a VERY large period equal to 590.

The indicator marks the current day's time period specified in the indicator settings using colored rectangles.

The indicator marks the time period specified in the indicator settings using colored rectangles.

An alert (an audio alert, email and push notification) is generated when the iMA (Moving Average, MA) indicator crosses the bar with index N.

A strategy based on iMA (Moving Average, MA) and iMACD (Moving Average Convergence/Divergence, MACD).

The indicator shows the number of bullish and bearish bars in the given interval.

Counting the number of series of bullish and bearish bars. Displaying the result as a chart. Saving the screenshot of the resulting chart. The script uses the CGraphic class.

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

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

Counting the number of series of bullish and bearish bars. Displaying the result as a chart. Saving the screenshot of the resulting chart. The script uses the CGraphic class.

Color candlesticks display areas, in which the MACD indicator crosses the zero line.

Displays areas, in which the MACD indicator crosses the zero line.

An example of a template for developing automated trading systems.

The expert advisor moves stop loss of position at user-defined breakeven.

A library for common rounding methods used in MQL development, primitive wrapper class for type (double), and vector for CDouble objects. MQL5 and MQL4 compatible!

A complete Renko chart indicator with wicks. Configure using Tick Size, Pip Size, Points or R. Now with Asymetric Reversals!

Simple Expert Advisor based on the Larry Conners RSI 2 strategy.

Script for checking the LeadLagRelationship indicator (https://www.mql5.com/en/market/product/26229)

PS Magicas - Three moving averages that give target and possible entries.

An implementation of the dictionary (associative array) data structure in MQL5, based on CArrayObj and CList.

The indicator of support and resistance lines calculated based on the iFractals (Fractals) indicator values.

The trading system is based on iMACD (Moving Average Convergence/Divergence, MACD) and iStochastic (Stochastic Oscillator)

The Expert Advisor checks the direction in which the price has been moving for the last 10 seconds, and opens a position in accordance with the movement. The EA sets Stop Loss and Take Profit.

Works with pending stop orders (Buy Stop and Sell Stop). Monitors spread %.

The EA lock positions.

A trading system based on the Alligator indicator. If possible, the EA moves positions to breakeven and then enables trailing stop.

The Expert Advisor uses the following indicators: Moving Average Convergence/Divergence, MACD; Moving Average, MA; Average Directional Movement Index, ADX. It closes half of the profitable position.

The Expert Advisor trades in a channel. When a flat channel is found or when the market slows down, the EA places a pending order expecting the channel breakout.

Displays average values ​​of the bulls and bears power.

The script has three independent functions for determining the current FORTS futures.

A trading system based on the Vortex indicator signals.

A library for creating icons in the Windows taskbar and for sending text alerts. The use of this library will help you make your MQL programs more informative.

The Momentum indicator implemented in the form of a color histogram.

An indicator from "Technical Analysis of Stocks & Commodities" (January, 2010).

A multi-currency Expert Advisor based on the iStochastic (Stochastic Oscillator) indicator signals.

A library for working with chart subwindows.

1...747576777879808182838485868788...183