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

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.

To post a new code, please log in or register
latest|best

The Multi timeframes RSI indicator

An Expert Advisor based on the iMACD indicator (Moving Average Convergence/Divergence, MACD)

The script creates the Fibonacci levels graphic object with a large number of settings.

The indicator implements a breakthrough system using the Float_Pivot_Smoothed_Digit channel.

The ColorMFI_X20_Cloud indicator with the possibility to change the indicator timeframe using input parameters

The ColorRSI_X20_Cloud indicator with the possibility to change the indicator timeframe using input parameters

The EA implements averaging of positions. The average iStdDev is calculated in a sliding window.

Three timeframes RSI Average

The Three timeframes Stochastic Average indicator

The Tymen STARC Bands indicator

The Multi timeframe Tymen STARC Bands indicator

Self Advance Decline line - with floating levels

Self advance decline line

Extended normalized RSI - on chart version

Extended normalized RSI

Normalized RSI

An EA based on indicator iMA (Moving Average, MA). Reverse of signals. Lot size is either fixed or based on risk percentage.

An indicator of expanding time zone ranges with the background color filling and the midline of the Hans_Indicator range, capable of giving alerts and sending mail and Push messages at the time of breaking through the expanding of the range formed, with the number of price levels increased up to thirty-one

Grid of market positions. Martingale.

Indicator HLCrossSigForRSI with the possibility of changing its timeframe in its input parameters

An EA based on indicators iRSI (Relative Strength Index, RSI) and RFTL

A semaphore signal indicator that gives trade signals when candles Heiken Ashi Smoothed change their directions

Indicator Heiken_Ashi_Smoothed with two color-filled channels built on mean-square deviations from the High and the Low of the indicator candles

Indicator Heiken_Ashi_Smoothed with the possibility of changing its timeframe in its input parameters

An EA based on indicator iBands (Bollinger Bands, BB). It places pending Stop orders.

Indicator FineTuningMA represented as candles

Indicator Mirror RSI

Indicator RSI MA

Oscillator i-KlPrice using volumes

Indicator Heiken_Ashi_Smoothed_Trend with the possibility of changing its timeframe in its input parameters

Indicator MA of CCI

A multisymbol EA. Its working algorithm is perceptron, i.e., a simple neural network). It uses indicator iAC (Acceleration/Deceleration, Accelerator/Decelerator Oscillator, AC).

Indicator POGO

Indicator Simple slope

Indicator Sylvain Vervoort rainbow moving average

Indicator Sylvain Vervoort RSI inverse fisher transform

Indicator Volatility Quality Index

Indicators iCCI (Commodity Channel Index, CCI) and two iMAs (Moving Average, MA) are used.

Indicator Price Momentum Oscillator

1...5678910111213141516171819...168