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

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

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.

Trade symbol: various Time frame: H4 Indicators used: EMA, SMA, MACD, RSI, Bollinger Bands, Parabolic SARS

A regular release of an EA by the ZigAndZag indicator.

This expert is based on the famous DeMark Lines indicator.

This is not an automatic system. It is fully manual.

An expert advisor that makes a decision on the basis of the indistinc logic (so-called Fuzzy logic). The A. Nedosekin's (http://sedok.narod.ru/scoring_USA.html) materials were used during the development of the classificator and the resultant for ranks.

An implementation of all patterns FOREX MACD 4H strategy in one EA.

The EA trades based on the trend continuation pattern of the MACD indicator.

A pipser.

1...9101112131415161718192021