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

MQL4 Source Code Library for MetaTrader 4 - 59

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.


The EA works with 4 symbols.

It Shows you more than 160 type of Support and Resistance .

Shows - in this version - up to 3 MA from different timeframes. Maybe is usefulll for someone. Enter the period for the ma's in Minute of the desired timeframe, f.e ma2_periode=15 shows you the ma for the timeframe M15. Enter in ma2 the Calculte Perio

Indicator Xaos Patterns Explorer.

An improved version of the CCI_onMA indicator.

Trade symbol: various Time frame: H4 Indicators used: EMA, SMA, MACD, RSI, Bollinger Bands, Parabolic SARS

An indicator by the Natuseko Protrader 4H Strategy

The indicator shows price on a chart. It is simple to write.

Indicator 4TF Has Bar.

An advanced XaosExplorer indicator.

A regular release of an EA by the ZigAndZag indicator.

Indicator CCI_onMA.

Indicator BS_MarketPrice.

Indicator DT-Pirsonq4.

Indicator DayOfWeek.

The indicator displays spread and swap.

A modified Camarilla dt Historical indicator.

A version of a ZZ for channels. The width of the channel is set in its properties.

Autocorrelation function

Indicator SSl.

This expert is based on the famous DeMark Lines indicator.

Indicator CycleIdentifier.

Indicator SSL_channel_chart_alert.

Indicator Parabolic with a signal.

Indicator MA_Dash_Cobra.

Indicator SSL fast sBar_mtf

This is not an automatic system. It is fully manual.

Indicator FIBO_S.

One Side Gaussian indicators, corrected and supplemented

Indicator VQ bars.

An expert advisor that makes a decision on the basis of the indistinc logic (so-called Fuzzy logic). The A. Nedosekin's ( materials were used during the development of the classificator and the resultant for ranks.

An implementation of all patterns FOREX MACD 4H strategy in one EA.

Indicator MACD with crossing.

The indicator FiboPiv_Daily_DK.

A ZigZag alike the one used in Ensign with little differences (v1). With displaying of statical and dynamical fibs and Andrews' pitchfork.

The indicator is intended for searching the correlations between different symbols. It allows to overlay one chart with another to visually detect how do different symbols correlate between each other.

The indicator of MA-channel allows to analyse the dynamics of the price by using the technique of A_Vlad, the gist of it is the line of balance LB acts as the attraction of price when there is no external influence.

It displays Fibo levels of the price channel created on the moving avrage.

The indicator OzFx Signals v1.7.