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

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

Indicator Kuskus Starlight.

The indicator displays the time of the trading session.

Modified MarketTime indicator .

The library is intended for working with the global graphical variables.

This Expert Advisor trades every news event that is scheduled to release on www.dailyfx.com/calendar for the current week. The EA waits for the next news event to be released, compares the released economic data, determines which currency to trade and exe

A script for uploading the history by all known currency pairs, metals, indexes, CFD's and for controlling the "hole" in the history.

It displays how the price is changed in points with the coming of a new tick.

Anyone know how to improve this EA i put together ? Cheers

It shows how the price changed with the coming of a new tick.

A determination of a bar and trend direction.

Another SMI indicator. On the basis of the book "Momentum, Direction and Divergence" by W. Blau.

The EA opens the positions in the direction of moving of Stochastic indicator, in addition there is a heightening of positions by martingale. It is tuned for micro-Forex.

It denotes the combinations of candlesticks using the "wingdings".

Reasonably good algorithm of the EA based on CCI and its MA. It shows good results in tester. I need help for optimization, testing and maybe code debugging.

Greetings to all. I started to develop a MTS not long ago. This is my first one. How can I improve it, I'm waiting for the specialist's advices. And how can I use the AMA indicator in the EAs (iAMA)? I tested this strategy on September 2008.

A small set of the trend indicators.

Uploading of history of all symbols from the Market Watch window by all TF. The recording to a file of names and trading condtions by all symbols from the Market Watch window.

The indicator denotes the price range of the next bar.

A small set of indicators.

It was developed on my order for working with the RPoint indicator. I reached this variant by changing the parameters of the indicator and the EA. Change the ReversePoint value to 250 when placing the indicator.

The EA is based on the MACD indicator.

The indicator draws the charts of equity and balance by the data of account's history, it uses the current opened positions for updating the charts in the real time mode as well.

Is it possible to take just 10 pips a day? This EA tries to do it.

The testing data is in the strategy tester.rar file. The EA was tested from 29.09 to 30.09 because the strategy is designed for M1. But unfortunately it works not by the strategy. In some cases it doesn't close when it should and so it goes negative.

Spread, swap, minimum stop limit, price of a point, calculated maximum lot!!!

The indicator draws the channel of regression by High and Low prices.

The ZigZag indicator is used.

I created this indicator on the basis of the MQL4 training material. This modified EA is almost from there. All functions are standard, I'm not able to develop something better yet. Only the "heart" of it was modified.

Trading by a break through of the support/resistance levels.

It draws three lines of different periods in one subwindow.

Because of the "supposedly" 24k of errors within the journal, this script did not make it into the championship. Maybe next year Folks : ) So far, There are no errors to be found. "The Grid" (A Massive Hedger)is Coming Soon...

The drawing of the channel's borders was added to the standard ZigZag by MetaQuotes.

On Bollinger Bands grounds

On Bollinger Bands grounds

Indicator V-TBv6. It draws buy and sell arrows.

Indicator i_EF_distance.

Indicator Kwan.

Indicator Elder Impulse System.

It draws the support line basing on two last lower fractals.

It draws the resistance line basing on two last upper fractals.

1...495051525354555657585960616263...84