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

MQL4 Source Code Library for MetaTrader 4 - 63


The largest library features codes of free trading Expert Advisors, technical indicators and scripts. With the available applications you can trade in automated mode and analyze price dynamics. Use the library of codes to learn more about financial market sentiments.

Download free applications, test them and run in your MetaTrader 4. You can access them from the MetaTrader 4 platform and the MetaEditor development environment.

Submit your code

The supersensitive indicator of fractals.

The program allows you to compare quotes of any two MetaTrader brokerage firms.

The indicator shows the ranges of price movement during different trade sessions.


Clears the chart of all objects with the name beginning on the specified prefix

Fractals + owersold/overbouth levels . Optymizable:)

Signals beginning buy (sales). Intersection indicators WPR and RSI.

Indicator to display timezone for all active forex markets.

This indicator shows the last candle of all timeframes (M1,M5 ... D1) together with the actual price.

The indicator with market entry signals and stop lines

Цветной анализатор спектра

The GRID10 indicator will draw a grid on a chart using grid lines positioned and separated at a convenient power of ten. The grid is constructed appropriate to the range of the symbol being plotted on the chart.

This function calculates the heights in pixel of all panes in a window.

The adviser allows you to try manual trading on the historical date (NEW VERSION / BUGS CORRECTED / NEW FUNCTIONS ADDED)

Variable Index Dynamic Average indicator

Adaptive RSI indicator

Вертикальный горизонтальный фильтр (VHF) показывает, в какой фазе находится рынок: в фазе направленного движения или застоя.

The program-simulator for sharpening strategy, run of indicators and trainings of trading skills in general.

This indicator uses Heiken Ashi method to enable traders to keep their trades the maximum time.

With this indicator you can check data mining news from while analysis a symbol Graph.

Now combines 14 different indicators and 7 timeframes in an easy to read meter for any FX chart. Includes inbuilt History viewer. Fully configurable signals & indicators.

The adviser allows you to try manual trading on the historical date

Calculates multiple moving averages trend


KDJ indicator

This indicator calculates Figurelli pivot points, that uses Bulls/Bears influence

Indicator mentioned in the book "Nature of trend"

Индикатор показывает возможные границы и направление бара с заглядыванием на один бар вперед.

Kaufman’s Adaptive Moving Average

an oscillator based on 3MAs.

The indicator helps to find Stop Loss levels.

This EA is intended to be less prone to big drawdowns than former RUBBERBANDS EA and RUBBERBANDS_2 EA. Awaiting for your comments and suggestions for improvement.

Color version of the XMA indicator.

Visualizes important psychological levels ("Double-Zeros").

This Expert Advisor uses MACD Logic. It is Working fine. Yes Daily 10 Pips or 10$ you may get. !!! HAPPY TRADING !!!

A volatility indicator, V Speed.

The indicator predicts the future movement of prices.

Combines 9 indicators and 7 timeframes in an easy to read meter in bottom right corner, which can be used on any FX chart or timeframe.

Waddah Attar Scalping indicator Shows you quick Trend.

The REI (Range Expansion Index) indicator by Thomas DeMark.

This EA is an enhanced version of the original RUBBERBANDS EA. Just like the oroginal RUBBERBANDS EA, it works in any timeframe for any currency pair, including gold and silver.