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

Top Expert Advisors for MetaTrader 4 based on user ratings


Simple one click trade panel, typically useful for scalpers and day traders.

The program-simulator for sharpening strategy, run of indicators and trainings of trading skills in general.

Grid is a money maker in weak market, while a disaster in trending market. Maybe you can consider close all positions at some time, and run it totally again at another time, just like a fisher. This is AIGrid System With Manual Control.

AutoTStop EA does not work to open the orders, but only helps trader to use Trailing Stop.

Close all trades after reaching defined profit or loss

Example of using optimization reports in an Expert Advisor.

The classic MT Sample EA updated for full/sub-pip accounts, also now handles ECN/STP brokers. Examples of setting trading hours, and added externals for StopLoss, MagicNumber and order comment.

Trade using Renko Boxes in MetaTrader 4.

The Renko chart has been created by the Japanese Traders. The main feature of the Renko Charts is that it doesn't use the time and volume.

Fibonoacci trading Expert Advisor for MetaTrader 4.

This robot optimizes the values it uses for overbought and oversold based on what would have been profitable during the Optimization periods(bars) back. Using the strategy of selling when the index indicator crosses below overbought and buying when the index indicator crosses above oversold.

The awo Holidays EA reports the status of the next day: working day, weekend or holiday.

Expert Advisor that closes orders after defined profit or loss.

The Expert Advisor shows the current values of World Stock Indices from Google Finance using WebRequest function.

The program-simulator v.2 for perfecting strategy, testing of indicators and trainings of trading skills.

This Expert Advisor trades every news event that is scheduled to release on for the current week. The EA waits for the next news event to be released, compares the released economic data, determines which currency to trade and exe

This is the Expert Advisor with Money Management and signal selection. You can add your own signals in this EA very easily by just adjusting the function signals.

A slightly optimized EA template from article MetaEditor: Templates as a Spot to Stand On

You can adjust SL/TP by dragging the lines drawn by the EA.

Template EA that downloads news without the use of DLL.

The Expert Advisor shows the properties of the signals, allows to modify the signal copy settings and subscribe or unsubscribe to the selected trade signal.

Regression Channel Indicator and Expert Advisor

As I'm currently developing an Expert Advisor for Crude Oil and Brent, I wanted to get from the exact date and time of the 'Crude Oil Inventory' report. This report is typically issued on Wednesday's at 10:30am Eastern but when there's a holiday, the release date can change. As this is an important report for my EA, the only way was to check an online service to validate the release date.

It Is placing stop loss and take profit at a given distance. Displays the current status of open orders. For closing of the order it is enough to select and move the label to the left.

The Expert Advisor collects tick history for specified symbols into csv-files.

Simple program using the moving average as bias and providing many trade and money management options.

This Expert Advisor places Stop Loss and Take Profit for Buy, Sell, Buy Limit, Buy Stop, Sell Limit and Sell Stop orders.

Just draw Trend Up or Trend Down before the Expert Advisor "TrendMeLeaveMe" start. Set properties, run expert and go to sleep or work.

A practical EA for the intraday trading from 10:00 till 19:00. It works well on 5M EURUSD. The expected payoff is 40..60 pips per week on the forward testing.

EA for Automatic StopLoss, Take Profit, Profit Lock, and Trailing Stop (With Special Methods). SL and TP could be hidden.

Perfect solution for newcomers at coding. Allows to implement strategies with difficult stop-management. Yes, this thing need some "baking", i.e. editing, but you will like the result; especially if the strategy is already tested with hands.

Opens orders using the martingale and a virtual trailing stop.

Here I propose a simple password verification scheme which uses MT4's built-in security engine providing DES/ECB encryption and does not require code re-compilation for each new customer.

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

This isn't an operating EA, but profit management EA.

TS based on the intersection of two MAs filtered by the CCI signals.

An EA that writes the time of disconnections from the server into a file.

Trades on two moving average crosses

The EA uses for primary signal the Heiken Smoothed indicator. The Alligators Jaw MA follows as a trend stop indicator.

The EA is based on the indicator TREND_alexcud Something goes wrong with it