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

Codes sources MQL4 des Expert Advisors pour MetaTrader 4 - 2

icon

Diverses applications permettant d'automatiser l'analyse et le trading sont disponibles dans la section "Expert Advisors". Il propose diverses applications basées sur différents algorithmes de trading et offre différents degrés d'automatisation. Vous pouvez trouver des EA simples et des robots de trading complexes qui peuvent entièrement automatiser les processus d'analyse et de trading.

Ces applications peuvent être téléchargées et exécutées dans MetaTrader 4. Il est recommandé de tester et d'optimiser Expert Advisors dans le testeur de stratégie. Les Expert Advisors de la bibliothèque sont accessibles depuis la plateforme MetaTrader 4 et l'environnement de développement MetaEditor.

Soumettre votre code

Buys when price breaks above the MA and Sells when price breaks below the MA. User can choose the time range (server time) to trade in.

This class allows you to create buttons on the chart as if they were chart objects(have time and price coordinates) these objects can be dragged on the chart and when scrolling they stay at the same place. If you wan't to learn some Object Oriented Programming or if you wan't to understand how chartevents work or you wan't to create graphical interfaces, you can learn a lot from this.

Th Expert will set the TP based on the SL manually set using the input multiplier. Using this you can set 2,3,4 etc times the SL set.

The Expert will help you change the TP/SL of all open orders by setting the TP/SL based on the input percentage value.

Move the stoploss as the trade moves in your direction at a specific distance.

This is a simple EA that will buy/sell pullbacks while managing your given risk parameters. You need to decide on a direction, and the EA will do the rest.

Crypto EA for ETH/USD pair.

This code will pause the trading for X minutes when there are N consecutive losses happen within Y minutes

This EA can do Grid trading and has useful functions for Gridtrading included

This is an Expert Advisor code for counting open running orders for each type: OP_BUY or OP_SELL.

AK-47 Scalper EA is fully automated. It uses the strategy of entering the sell Stop order continuously and will modifythe order when the price is opposite to the pending order.

Forex Trade Manager MT4 simplifies managing open orders in MetaTrader 4.

Forex Trade Manager Grid MT4 helps you to managing orders and achieve the goal.

Search for positive swaps.

Mean Reversion strategy works best on daily time frame major forex pairs .

This EA will Close All your current running Trades when Applied.

One code that works for both Mt4 and Mt5 combined. Salient features of the code: -Filter News by High, Low or Medium Volatility -Filter By currencies -Filter by News Keyword -Auto GMT offset check -Dashboard to show upcoming News (Can be enabled or disabled) -Lines on chart for all Upcoming events -Code can be easily modified to place trade at certain time before or after an event or to just stop trading during events.

Checking the Cross of First Two lines of the Ichimoku Indicator

An Efficient EA to notify breakouts

Only successfully tested on INSTAFOREX broker, InstaForex-Europe.com server 5 digits, pair EURGBP daily, leverage 1:1000, with free swap account.

Adaptive grid expert for mt4

Detecting the start of a new bar or candle, in the OnTick() event handler of an expert advisor.

Due to recent popularity of Multi currencies EA, This codes allows to Close Orders or delete Pending orders of a Multi Currencies EA, Single Currency EA or Manual orders.

This is an EA to generate signals based on RSI signal crossing the upper level or lower level.

L'Expert Advisor affiche les valeurs actuelles des indices boursiers mondiaux de Google Finance à l'aide de la fonction WebRequest.

L'Expert Advisor affiche les propriétés des signaux, permet de modifier les paramètres de copie du signal et de s'abonner ou de se désabonner au signal de trading sélectionné.

Exemple d'utilisation de l'objet graphique OBJ_EDIT.

Exemple d'utilisation de l'objet graphique OBJ_LABEL.

Un modèle d'EA légèrement optimisé de l'article MetaEditor : Modèles comme Point de Repère

L'Expert Advisor Moving Average utilise une moyenne mobile pour la génération du signal de trading.

Expert Advisor TicksInMySQL.

Il est montré comment vous pouvez ouvrir des positions pour 12 symboles disponibles et pour 4 périodes en utilisant un seul EA attaché à un seul graphique.

Échantillon MACD classique.

This EA demonstrates how to implement martingale based on signals from any indicator.

This is an EA using RVI crossover.

This EA demonstrates placing orders, modify orders and then closing orders after a fixed interval.

This EA places buy trades based on trend of last 5 candles.

This code can be used to read csv files and separate string based on a separator token.

This EA is based on upper and lower Bollinger bands.

This is an EA based on Moving average crossover.

123456789...29