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

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

The example of multicurrency hedging implementation on a single chart in Metatrader 4.

Expert Advisor for pyramiding into big and fast market movements.

Automatic placing of Buy Stop pending order and Sell Stop pending order simultaneously, Stop Losses and Take Profits on the user specified levels. As soon as the long position (BUY) is opened as ASK price crosses the levels, the remaining pending order (SELLSTOP) is deleted. Vice versa if the short position (SELL) is opened as BID price crosses the levels, the remaining pending order (BUYSTOP) is deleted. It places again both pending orders after the opened order has been closed.

Use Chaos Theory to trade!

The EA using single layer Perceptron.

Open two buttons on a chart, one for closing all shorts, one for closing all longs. The buttons labels display the current total profit for each type of order.

Stores and implements a basic hidden Stop Loss and Take Profit system.

A simple EA based on Tipu Trend indicator and Tipu Stops indicator.

Test ChartEvent is an example demonstrating the various types of ChartEvent: keyboard keys events, mouse click & move events, custom events. The source code works both in MetaTrader 4 and MetaTrader 5.

Trailing stop allows you to automatically protect the profits with your positions. It adjusts itself according to the current market rate and the amount of pips you give it to trail behind.

This EA opens Buy or Sell trades in strongest or weakest pair. It cannot be backtested. Kindly use it on Demo account first & use it on your own risk.

This expert will copy a trade with the preset volume on the same account, can be used with a signal. No cross-account functionality.

Example of Heiken Ashi Using Multi Time Frame (MTF).

This EA Opens a grid of Buy Stops and Sell Stops at a specified distance from price. Has Stop Loss, Take Profit and Trailing Stop.

The Proper Bot is for those who like Martingale style trading. Features: Stop Loss, Take Profit, Trailing Stop Loss functions. All are calculated in POINTS.

Small Expert which sends email notification of last opened and closed order.

Automated trading system for breakouts in the London and New York sessions.

Example of a simple breakout trading robot. There are a lot of breakout methods, but this is the simplest one as I think. Please see the attached images to visualize what is the breakout trading...

Expert Advisor to trade Yen Crosses based on Major Pairs and USDJPY divergence/convergence.

Code example of MACD automated with advanced money management function.

The same EA's as previously released. The additional code allows the user to set parameters on RSI and Momentum.

An EA fully based on the Ichimoku Kinko Hyo system.

Template EA that downloads news without the use of DLL.

The Expert Advisor that moves the stop loss to breakeven after reaching certain profit.

The Expert Advisor that performs order trailing after reaching certain profit.

The Expert Advisor is designed for placing managing grids.

Sells at downward crossing of 70, buys at the upward crossing of 30.

The Expert Advisor places pending limit orders at the specified distance from the price and trails them after the price with the specified step, applies martingale.

The Expert Advisor opens positions after the price passes the specified distance. 1 step up - sells, 1 step down - buys.

The SAW_system_1 Expert Advisor places pending orders on the basis of the volatility for the last N days.

An example of creating a trade panel using the MasterWindows library.

After a loss, the EA opens orders with stop levels increased by the coefficient.

Martingale grid EA. The main idea of the EA is not in accurate entries, but in flexible plotting of grids.

This is a great beginners' example of the function OnChartEvent() & creating objects on the chart to access them for some tasks.

Two EA's. One places Stop orders the other places Limit orders.

Renko chart generator using the tick values.

This EA uses different indicators: ADX, Stochatisc, Accelerator... This EA is optimized for USDJPY TF H4, but it can work on others if you optimize it.

Simple way to encode and decode using Base64.

The EA is based on 5 MAs: 10-, 20-, 50-, 100-, 200- period and + ADX (the main line)

Expert Advisor based on the Sidus indicator.

12345678910111213141516...29