Download MetaTrader 5

Watch how to download trading robots for free

Find us on Facebook!
Join our fan page

Access the CodeBase from your MetaTrader 5 terminal

Couldn't find the right code? Order it in the Freelance section

How to Write an Expert Advisor or an Indicator

MQL4 Source Codes of Expert Advisors for MetaTrader 4 - 9

Various applications to automate analysis and trading are available in the 'Expert Advisors' section. It features various applications based on different trading algorithms and provides different degrees of automation. You can find simple EAs and complex trading robots that can fully automate analysis and trading processes.

These applications can be downloaded and run in MetaTrader 4. It is recommended to test and optimize Expert Advisors in the Strategy tester. The Expert Advisors from the library can be accessed from the MetaTrader 4 platform and the MetaEditor development environment.


EA based on macd signal and ema cross

Automatically sets a pre set take profit and stop loss for you.

Modification of the first version of the grid EA.

The EA without indicators with increasing lot size.

The Martingale with Envelope indicator.

Uses candlestick signals to trade.

Martingale syste, trades are random.

This EA is supposed to trade news and high market spikes.

This EA doesn't open orders, it takes PICTURES every time you (or another EA) opens or closes an order.

It is a Malty order Placer(4 LIMIT and 1 INSTANT). and good performed EA. It Works With THE Co-ordination of Different Moving Averages.

Opens specified orders at a specified time

The EA open position on Breaking S/R , it will make offsets if that was not a break

EA scalper 1430% = 2011!!!

This Robot uses the default zigzag indicator from Metatrader.

Close all trades after reaching defined profit or loss

EA is based on 2 MA (High and Low). Long position will occur when Ask > MA(High) and Short position - when Bid

Closes all orders when total cash profit in the account is a certain value.

This EA is based on the 10 SMA moving average and another things which could be better - It also make sounds according to the context.

This expert advisor is based on the concept that market does not move always in one direction. Even when the market is trending in one direction at some points it pullback. The EA has been backtested from July 1, 2011 to Jan 13, 2012 on EURUSD. It has

disturbed EA wich open a long and a short position at the same time.

My first trading System using simple pattern.

This Expert Advisor is based on 3_Level_ZZ_Semafor indicators.

Expert Advisor EUR/USD (1H) +78% win.

EA achieved best results on Renko Chart. Renko Chart is not mine but I used it to write EA on it. EA can trade every pair but I got best results on GBP/USD and EUR/JPY. I'll appreciate any comments.

Opens sell, buy or both orders at a specified time.

This EA implements a trailing stop buy and a trailing stop sell. It places an order above the price and below the price. The sell stop order will fall with the price, the stop sell order will rise.

The system of multiple strategies "in the same package," with a virtual trading system to determine the rankings for each of the strategies (before open market order) and the library management of investment-capital.

Trailing orders (in person) and the total profit.

On a way to Grail!...

Strategy is based on simple rules. It can work on any currency pair. Best results are obtained with the lowest set TS. The strategy works with any broker, but works better with brokers who allow you to set the low TS.

Trades using two moving average crosses.

Opens and closes orders using parabolic sar signals.

One more step to perfect.

EA trades on a large market movements, and does not uses any indicators.

This is my own best EA, in the main lines can be setted up many things.

Very simple scalping EA, no Indicators. Logic is based on very fast price movements.

Just like internet speed test can tell you your internet speed, SpreadProbe can measure ask/bid spreads on the go.

Alerts on two moving average(MA) cross

Alerts you on every first parabolic SAR signal in a sequence.

A new and improved version of LineOrder