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

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

This EA is based on the 10 SMA moving average and another things which could be better - It also make sounds according to the context.

This expert advisor is based on the concept that market does not move always in one direction. Even when the market is trending in one direction at some points it pullback. The EA has been backtested from July 1, 2011 to Jan 13, 2012 on EURUSD. It has

disturbed EA wich open a long and a short position at the same time.

My first trading System using simple pattern.

This Expert Advisor is based on 3_Level_ZZ_Semafor indicators.

Expert Advisor EUR/USD (1H) +78% win.

EA achieved best results on Renko Chart. Renko Chart is not mine but I used it to write EA on it. EA can trade every pair but I got best results on GBP/USD and EUR/JPY. I'll appreciate any comments.

Opens sell, buy or both orders at a specified time.

This EA implements a trailing stop buy and a trailing stop sell. It places an order above the price and below the price. The sell stop order will fall with the price, the stop sell order will rise.

The system of multiple strategies "in the same package," with a virtual trading system to determine the rankings for each of the strategies (before open market order) and the library management of investment-capital.

Trailing orders (in person) and the total profit.

On a way to Grail!...

Strategy is based on simple rules. It can work on any currency pair. Best results are obtained with the lowest set TS. The strategy works with any broker, but works better with brokers who allow you to set the low TS.

Trades using two moving average crosses.

Opens and closes orders using parabolic sar signals.

One more step to perfect.

EA trades on a large market movements, and does not uses any indicators.

This is my own best EA, in the main lines can be setted up many things.

Very simple scalping EA, no Indicators. Logic is based on very fast price movements.

Just like internet speed test can tell you your internet speed, SpreadProbe can measure ask/bid spreads on the go.

Alerts on two moving average(MA) cross

Alerts you on every first parabolic SAR signal in a sequence.

A new and improved version of LineOrder

An Expert Advisor designed to open and close respective orders at the first parabolic SAR signal.

Trades using MA crosses on all timeframes.

This Ea open buy/sell positions based on Grid, no size lot optimised works well on M5

This simple EA sends hourly status e-mail and informed of the last closed order with some additional information.

Perfect solution for newcomers at coding. Allows to implement strategies with difficult stop-management. Yes, this thing need some "baking", i.e. editing, but you will like the result; especially if the strategy is already tested with hands.

A simple way of managing orders and other features through horizontal lines.

Make big deal!

Live trade monitor that scores up to 10 EA's at once, tallying Pips, Wins, Trades, PF and profits.

Three grades take profit Grid System, use it on weak market and fluctuating market, may need close all positions at some time.

Simple EA based on Alligator indicator.

Using 4 Stochastic + post-zigzag indicator(last post). The result is good!!! Profit trades (% of total --82.26%)

Expert advisor that trade in the trend of EMA and buy/sell signals get from Williams %R

Example of using optimization reports in an Expert Advisor.

This is a tool for you to automatically close all orders when you have dozens of pending orders and open orders.

Grid is a money maker in weak market, while a disaster in trending market. Maybe you can consider close all positions at some time, and run it totally again at another time, just like a fisher. This is AIGrid System With Manual Control.

EA based on the indicator Fibo-Average-2B.mq4

A 15min intrday trading strategy

1...101112131415161718192021222324...29