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

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

X trader trades using two moving average crosses.

It trades huge amount of trades with small lot sizes. Does not use indicators or price formations, buys/sells in growth/fall of price.

AntiFragile EA is an innovative trading strategy built on the idea of Antifragility professed by Nassim Nicholas Taleb. The general idea is to gain from disorder.

This Expert Advisor trades Parabolic Sar (PSAR) trend changes and applies a fast exit strategy. The parabolic SAR is a technical indicator developed by J. Wells Wilder. Basically, if the stock is trading below the parabolic SAR you should sell. If the sto

You can either be long or short at any given time. You buy and close a short position if the market makes a new 100-day high, and sell and close a long position if the market makes a new 100-day low.

Buy only using High Previous candle Breakout H4 timeframe

Writes Account Balance, Equity, Margin, to a .csv file in regular intervals, and alerts via email when certain Margins levels are reached

Aeron Expert Advisor is well known. I am the author of Aeron Expert Advosor. It is based on martingale pattern and all of its parameters are fully customisable.

Expert Advisor opens deals based on price consolidations

The Expert Advisor places buy trades when RSI crosses above 73 and sells when it drops below 27. A trailing stop based on ATR protects profits.

Improvements to the previous version.

I wrote a new indicator to find the range bound period, then we can place order when the price break the range bound.

"Follow Your Heart" is an Expert Advisor that open an Order strictly by price increase/decrease during nBars on the M1 time frame (without any indicators).

This EA will open a Long Order if the Price move above yesterday High or Short Order if the Price move beneath yesterday Low.

Expert Advisor based on the ACD and MA Attention: this is not a Holy Grail

Trades when two moving averages cross each other

Trades using parabolic SAR signals

Strategy is founded on support and resistance AND the theory that the market moves in trends or consolidated horizontal movement containing smaller ranges. It uses default custom indicator moving average and partial order closing. -WhooDoo22.

Renko Expert Advisor.

Multi-currency EA, working on brekouts and stop-orders.

Autostop automatically sets stops on open trades

Extension of VR --- SETKA. Advisor to the grid works by Martin ...

Opens specified trades at the specified time

This EA executes trades when it recognizes candlestick patterns that are associated with Bullish Reversals. Test have been ran on the daily chart. The code still needs a lot of work, so trade at your own risk.

Automatic set (woth confirmation) of tp ans sl calcul use buy cost it work for every trade available and for all symbol. You can change the external parameter for tp and sl. I work on a new version where you could choose sl and tp for each symbol

Trades on two moving average crosses

Trades when the first parabolic sar dot occurs signaling a new trend

The EA based on break-outs with money management. It is able to trade on multiple pairs.

Trades using parabolic sar signals

A brand-new EA to modify orders stop levels

I make the new EA similar Sophia1.1 but logic is different and money management. I saw it strategy up a book of Enrico Malverti (Trading Systems).

EA placing orders progressively and scalping on global profit.

Trades on RSI indicator.

Opening trades directly from charts;

Take a look at my EA using the 3 indicators.

Final version of my hybrid Expert Advisor.

Expert advisor based on Bollinger bands and Rsi. Modified trailing stop system.

EA based on MAC-Fibo trading strategy

A Line order EA capable of changing stop losses, take profits, trailing stops and lots.

A simple robot to trade AUDUSD D1 chart only when MACD crosses.

123456789101112131415...21