Watch how to download trading robots for free
Find us on Twitter!
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

MQL5 Source Codes of Expert Advisors for MetaTrader 5 - 36

icon

Expert Advisors analyze price charts and trade automatically following underlying rules. Here you can find MQL5 source codes solving a variety of problems. You are able to select both simple Expert Advisors based on moving average crossing and complex ones involving complicated signal generation algorithms and protection against trading mistakes.

You can download and launch offered Expert Advisors in MetaTrader 5. It is recommended that you test and optimize trading robots in the Strategy Tester before using them. The library of Expert Advisors is also available directly from MetaTrader 5 platform and MetaEditor development environment.

Submit your code

The Improved version of MаrtGreg Expert Advisor.

This Expert Advisor is based on Bollinger Bands. It uses trend-following strategy and Bollinger Bands indicator.

It uses martingale, the number of doublings is limited.

This Expert Advisor allows you to save infomation about the ticks, actual or simulated in Strategy Tester.

This robot uses a random number generator to simulate simply tossing a coin to decide on the direction of each trade. It provides an example of a minimal expert advisor programmed in an object-oriented style. It also provides a basis for quantifying the value added by alternative methods of entry.

One-click trading.

The Multicurrency Expert Advisor.

An Expert Advisor, based on two MACD, it uses the martingale money management system.

This Expert Advisor uses the Index Moving Average indicator.

An Expert Advisor for trading during the night.

An Expert Advisor, based on the "Puria method" Forex Strategy.

This is a simple Expert Advisor, that uses a specified custom RKD indicator.

The Expert Advisor is based on Heiken Ashi indicator.

Something for those who wants to try out new Strategy Tester and don't have any EA.

A very simple sample of clock

This is a simple example of user interface of information system with possibility to trade by pressing a button.

1...2930313233343536