Download MetaTrader 5

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

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.


Velocity - normalized using ATR, deviation or no-normalization

Aroon oscillator — that is using dynamic levels/zones instead of using fixed levels for overbought and oversold conditions.

i-Paramon work time (new version).

DMI stochastic extreme - extended indicator.

iTrend indicator for MetaTrader 5

Ehlers inverse Fisher transform of RSI extended.

Rsi (7 types of RSI) with a lot of additions.

Indicator to display existent and emerging harmonic chart patterns.

QWMA - "quadratic weighet moving average" new generation

MACD that uses QWMA for calculation

Quantile bands - generalized version.

Double smoothed stochastic - extended

Extended swing line indicator

Gann swingchart and hybrid ZigZag implementation.

Variation of well know STARC (Stoller Average Range Channels) bands.

The upgraded indicator: now it has new price types and different display type.

The newest version of ALMA.

ADXVMA uses a sort of ADX values for determining the weights of average calculation.

Double stochastic of RSI uses floating levels instead of fixed levels for OB/OS conditions.

Double stochastic of RSI.

CCI experiment using adaptive calculation period.

RSI experiment with a simple addition of filled areas when floating levels are crossed.

RSI experiment with floating levels.

This version of RSI is "experimenting" with different ways how internally the RSI is calculated.

T3 velocity, now on chart version too.

T3 velocity is a completely new indicator that uses T3 to calculate velocity.

Upgraded adaptive rapid rsi (stand deviations adaptive) using t3 filtered prices.

The "on chart" version of double smoothed stochastic.

Double smoothed stochastic with some extra options

The version of Aroon oscillator, displayed on the main chart.

The version of Aroon indicator that displays colored line, bars or candles on the mains chart.

The Aroon indicator in the new visualization.

The auto envelope automatically sizes channels by calculating a standard deviation for the last n bars.

This version is an attempt to normalize MACD in known bounds

The normalizing velocity, using by default a gradient coloring.

The MetaTrader 5 version of RSI of MACD double

One more version that draws the parts when the slope is in accordance with trend.

This is an combination of 3 separate indicators: TTM wave A, TTM wave B and TTM wave C.

This version is using double smoothed ema, not some regular moving average.

The gradient version of double smoothed EMA indicator.