Download MetaTrader 5

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

MQL5 Source Code Library for MetaTrader 5 - 15

This is the largest free source code library for MetaTrader 5 platform programs. Here you can find ready-made Expert Advisors, technical indicators, scripts and libraries. Use the code library when learning MQL5 language and develop your own automated trading applications based on the provided codes.

You can freely download and test published codes, as well as launch them in MetaTrader 5. The library is also available directly from MetaTrader 5 platform and MetaEditor development environment.

latest|best

The Expert Advisor opens a reverse position, additionally placing a grid of orders for reinforcement.

The Expert Advisor trades based on two iMA: iMA(5) and iMA(4) on the M5 timeframe.

Fractal Force Index.

The simplest EA based on the fractal WPR.

The Fractal_DeMarker indicator with the timeframe selection option available in the input parameters.

The Expert Advisor processes signals from four iWPR indicators with different averaging periods.

The Expert Advisor manages positions using labels.

The Fractal_WPR indicator with the timeframe selection option available in the input parameters.

Fractal moving average with indication of the last value with a price label with the ability to change the averaging algorithm.

Indicator for automatic selection of the coefficients for every instrument in a pseudo-stationary portfolio, which tends to equilibrium at zero.

Indicator for building custom charts, which are based on user-defined formula.

The Expert Advisor uses the iStochastic (Stochastic) Oscillator, iWPR (Larry Williams' Percent Range) indicators.

The Expert Advisor opens trades based on the Bollinger Bands indicator.

The Expert Advisor which uses the AO and AC indicators in its operation, which were proposed by the Bill Williams.

Uses the iStochastic (Stochastic) indicator from three different timeframes.

Trades using the pending Sell Limit and Buy Limit orders. Removes all orders and closes positions at 23:59.

The indicator displays the balance and equity of the trade account.

The Exp_ColorZerolagMomentum_X2 trend trading system based on the signals from two ColorZerolagMomentum indicators.

Fractal DeMarker oscillator.

The Fractal_Keltner indicator with the timeframe selection option available in the input parameters.

Signals based on four iMA (MA) indicators, by PRICE_OPEN, PRICE_HIGH, PRICE_LOW, PRICE_CLOSE prices. Trades only on hedge accounts.

Works based on the iMACD (MACD) indicators

The Fractal_Bands indicator with the timeframe selection option available in the input parameters.

Fractal Commodity Channel Index.

The Exp_2pbIdealMA EA is based on the crossing of Moving Averages with position scaling according to the trend.

Intersection of two iMA (MA). Uses the iATR indicator.

Real time indicator designed for scalping on FORTS.

The Exp_FisherTransform_X2 trend trading system based on the signals from two FisherTransform indicators.

The FGDI indicator with the timeframe selection option available in the input parameters.

Fractal Larry Williams' Percent Range.

The simplest EA based on the fractal RSI.

The Exp_AdaptiveCGOscillator_X2 trend trading system based on the signals from two AdaptiveCGOscillator indicators.

The Fractal_RSI indicator with the timeframe selection option available in the input parameters.

Works only on the hedge accounts! Martin, martingale. Doubling the lot at loss.

Indicator in the form of a panel. Displays the resulting direction of the position: resulting lot size and up or down arrow.

Fractal Relative Strength Index.

Fractal moving average with indication of the last value with a price label.

Fractal channel by Keltner.

An implementation of Bollinger Bands width indicator for MetaTrader 5.

Searching Nearest Bar - searching for the nearest bar.

1...8910111213141516171819202122...106