Watch how to download trading robots for free
Find us on Twitter!
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 - 42

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

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)

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

1...353637383940414243444546474849...183