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

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

Adviser may trade in two modes: Martingale and antimartingeyl ...

This code is an Alternative of the missing OnTrade() event in MQL4.

Good For EURUSD. Start by Money $300.

EA depend on distances for 9 orders opened with condition of Stoc 4H >80 sell &

How to load csv signals into your expert

Amazing EA that does not use any indicator. Instead, it follows the price action. Tested from 18 August 1995 to 29th January 2014. It has managed to turn $10,000 to 11,958,183.37.

Artificial Intellegence (by Reshetov) original code is optimized with higher returns and accuracy for positional traders.

GBPJPY 5M Only. Good luck.

liquidex is a HFT EA. It uses moving average and range to determine it's entries and exits.

The EA will close all open orders across all charts corresponding to the EA chart symbol when Bid or Ask is equal to or crosses the Kijun Sen.

The EA will close all open orders across all charts corresponding to the EA chart symbol when Bid or Ask is equal to or crosses the MA.

It Is placing stop loss and take profit at a given distance. Displays the current status of open orders. For closing of the order it is enough to select and move the label to the left.

Example of working with OBJ_EDIT graphic object.

This isn't an operating EA, but profit management EA.

Example of working with OBJ_LABEL graphic object.

It uses 3 fast MAs to determine entries and exits as well in an event of a crossover.

This is the Expert Advisor with Money Management and signal selection. You can add your own signals in this EA very easily by just adjusting the function signals.

Coensio Swing Trader makes it possible to trade semi-automatically using manually pre-defined support/resistance or breakout levels.

Best used on monthly candlestick charts with four decimal points to a pip (use the JPY version for other pairs). This EA calculates the likelihood of your desired range of pips being hit based on two years of past trading ranges and a statistical forecast

Trade 5min charts mostly EURUSD. Added news filter from Forex Factory and stops. Loads of versions inside. Good luck

EA for Trading on News event, will set BUY and SELL Stop (pending order) then will delete one pending order after open BUY/SELL occur (OCO) on specifed date and time.

Timer is a break trough system.

The idea of this robot is to catch long trends. Crossing the 15Min moving average triggers buy and sell orders.

Trade EURUSD 5 min scalping or similar. Good Luck.

System open positions after crossing hand drawn trendlines on chart.

When the order reaches the specified profit, then EA automatically moves StopLoss to BreakEven.

An EA with automatic trading at setable minute using stochastic indicator and scalping lot

This EA will watch your open positions and close the ones that meet the preset conditions.

The Great Hunter, is a Holy Grail attempt, by using a mix of trend following indicators, volatility filters and martingale system (optional).

This EA puts two simultaneously Pending Orders (Buy Stop and Sell Stop), when activated one of two pending orders, the reverse pending order is closed.

An EA meant as advanced Order-Placement tool, which tries to help its user to set the "Stop-Loss"-level farther away with the same or less losses than normally expected.

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

1...8910111213141516171819202122...29