MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Source code library - Expert Advisors, Indicators and Scripts

Update to MetaTrader 4 build 735 and Test the VPS for Free
To post a new code, please log in or register

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 Jobs section

MQL4 Source Codes of Expert Advisors for MetaTrader 4

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.

previous12345678...16next
latest|best

This strategy uses hedging if trend change.

Expert Advisor work with one hour chart, and is the best robot for now, plays a sound when orders/alarms are executed and multiply positions by 10 when 5 digits is true, trailing stops every tick regardless of Execution Mode.

Trade using Renko Boxes in MetaTrader 4.

xLiquidex_V2_Mod1 is an Impulsive/Volatility/Breakout Expert Advisor.

This template code contains basic features and functions required for the developing the Expert Advisor.

Auto pending and manage orders by RSI, lower risk at weekend, send mails if necessary.

EA to find gaps in history data.

Stochastic RSI Expert Advisor.

Relative Strength Index Expert Advisor.

Pivot Point Reversal scalping Expert Advisor.

X-liquidex is an Impulsive/Volatility/Breakout EA. It uses Range, Moving averages and Keltner channel. It's logics are simple yet powerful.

The Expert Advisor determines buy and sell based on Moving Averages, it also uses ADX and RSI.

Ilan16 Expert Advisor for MetaTrader 4.

Mail all order status periodically.

Break out strategy based on Bollinger Bands.

Expert Advisor that closes orders after defined profit or loss.

Realize virtual profit trailing.

Parabolic SAR ADX Expert Advisor.

Expert Advisor template with Trailing Stop, autolots, candle scan, buy block sell, buystop / sellstop. Working ea example and many improvements in template!

This Expert Advisor is based on SMA, ADX and SAR indicators.

The Expert Advisor shows the current values of World Stock Indices from Google Finance using WebRequest function.

The Expert Advisor shows the properties of the signals, allows to modify the signal copy settings and subscribe or unsubscribe to the selected trade signal.

This is a percentage of the user set stop-loss or profit robot.

Advisor exposes not visible to brokers levels StopLoss, TakeProfit, Breakeven, Traling stop

My first exad.....comment if any not modified and improve ment running..

The EA opens transactions when RSI is Upper or Below 50

EA Crossing of 2 MA

This is the last EA that I created, and I want to share to friends traders. This EA just using a very simple formula, but according to my experience, the formula was accurate enough to make a profit.

This is my first Expert Advisor so please give feedback on how I can improve it to make the best possible EA. Thanks for the inputs in advance and happy trading.

This Expert Advisor is based on your human ability to predict medium and long term trends.

It opens and close transactions depends on MACD vs signal line - upper - opens buy, closes sell, below - closes buy, opens sell.

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.

previous12345678...16