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.

latest|best

The EA was developed on the basis of the Sidus indicator. It trades on EURUSD H1. Shows good results on the history after optimization. The test was performed on the quotes from http://metaquotes.ru/ and "Alpari" DC.

This expert dertemines the trend at a specific time then it goes in the opposite side

A regular modification of the fractals by B. Williams.

It was written at the request of one trader, it draws the horizontal lines at the level of the last fractal upwards and downwards.

An indicator that colors the bars of the bullish trend with the blue color and the bars of the bearish trend with the red color.

An indicator that is to be placed on the Ichimoku allows to trade both in the trend and in the flat playing mode.

Draws separately Kijun and Tenkan lines with the drawing forward on a specified number of periods.

A simple indicatorless system based on the adding of the position with a decreased lot until the reaching of the necessary profit level.

Indicator Hemnina. It is recomendatory.

Indicator Mindhero.

Indicator Tema_rlh.

The calculation of pi character.

In this issue we will view the strategy called Moving Average Position System developed by the reader of our forum, Andrey. The strategy uses the only one indicator and the combined system of capital management.

The script extracts the list of symbols from the *.set file and saves it as the csv file.

The script swaps out all the symbols available in the Market Watch window into a csv file.

I've tested the EA on EUR/USD M15, it uses stochastic and RSI.

Indicator MA_Gideon2.

Well, the functions of file operations are used in the system library of kernel32.dll. It is this library that we import into the EA. The code is attached.

Indicator RSI_dots.

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.

1...525354555657585960616263646566...84