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

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

You often have to move the pending order every hour in reference to the trend line and it embarasses you concerning your time. That's why this EA (semi-automated) was developed, it totally relieves from tracking the trend line and from moving the pending

We place two pending orders at the specified time and delete one of them when another one triggers.

Universal EA scheme to enable easy multiple strategy implementation into one EA

New version of famous and simple indicator created by Joe DiNapoli. It is different than rest of this type indicators, because it could count and display overbought and oversold levels.

Visual and Audio alerts when reversal or continuation candle patterns occur.

Functions for processing the orders of Spot currency pairs, Spot Gold and Spot Silver with error handling. OrderProcess() strengthened. New functions Lots, OrderCloseByRetracement, OrderModifyTS and OrderSendI added. Revision 2 has been used to run expert

Wrapper for reading and writing to MySQL

The indicator writes the history to the CSV file.

It is calculated as the moving average of the values of the internal bars strength.

The UploadExport script is a universal program tool. It is developed to ease the working of the analyst and the trader with regard to the daily routine actions of wave analysis using the ELWAVE program.

The WKBIBS indicator is a new generation oscillator with combined functions of two indicators WKB and IBS.

The authors say that this system can trade 24 hours a day producing a stable profit even for a novice trader.

This EA works in hangseng futures.

The «Madlen» lines are similar to the lines of support and resistance of horizontal or trend lines by their application.

You can take the guaranteed 50-60-100 pips if you enter from the flat.

Indicator Indexes_v4. It shows the motion pattern of two or more indexes on a single chart.

An EA by the first dimension of the market.

The indicator draws the dollar index on the chart. The indicator is intended to simplify the charts analysis.

Indicator MultiStrend. It works only with the Supertrend indicator.

This indicator is an adaptation of NONLagDOT. It indicates the direction of the AMA slope without any lag. It works best when use on the 30 minutes charts.

The indicator displays what dominates in a time series: the trend or the flat component or the series acts randomly.

Simple EA to Close Orders

Scripts to Close Orders under various conditions

My first EA.

The indicator that shows the direction of the trend on all timeframes in one window of the chart.

The EA for H4, it's shooted in for GBPUSD. It works with pending orders. It makes decisions by the simple combinations of candlesticks. The feature is the decision is made once in four hours and the SL and TP levels are placed in accordance with the the s

EA with a neuro net (a net with error back propagation). These are the firsts steps. I upload it for the intelligent criticism.

It displays the current time position in relation to the beginning and the end of the bar. In addition the ratio between the time passed since the beginning of the bar and the whole bar duration expressed in percents is given. The informer is useful for c

It is based on the RSI indicator.

Automatic Trading System

Stochastic net for the the classification problems with the instruction provided.

Have audio output of latest price in stereo! Revised to cater for fractional pips as now offered by some brokers to MT4.

Indicator Supertrend. It displays the buying and selling with the colors.

The trading technique that is based on the support/resistance that are determined at the daily opening.

You pick the script and drag it on a chart's point. Then it uses this point to modify all stop/take profit levels of the chart's currency.

1...464748495051525354555657585960...84