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

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
latest | best

The indicator of expanding time zone corridors with background color filling and the corridor's middle line

The indicator of expanding time zone corridors with eleven corridors

The indicator of expanding time zone corridors with eleven corridors, middle line and background color filling

XDeMarker_Histogram_Vol indicator with the timeframe selection option available in input parameters

The indicator of expanding time zone corridors with eleven corridors, middle line and background color filling that features the ratio of changing the step of corridor borders expansion

The Expert Advisor based on BrainTrend1Sig indicator

XDeMarker_Histogram_Vol indicator shows direction of the histogram bars movement using colored icons on these bars

The library allows receiving a magic number bound to three elements: symbol name, timeframe and prefix index.

The indicator measures money on a chart.

The trading system based on XDeMarker_Histogram_Vol indicator signals

BBS

Bar Based Stochastic indicator

Bar Based Stochastic indicator with histogram

Better Bollinger Band indicator

Double smoothed MACD Stochastic indicator

Fractal bar indicator

Modified Advance Decline line indicator

Grid of pending orders. The EA applies iADX (Average Directional Movement Index, ADX) indicator.

The Expert Advisor based on iMACD(). Displaying MACD values via Point().

Mogalef Bands indicator

Power measure indicator

Williams Pro-Go indicator

XCCI_Candle_Vol indicator showing a breakthrough of its zero line using candles, color labels and audio signals

XCCI_Candle_Vol_Zer indicator with the timeframe selection option available in input parameters

XRSI_Candle_Vol_Zer indicator with the timeframe selection option available in input parameters

XCCI_Candle_Vol indicator with the timeframe selection option available in input parameters

XRSI_Candle_Vol indicator with the timeframe selection option available in input parameters

Working with Buy stop and Sell stop pending orders.

MA_Rounding_Candle_HTF indicator with the timeframe selection option available in input parameters

WILL VAL indicator

Grid of Stop and Limit pending orders.

PVA

SonicR PVA Volumes indicator

Stochastic expansion indicator

TBS

Tick Based Stochastic indicator

Tick Based Stochastic with histogram

Trix oscillator indicator

The trading system based on the MA_Rounding_Candle indicator signals with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system

Exp_XHullTrend_Digit is based on signals generated by XHullTrend_Digit indicator

The trading system based on SSL_NRTR indicator signals with the possibility to set a fixed position holding time

SSL_NRTR indicator with the timeframe selection option available in input parameters

Trading based on three iMAs (Moving Average, MA)

1...282930313233343536373839404142...176