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

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

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.

EA based on macd signal and ema cross

Automatically sets a pre set take profit and stop loss for you.

Modification of the first version of the grid EA.

The EA without indicators with increasing lot size.

The Martingale with Envelope indicator.

Uses candlestick signals to trade.

Martingale syste, trades are random.

This EA is supposed to trade news and high market spikes.

This EA doesn't open orders, it takes PICTURES every time you (or another EA) opens or closes an order.

1...91011121314151617181920212223...29