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 MQL4 pour MetaTrader 4 - 43

icon

La plus grande bibliothèque comprend des codes de Expert Advisors, d'indicateurs techniques et de scripts de trading gratuits. Grâce aux applications disponibles, vous pouvez effectuer des transactions en mode automatisé et analyser la dynamique des prix. Utilisez la bibliothèque de codes pour en savoir plus sur les sentiments des marchés financiers.

Téléchargez des applications gratuites, testez-les et exécutez-les dans votre MetaTrader 4. Vous pouvez y accéder depuis la plateforme MetaTrader 4 et l'environnement de développement MetaEditor.

Soumettre votre code

A small improvement of the little known TVI indicator (https://www.mql5.com/ru/code/7804).

Collection of ticks with writing data to a file and plotting non-standard charts.

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.

A trend strategy based on moving averages with colors as in a traffic light. The purpose of writing the EA — to test the strategy on history and pick working parameters.

The channel indicator. It also displays the current channel levels as price labels and the type of the signal for making trading decisions.

The indicator displays the series of waves, breakthrough points and targets for Take Profit.

The indicator performs the calculation of the derivative of the price.

The lookup and display of the divergences of different classes based on the data of the base indicator.

The Expert Advisor watches the market orders and generates a sound signal after a predefined time from the moment of order opening.

Elementary trailing stop able to distinguish its "own" orders among others by comment and/or Magic number. It also distinguishes the financial instrument that needs to be trailed.

The indicator marks the pin bars on the chart based on the parameters set.

The Expert Advisor is based on the Williams Percent Range indicator. It sells in the overbought zone and buys in the oversold zone. Trailing Stop and operation timer are attached to it.

The Moving Average indicator values are used for trading.

This indicator downloads history of symbols which have open charts. It will no longer be necessary to wait for an update when switching timeframes.

This EA implements a grid strategy by placing buy and sell orders at the same time.

Just a Donchian channel with slope. If xslope=0 it becomes the Donchian channel. It uses the moving average of Momentum.

The script tests the computer in 45 performance tests. It is possible to compare the performance of VPS/VDS servers.

This ZigZag indicator uses dual buffers to store high and low points.

EA opens trades from support and resistance levels, which were set by a trader, and revolves them at another levels.

Close At Time is an EA that closes open positions or deletes pending orders or both. You can also specify how it should be closed – by symbol, magic number or ticket number.

The strategy of this EA is daily breakout which is compare previous high or low previous day candle then place a pending order for breakout.

This program is a basic version of the original code of relatively simple system Millenium.

This is a working singleton code example. A singleton object is created when there 'can be only one' of the object.

Copying utility with minimal functionality.

EA opens trades from support and resistance levels which were set by a trader.

Fibonacci indicator drawing levels on previous day.

Indicator S&R based on OHCL candles.

Traditional MACD indicator with a Momentum indicator and alarms. Allows customization of most of the parameters without having to dive into code.

This EA will help you to set Stop Loss and Take Profit.

The EA looks for trend using three MAs (period 200, 50, 25 or other) and opens orders using the Parabolic SAR indicator. There is martingale in an Expert Advisor, the lot is calculated in percents from a deposit depending on Stop Loss.

Instant execution button to close profit orders, close all orders, auto close by trailing parameter. Last update: 21 April 2016. Prev: 8 Dec 2015

My version of Squeeze Indicator for MetaTrader 4. This indicator is based on a strategy mentioned in John Carter's book, Mastering the Trade. It is also a fully improvised version of Squeeze_Break indicator by Des O'Regan.

A robust EA template to use with your entry conditions.

Easy EA for closing positions of the symbol with profit or loss. You can use it for hidden SL too.

An EA template to add a simple trailing stop to your strategy.

MQL4 library that allows authenticating into a MetaTrader 4 account programmatically in release 880+.

Bollinger Bands with customizable moving average method and applied price.

1...363738394041424344454647484950...104