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

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

Based on RSI with Parabolic SAR trailing...

This is a template EA with onBar() event.

Based on Alligator and MA indicators.

This EA capitalises on four timeframes SAR, RSI and BB to determine entry as well as time zone.

trend trading EA

Sicker_EA_DIGITS - daytrading EA

A small utility making MT4 input windows resizable.

After open a trade, take a screen shot and send email to you

The classic MT Sample EA updated for full/sub-pip accounts, also now handles ECN/STP brokers. Examples of setting trading hours, and added externals for StopLoss, MagicNumber and order comment.

This is the 2nd version of Source Code

Help me making this better.

GodBot EA is using Bollinger Bands together with DEMA, Moving Average and Candlesticks. (EURUSD M5)

1...101112131415161718192021222324...29