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

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.


This Ea operate the best setting on a daily time frame

Opens position when RSI returns from extreme level.

Works with open, high, and low prices of the current day.

Easiest daytrade robot ever - does the same what happened yesterday.

Auto Magic Nr. Calc The Magic Nr. per ASC II Code from Symbols

The Expert Adviser uses the indicator OsMA.

A slightly different EA based off daily opening breaks.

Opens and closes orders using parabolic SAR

The adviser uses the indicator Moving Average.

A simple EA that sends e-mail alert whenever there is moving average crossover

I got this EA from a friend. It is based on the previous day's open and close price, but I would want it to close all trade on friday at a certain time.

Forex Second Chance EA is a modification of Moving Average Convergence Divergence EA. Here, I have included "TrendShift" to the parameters and it is doing good.


This systems allows you to progressively enter and exit the market. You define the amount you want to risk (%) and it calculates automatically the different levels of entering and exiting the market according to the amount of levels you have defined.

In this field give a brief description of your script (1-2 sentences).

10 Point 3 v004 enhanced Expert Advisor

Base on 10 point , V003 But have been enhanced

Based on the HAS indicator.

Wave Power

Continuing the theme "tumbler. Trade in breakdown rates timing.

This EA will send an e-mail about your account details every xx minutes.

I have programmed an EA using Moving Average (from mt4 default Moving Average.mq4) to decide open buy/sell combine with StopLoss using the Money Management.

Simple Expert Advisor. In this version RSI and Trailing Stop has been added.

This EA simply opens two opposing positions at the beginning of the first new bar it comes across. Both positions can win lose or draw. Works best in 5M timeframe and can be optimised using "Open prices only".

This is an example of the one of trading news strategies. It can be a part of bigger EA which can play news.

Trailing can be carried out using the fractals, the extremal bars in the past or using the specified number of points. Can run as a single Expert Advisor or a script, together with any Expert Advisor.

Uses the ideas of envelopes, moving averages and parabolic SARs for entry and exits. Made for M15.

Imports live trades and orders from the firepips twitter page

This version use Accelerator Oscilator as main indi to recognize the signal

This Expert Advisor will count all the pending orders for the chart it has been placed on.

Displays on the chart peaks of tick volume at exact time points

Now with added options and features. pSAR Alert plays a sound whenever a first parabolic SAR signal appears.

Now with more options. Opens and closes orders on first parabolic SAR signals.

If you have a strategy to trade with it, You can use this EA and set Your Parameters And trade with this expert

An antimartingale which tries to maximise the gain/risk ratio. I have a 5 digits account, let me know if you have any problem with this.

This system use many methods to trade , you can trade about 52 different strategies,

EA based on the maximum and minimum price values of the previous trading day.

An expert advisor designed to alert you when every first parabolic SAR dot in a sequence appears.

An expert advisor designed to open and close orders at every first parabolic SAR signal i.e. when sequence shifts from below the price to above and vice.

alerts the user if the macd is above 0.0006 on 5m or below -0.0006 on 5m