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

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

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

Calculating the best trading interval.

Indicator HLCrossSigForWPR with the option of selecting its timeframe in its input parameters

Indicator RJTX_Matches_Smoothed featuring alerts, emails and push notifications for smartphones

Indicator RJTX_Matches_Smoothed_Alert featuring alerts, emails and push notifications for smartphones. The input variables allow replacing the displayed indicator symbols

Indicator VZO

An EA based on indicator iATR (Average True Range, ATR)

Indicator Candle's Middle Point

Indicator Colored Middle Point of Candles

Indicator EMA HLC Envelope

Indicator EMA HLC Envelope Oscillator

Indicator Fractal Channel

The indicator displays two indicators ATR with different averaging periods in a single window.

Signal indicator iCrossAD. It shows possible reversals or price roll-backs.

A set of Fibo levels (pivot points) built on candles of the timeframe specified in the inputs

A set of Fibo levels (pivot points), based on candles of a timeframe specified in the inputs, made in the form of labels

Indicator i-KlPrice_Vol that shows the direction of moving the histogram bars as colored labels on such bars

i-KlPrice_Vol_Direct indicator with the timeframe selection option available in input parameters

Indicator RJTX_Matches_Smoothed in the main chart window

Indicator RJTX_Matches_Smoothed_main with the timeframe selection option available in its input parameters

The channel based on fractals with the background filling inside the channel.

Indicator FractalChannel_Cloud with the timeframe selection option available in its input parameters

Indicator FineTuningMACandle with two colored channels based on standard deviations from the High and Low of the indicator candles

FineTuningMACandle_Chl indicator replaces signal candles with signal flags, which are visually more convenient in most cases

Indicator Traders Dynamic Index

The EA uses indicator iAlligator

TMS Arrows indicator

Indicator Parabolic Moving Average

Parabolic MA with Bands indicator

Indicator True Strength Index

Shadow True Strength Index

123456789101112...160