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


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

Step average - average true range based

Step average

Stochastic volatility - on chart

Variable Index Dynamic Average (VIDYA)

VHF adaptive VMA

VHF (Vertical Horizontal Filter) adaptive ADXm

DSL Chande momentum oscillator - smoothed

Heiken ashi smoothed - zone trade

BB stops JMA - multiple stops

BB Stops - multiple stops

Trend analysis index - improved and corrected version

Ehlers fisher transform of rsi(OMA)

Ehlers fisher transform of smoother RSI

Bollinger bands squeeze

ATR adaptive Laguerre filter - levels