Watch how to download trading robots for free
Find us on Telegram!
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

MQL5 Source Codes of Expert Advisors for MetaTrader 5 - 34

icon

Expert Advisors analyze price charts and trade automatically following underlying rules. Here you can find MQL5 source codes solving a variety of problems. You are able to select both simple Expert Advisors based on moving average crossing and complex ones involving complicated signal generation algorithms and protection against trading mistakes.

You can download and launch offered Expert Advisors in MetaTrader 5. It is recommended that you test and optimize trading robots in the Strategy Tester before using them. The library of Expert Advisors is also available directly from MetaTrader 5 platform and MetaEditor development environment.

Submit your code

The trading system based on the signals taken from the Arrows_Curves indicator

The Expert Advisor Exp_XMACD based on the signals received from the XMACD universal histogram.

The Trading system based on signal entry taken from the BinaryWave integral oscillator.

Intitial position is opened according to signals of the indicator.(there are six variants). If position becomes unprofitable, its volume is increased

The Expert Advisor Exp_X2MA is drawn on the basis of X2MA universal Moving Average change.

Simple scalper

GO

The Expert Advisor analyses four Moving Averages: open, high, low, close. On its basis it calculates GO value and opens position according to its value

The Expert Advisor Exp_AdaptiveCyberCycle is built on the basis of the Adaptive Cyber Cycle indicator. The signal is formed when a bar is closing if there is crossing of indicator and its signal line.

The Expert Advisor based on signal entry taken from the AroonSignal signal indicator

The trading system based on the three Parabolics with three different Time Frames

The Expert Advisor based on the AMkA indicator

The Expert Advisor tries "to catch" rollbacks after a strong movement. Candlestick analyses is used

The Expert Advisor on a single-layer line Perceptron with 4 entries which analyzes the Accelerator Oscillator indicator's data

Selflearning Expert Advisor

Analyzed copy of ATC2012 current champion JPAlonso's EA.

Export MQL5 live data to Excel (DDE)

The trading system based on the signals obtained from the BBands_Stop_v1 signal indicator.

This Expert Advisor uses support vector machine learning to analyze historical price data and signal future trades.

The trading system based on the signals obtained from the BBSqueeze signal indicator.

The trading system based on the change in the direction of a universal Bezier curve.

The Expert Advisor based on the following indicators: Laguerre, CCI and MA.

The Expert Advisor opens a position at the specified time in the direction opposite to that of yesterday's daily bar.

The Expert Advisor operating based on divergence of two moving averages.

The Expert Advisor based on three moving averages and exit using Stop Loss or Take Profit. It sets up a market entry upon the conclusion of a trend on the trend reversal.

The Expert Advisor operating based on exponential and linear weighted moving averages of the same period.

The Expert Advisor operating based on the SAR and ADX indicators where the permitted trade direction is selected based on trade results.

The Expert Advisor based on the change in the 3rdGenXMA moving average direction.

Expert Advisor based on three moving averages and exit using Stop Loss or Take Profit. It sets up an entry with the trend.

The Expert Advisor based on daily Pivot support.

The trading system operating based on the bounce off the support/resistance levels of the Pivot indicator

Fast Trading Panel - the panel for fast trading

Expert Advisor that operates based on two МАs and CCI

The Expert Advisor based on the price channel

Expert Advisor that trades based on the AML indicator, at the intersection of the bar with the indicator line.

Ask Bid Ticks is a high-precision, real-time tick data solution for microstructure analysis (a tick data collector). It works with local computer time.

The Expert Advisor moves Stop Loss of the open position along the border of the channel built using ATR_Trailing.

The Expert Advisor is based on CCIT3_Simple and CCIT3_noReCalc. Crossing of the indicator's zero line is used for trading activity.

Pair trading. Hedging. Market-neutral strategies.

Opens a virtual hedge position in MetaTrader 5.

Inspired by Pirat's Expert Advisor submitted to the Automated Trading Championship 2011.

1...2728293031323334353637