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

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

Average using dr. Andreas Uhl's "correction method.

iCrosshairClickTarget indicator for MetaTrader 5 is an improved version of iCrosshair indicator for MetaTrader 4.

RSI(OMA) with automatic Fibonacci levels.

QWMA - the "CA" ("Corrected Average") version

Sentiment zone oscillator.

AdxVma trend.

Balance of market power (using improved Jurik filter for calculation).

PDFma — average using probability density function for average calculation.

Elliot oscillator indicator.

Recursive (double) smoothed stochastic - allows calculating double smoothed stochastic up to depth 15.

ExpBuySellSide is a MetaTrader 5 Expert Advisor based on the ATRStops and StepUpDown indicators.

ExpHAWaves is a MetaTrader 5 Expert Advisor based on the Heiken Ashi and StepUpDown indicators.

Stochastic of 7 possible types of RSI(oma).

NEMA - arbitrary depth EMA, DEMA, TEMA... DecEMA ...

MACD calculated using the NEMA.

The newest version of Adaptive Laguerre filter.

This version can use one of the 4 basic averages types for smoothing.

Adaptive Laguerre filter trend.

New version of non-repainting step stochastic indicator.

ExpPricePosition is a MetaTrader 5 Expert Advisor based on the PricePosition and StepUpDown indicators.

Correlations (Spearman or Pearson rank (auto)correlation) drawn as candles.

Awesome oscillator - extended version.

Support ressitance - Barry (extended version).

Holt's double exponential smoothing - the trend component.

Short description.

CCI - very extended version of the "experiment".

Maksigen channels - extended version.

Holt's double exponential smoothing with linear forecasting

Tick volumes indicator. It shows the price change with an increase and decrease.

Stochastic - one classical and 3 new types of stochastic.

RSI of adaptive T3 (calculates 7 types of RSI that can be filtered by adaptive T3).

Script to set correct scale on Fibonacci arcs attached to chart.

ADXm - version for MetaTrader 5

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.

1...596061626364656667686970717273...151