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

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.

latest|best

Automatic Trading System

Two orders are placed at the specific time.

We place the pending orders at the support and resistance levels.

A variation on the Neuro nets topic: The trading system based on the interaction of the MACD indicator and a double-layer neuro net.

The EA is based on the "Trend Follower" strategy.

This expert this one based on the indicator MACD. It works very well in the period of 1 hour. In a test(proof) of 36 months it(he,she) has a profit of 935 % (25 monthly %).

Expert Advisor Kijun Sen Robot. It uses the following indicators: Ichimoku, MA, SAR. It is optimized for the following currency pairs: GBPUSD and EURUSD with M30 period. You can view the full description in the code.

Expert Advisor ASC++.

The minimums and maximums of the previous day are used. I'm sorry that I wrote it without comments.

Expert Advisor Based on FXRaider's Trade Strategy by ForTrader.ru.

EA that opens a trade when a candlestick closes out of the specified level on a break through. An update to the graphical treminal. But the help in code further development is necessary.

Trading by a simple principle

The 2_Otkat_Sys_v1.1. expert advisor. The system from thursday to friday on 0(МТ) hours, it trades only on a reverse.

Rabbit 2 updated with correct set!

Using a combination of MA for the trend and Williams %R wth Commodoties Channel Inex to trigger, and a Dochian band to exit the RabbitM2 is designed to get from zero to hero. I would welcome anyone willing to perform live testing and give me feedback.

Hedge The Hedge Trader EA

Improved version of 10 pips a day opposite "yesterday's trend" EA

This Expert Advisor trades every news event that is scheduled to release on www.dailyfx.com/calendar 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

Anyone know how to improve this EA i put together ? Cheers

The EA opens the positions in the direction of moving of Stochastic indicator, in addition there is a heightening of positions by martingale. It is tuned for micro-Forex.

Reasonably good algorithm of the EA based on CCI and its MA. It shows good results in tester. I need help for optimization, testing and maybe code debugging.

Greetings to all. I started to develop a MTS not long ago. This is my first one. How can I improve it, I'm waiting for the specialist's advices. And how can I use the AMA indicator in the EAs (iAMA)? I tested this strategy on September 2008.

It was developed on my order for working with the RPoint indicator. I reached this variant by changing the parameters of the indicator and the EA. Change the ReversePoint value to 250 when placing the indicator.

The EA is based on the MACD indicator.

Is it possible to take just 10 pips a day? This EA tries to do it.

The testing data is in the strategy tester.rar file. The EA was tested from 29.09 to 30.09 because the strategy is designed for M1. But unfortunately it works not by the strategy. In some cases it doesn't close when it should and so it goes negative.

The ZigZag indicator is used.

I created this indicator on the basis of the MQL4 training material. This modified EA is almost from there. All functions are standard, I'm not able to develop something better yet. Only the "heart" of it was modified.

Trading by a break through of the support/resistance levels.

Because of the "supposedly" 24k of errors within the journal, this script did not make it into the championship. Maybe next year Folks : ) So far, There are no errors to be found. "The Grid" (A Massive Hedger)is Coming Soon...

Expert Advisor EMA_CROSS.

Expert Advisor Divergence Trader.

An EA that works on the M1 period and with the symbols that have the spread of 2 points.

Expert Advisor Straddle&Trail. The code contains a comprehensive description.

Expert Advisor TicksInMySQL.

It is shown how you can open positions for 12 symbols available and for 4 timeframes using only one EA attached to only one chart.

Regression Channel Indicator and Expert Advisor

Somebody wrote on the forum: "Lots reserve - does anybody have somthing like this?" I answer yes. The EA determines it.

1...910111213141516171819202122