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

MQL4 Source Codes of Expert Advisors for MetaTrader 4 - 23

icon

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.

Submit your code

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.

MACD and averages. A co-developing.

A simple EA that uses 2 indicators AO and RAVI (attached) in its working. NOT OPTIMIZED!!! Good results on EUR/USD - H1.

This EA is based on the statistics with an element of Martingale.

The concept of this EA is to monitor several indicators and trade based on a value returned by those indicators.

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

МТS performs a trading oriented at the panic, publishing of the important economical indexes at the FOREX market.

Do you have the need to take the opposite side of a trade? Using manual trading or another EA, EES Hedger can immediately take the opposite position as specified in EA parameters. Instructions: For example, you are trading SAR EA on GBPUSD and SAR

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

The EA was developed on the basis of the Sidus indicator. It trades on EURUSD H1. Shows good results on the history after optimization. The test was performed on the quotes from http://metaquotes.ru/ and "Alpari" DC.

This expert dertemines the trend at a specific time then it goes in the opposite side

х1

A simple indicatorless system based on the adding of the position with a decreased lot until the reaching of the necessary profit level.

In this issue we will view the strategy called Moving Average Position System developed by the reader of our forum, Andrey. The strategy uses the only one indicator and the combined system of capital management.

I've tested the EA on EUR/USD M15, it uses stochastic and RSI.

The EA works with 4 symbols.

1...1617181920212223242526272829