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

icon

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.

Submit your code

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.

GO

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.

The semi-automated Expert Advisor using a trend line (TrendLIne).

Only for hedge accounts. Opening two opposite positions on a new bar.

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

Fractal Graph Dimension Indicator.

Fractal Bollinger Bands.

Expert NEWS - MetaTrader 5 Expert Advisor. BuyStop and SellStop pending orders.

VR---SETKA---3 - MetaTrader 5 Expert Advisor. This is a continuation of VR---SETKA . The EA is based on the martingale principle. Grid. Martingale. Use only on hedge accounts.

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

JBrainTrend1Stop trend indicator features alerts, emails and push notifications.

The Exp_JBrainTrend1Stop_ReOpen trading system is based on the JBrainTrend1Stop indicator color change with adding to trend-following positions.

The Expert Advisor works comparing iCCI and iMACD indicators.

The Expert Advisor opens and closes at a certain time comparing two iMA indicators having different periods. A trade having a specified volume is opened at a specified symbol. Setting Stop Loss and Take Profit. Select position type: Buy or Sell.

The Exp_Bezier_ReOpen trading system is based on the Bezier indicator color change with adding to trend-following positions.

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

This is a modified Bollinger Bands® displaying the upper and lower borders of the price deviation from МА calculated considering the average volatility of the symbol according to ATR indicator.

The Expert Advisor is based on moving averages crossing.

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