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

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 Expert Advisor based on the Heiken Ashi indicator.

1 Click "Close All" button to close all open positions at current attached chart.

Multiple Timeframe Moving Average. It is set to look at H4 and H1 time frames. This code is for anyone who wants to use a different timeframe than on the current window.

Expert Advisor that will close all orders and disable another Expert Advisor / AutoTrading at desired level.

The main idea of this Expert Advisor is to trade by the basic concept of Stochastic oscillator in its basic parameters, with ability to change these parameters via the EA inputs.

1 Click "Close All" button to close all your positions (regardless of the pair) will be closed at once.

This is my 1st published code, it is very simple code example: RSI 14 (price close) — open buy when it is < 25, close buy when it is > 50, open sell when it is > 75, close sell when it is < 50.

The EA searches the last upper and lower fractals and opens positions when the price exceeds these levels.

One of the implementation variants of the Quantum trading system.

The EA opens trades at the intersection of the fast and the slow MAs. It has the function of outstaying the losses.

The EA closes orders when certain loss is reached by them in the account currency. It is possible to vary the loss by the volume of the order.

Trading robot based on the theorem "On the presence of memory (aftereffects) in random sequences".

A simple Expert Advisor, which works without the use of any indicators. Enters at trend reversal attempt.

HAN

The Heiken Ashi Naive Expert Advisor is based on the Heiken Ashi candle chart system and uses the standard indicator of the same name.

The Expert Advisor is based on the exponential moving averages of the same period.

The Expert Advisor is based on the operation of its predecessor — Forex Fraus (for M1), but using the Envelopes indicator.

The Expert Advisor is based on the lot management according to the Labouchere system.

The Expert Advisor trades by breakout of High or Low of the previous candlestick.

The Expert Advisor uses moving averages, based on the opening and closing prices.

The Random EA, which operates by the principle of a coin flip.

The Expert Advisor opens an order by the trading strategy, places a take profit and a stop loss It protects the position by moving the stop loss to breakeven, and maintains it with a trailing stop.

The calculation of profit/loss in the deposit currency at the desired symbol price level on all open orders.

Arrangement of the pending orders at equal intervals (steps).

The Moving Average indicator data is used for trading. If the price goes away from the Moving Average by a certain number of points, then an order is placed in the direction of the Moving Average line.

RSI Bollinger Bands are used to establish overbought and oversold RSI regions for generation of short and long trading signals.

Trades on price spikes around important financial announcements.

This code has some functions to close all opened orders once the drawdown reaches a specific percentage of the account balance.

Easy EA for closing positions with profit or loss. All positions of chart's symbol are counted separately.

The Expert Advisor moves the Stop Loss in the direction of the price movement using various methods.

This Expert Advisor uses three indicators: MA(150), RSI(3) with the levels of 80 and 20, Stochastic(6, 3, 3) with the levels of 70 and 30. The direction of opening deals is based on MA. Entry by RSI and Stochastic. Exit by Stochastic.

The Expert Advisor reverses the orders after closing.

Opens orders using the martingale and a virtual trailing stop.

Implementation of a trading system based on divergence detection.

The Expert Advisor trades based on the support/resistance levels set by the user, while trailing the Stop Loss order.

The Expert Advisor places a grid of pending orders in both directions several minutes before the specified time and trails the Stop Loss order after the orders trigger.

The Expert Advisor is based on the "On the MaZi" strategy.

The idea behind the Expert Advisor is based on the volatility explosion in the pulse waves.

The Expert Advisor based on the "New Trading Dimensions" book by Bill Williams.

The virtual trailing stop can place stop loss, take profit and trail the order in a way that they are not visible to the broker.

Simple Expert Advisor based on the RSI indicator.

1...5678910111213141516171819...29