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

icon

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

In this field give a brief description of your script (1-2 sentences).

On of my books says about moving average, that there is no "magic settings", this indicator tries out a lot of possible combinations between a long and a short moving average.

KoliEr Bands give you a step by step view for support and resistant levels. If Bollinger Bands is Batman, KoliEr Bands is Robin. Use them together.

Imports live trades and orders from the firepips twitter page

This indicator shows changes in the direction of a moving average. It works like looking with a microscope at a moving average curve.

This version use Accelerator Oscilator as main indi to recognize the signal

This Expert Advisor will count all the pending orders for the chart it has been placed on.

Displays on the chart peaks of tick volume at exact time points

The Indicator analyses last 100 waves and shows its sizes, average volumes and average velocities (in pips/hour) for each wave.

Now with added options and features. pSAR Alert plays a sound whenever a first parabolic SAR signal appears.

Now with more options. Opens and closes orders on first parabolic SAR signals.

If you have a strategy to trade with it, You can use this EA and set Your Parameters And trade with this expert

This indi draws renko boxes on normal TF window.

This Indicator shows the current pair's current spread in the upper left corner.

Раскраска баров в зависимости от направления тренда.

An antimartingale which tries to maximise the gain/risk ratio. I have a 5 digits account, let me know if you have any problem with this.

This system use many methods to trade , you can trade about 52 different strategies,

EA based on the maximum and minimum price values of the previous trading day.

An expert advisor designed to alert you when every first parabolic SAR dot in a sequence appears.

An expert advisor designed to open and close orders at every first parabolic SAR signal i.e. when sequence shifts from below the price to above and vice.

alerts the user if the macd is above 0.0006 on 5m or below -0.0006 on 5m

A trading system based on the Vortex Oscillator.

A trading system based on the Trading Idea presented in the article "The Vortex Indicator" published in the January 2010 issue of Technical Analysis of Stocks & Commodities.

An oscillator version of the Vortex Indicator

This indicator appears in the January 2010 issue of Technical Analysis of Stocks & Commodities.

A brand-new version of Channel ZZ indicator

The script allows to use MetaTrader4 as netting platform. It has some advantages compared with MetaTrader5.

Две версии индикатора на упрощённом алгоритме перцептрона

Many informations about the MARKET and CURRENCY in ONE SUBWINDOW such as: symbol, spread, swap, freezlevel, money magament, time to end each bar and times of opened bars, global markets times open/close in GMT and more...

The universal multi-chart of the currencies, with the changed list of currencies, a range of display, the period and position in a window.

It saves the current expert parameters for all the experts attached to charts.

It shows the information about 4 Moving Averages in a separate window.

The moved panel with the indicators of B.Williams, for strategy Trading chaos. It shows a direction of indicators AO, AC, and MACD.

Happy New Year 2010

The Renko chart has been created by the Japanese Traders. The main feature of the Renko Charts is that it doesn't use the time and volume.

This indicator calculates and displays the Dollar Index and 2 definable moving averages. Edited 18 September 2015 - updated link to official description and calculation from ICE Futures U.S.

The indicator Back to the Future draws forthcoming bars in a tester, in advance...

a stochastic_oscillator based indicator.

It shows support and resistance levels

It allows to work with reversed symbols (for example USDGBP)