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

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

SonicR PVA Volumes indicator

Stochastic expansion indicator

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)

Standard deviation ratio adaptive EMA

Standard deviation ratio (SDR)

Step VHF adaptive VMA

Trend composed by a series of averages

Ergodic TSI (True Strength Index) as described by William Blau

The Reverse No Repair indicator can show bullish arrows and bearish arrows.

RSi (var) - Hull average

Hull levels

Directional smoothed momentum (momentum of averages)

Volatility adjusted WPR (Williams Percent Range)

Volatility adjusted RSI

Simple volatility

Ehleres Fisher transform

Leader EMA

Hilbert transform phase accumulation adaptive RSX

Hilbert transform phase accumulation adaptive EMA

Normalized smoothed MACD

A dynamic version of the standard Heikin Ashi indicator (code compatible with both MQL4 or MQL5).

Simple oscillator

Drunkard`s walk indicator

Momentum of average with dynamic levels

CCI of average

True Strength Index trade

True Strength Index (as originaly described by William Blau)

A quick way to draw an arc-shaped channel in 4 mouse clicks.

ATR adaptive smooth Laguerre RSI with dynamic levels

ATR adaptive smooth Laguerre RSI

ATR adaptive Laguerre RSI

Efficiency ratio directional with self adjusting levels

Step average - standard deviation based

1...202122232425262728293031323334...168