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

Source code library - Expert Advisors, Indicators and Scripts

Read Financial Magazines in MetaTrader 4 and MetaTrader 5!
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

MQL5 Source Code Library for the MetaTrader 5 - Experts

Want to learn the MQL5 programming language, but don't know where to start? Here you can find a lot of MQL5-programs for the MetaTrader 5 Client Terminal. Study these examples and develop your own indicators and Expert Advisors. Being published in the largest library of codes in the MQL5 language, your applications will be accessible from every MetaTrader 5 terminal and MetaEditor 5 IDE.

Your examples in MQL5 will be distributed throughout the world and hundreds of thousands of traders will learn about you!

previous12345678...15next
latest|best|downloads
47

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

1762

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

1341

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

1582

The EA opens transactions when RSI is Upper or Below 50

1707

EA Crossing of 2 MA

4002

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.

788

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.

1765

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

1919

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

3236

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

512

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

4376

Good For EURUSD. Start by Money $300.

5186

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

1292

How to load csv signals into your expert

10997

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.

2400

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

4360

GBPJPY 5M Only. Good luck.

6100

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

771

When price crosses Kijun Sen the EA will closes open positions on the chart.

1299

When price crosses MA the EA will closes open positions on the chart.

5527

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.

1170

Example of working with OBJ_EDIT graphic object.

2171

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

660

Example of working with OBJ_LABEL graphic object.

7096

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

3176

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.

2908

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

806

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

16021

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

9762

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.

3525

Timer is a break trough system.

9924

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

11363

Trade EURUSD 5 min scalping or similar. Good Luck.

3541

System open positions after crossing hand drawn trendlines on chart.

3097

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

3325

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

1284

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

2677

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

2513

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.

9634

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.

previous12345678...15next