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


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

RSX range expansion index - with floating levels

RSX range expansion index

Synthetic RSX

Cuttlers RSI adaptive EMA ribbon

Cuttlers RSI adaptive EMA

DWMA with JMA oscillator

DWMA with JMA ribbon

Double weighted moving average

Mogalef bands

Schaff trend CCI

Pearson coefficient

Short description.

Step chart of stochastic of averages

Step chart of stochastic

Step chart of CCI of averages

Step chart of CCI

Step chart of RSI

Step chart of averages

Expert adviser scans past 500 closing bars and looks for common closing regions as entries.

Kaufman ama - with floating levels

Range Action Verification Index - extended

RSI adaptive EMA - floating levels

RSI adaptive EMA ribbon

MACD of RSI adaptive EMA

RSI adaptive EMA

Stochastic of adaptive lookback average - with normalized zones

TSI of adaptive lookback average - with normalized zones

Stochastic of adaptive lookback average

RSI of adaptive lookback average

Phase change index - JMA

Adaptive lookback stochastic

Alb average

Stochastic - with normalized zones

Rsi of average - with normalized zones

Indicator to display existent and emerging harmonic chart patterns.

ATR-based ZigZag implementation.

This script helps to save the objects into a file and show the objects on a new chart.

Classic version (on Chart) of Didi Needles indicator, now with a filtering threshold based on MA threshold differences.

Draw your horizontal and trendlines and be notified when price crosses them