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

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

Adaptive ATR Keltner channel

Adaptive ATR channel

Adaptive ATR

This is a utility for beginning indicator programmers, or others, that want to have a look at values provided by OnCalculate and a few other functions. The indicator shows: 1) The most recent value provided with the most recent OnCalculate call. 2) The previous value from the previous OnCalculate call. 3) The first value from the first time onCalculate executed.

EMA to SMA MACD - on chart

EMA to SMA MACD - extended

EMA to SMA MACD

AMA smoothed RSI - floating levels

RSI of AMA - floating levels

Adaptive Moving Average (AMA) smoothed RSI

RSI of Adaptive Moving Average - AMA

Adaptive Moving Average - generalized version with floating levels

Adaptive Movinga Average - generalized version

Recursive Median Oscillator - with floating levels

Recursive Median Oscillator

AMA to KAMA crossover

Adaptive Moving Average - AMA - with filter, histogram version

Adaptive Moving Average - AMA - with filter

Adaptive Moving Average - AMA - as described by Vitali Apirine

Vervoort's crossover - extended

Vervoort's crossover - tape

Vervort's crossover - histogram version

Vervoort's crossover

Classic Donchian Channel indicator

Skyscraper_Fix indicator in candle form

WPR_Histogram_Vol indicator with additional averaging of the resulting histogram

XWPR_Histogram_Vol indicator with the timeframe selection option available in input parameters

The trading system based on the signals of the TimeZonePivotsOpenSystem indicator

Heiken Ashi Zone Trade indicator

Internal Strength indicator

Smoothed CCI indicator

Track Cyclical indicator

Trend Signal indicator

Zero Lag RSI indicator

Zero-Lag EMA indicator

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

XWPR_Histogram_Vol_Direct indicator with the timeframe selection option available in input parameters

XWPR_Histogram_Vol_Direct indicator provides alerts, sends email and push notifications at the incoming trading signals

The indicator paints candles going beyond the Hans_Indicator_Cloud channel expansion

1...8910111213141516171819202122...168