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

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

Grid is a money maker in weak market, while a disaster in trending market. Maybe you can consider close all positions at some time, and run it totally again at another time, just like a fisher. This is AIGrid System With Manual Control.

EA based on the indicator Fibo-Average-2B.mq4

These indicators are made to show how much profit your EA have made in a certain period.

Calculates the Moving average indicator based on Fibonacci value.

A 15min intrday trading strategy

The script prints the week day and time.

Based on RSI with Parabolic SAR trailing...

This is a template EA with onBar() event.

Based on Alligator and MA indicators.

This EA capitalises on four timeframes SAR, RSI and BB to determine entry as well as time zone.

trend trading EA

This is a control library for MT Tester.

Sicker_EA_DIGITS - daytrading EA

A small utility making MT4 input windows resizable.

An evolution of John Ehlers Inverse Fisher Transform of RSI.

Shows correlation between different MAs.

Reads all available instruments and their characteristics and generates an HTML report. Positive Swaps are highlighted.

This indicator will trigger an audio/visual alert when the symbol mid-price crosses one of two trendlines placed on the chart.

This indicator will display a symbol watermark on the chart background, showing the timeframe and symbol name in large font.

Based On Bollinger Bands

After open a trade, take a screen shot and send email to you

Indicator for scalping trading - Chanel scalper M1-M15

Two Moving Averages (MA) crossover indicator with alerts and filters.

Velocity = High-Low / Time. Time is changeable to minutes, hours, or days. Seconds is the default. In physics, Velocity = distance / time.

This indicator is developed to show the average movement of any 2 correlated currency pairs of the same TF.

Counts crosses off moving averages, it shows % that all MAs are above slower MAs

Индикатор показывает в рабочем окне графика цены средних линий с других периодов.

This indicator makes use of increase in momentum of cci value with respect to the last peak or bottom.

The classic MT Sample EA updated for full/sub-pip accounts, also now handles ECN/STP brokers. Examples of setting trading hours, and added externals for StopLoss, MagicNumber and order comment.

This is the 2nd version of Source Code

Help me making this better.

GodBot EA is using Bollinger Bands together with DEMA, Moving Average and Candlesticks. (EURUSD M5)

Simple chart to display candlesticks for the 3 following periods: London Open to New York Open, New York Open to London Close, London Close to New York Open.

LineOrder gives you the ability to place an order by using the horizontal line object from the toolbar menu. You can also control stop loss and take profit buy moving its horizontal lines.

This is a Multi time frame indicator based on the MACD. I was attempting to see if I could get a good entry on the M5 chart, and make the MACD values of the H1,H4,D align with the M5.

this indicator is from the e-book master the market of Tom Williams, calling VSA method. It plots many arrow sign of the weakness and strength definition. Just point the mouse out at the sign, then the definition will show.

The purpose of this EA is to receive by email the price quotes of the symbol selected and daily % change, as well as some information about your account. You can insert up to 50 different symbols of any type (FOREX, CFD).

This is first EA I am providing for everyone to see and work upon. This is written by me. This EA should be used on EURUSD 15min with initial capital of $1000.

This EA automatically moves your stop loss to break even at a predefined level.

Another version for AutoEnvelope according to the format described by Dr. Alexander Elder in your book How To Take Profits, Cut Losses, and Benefit from Price Declines.

1...303132333435363738394041424344...84