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

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.


It is developed on the other principle, not on ADX's. Chand suggests 13-weeks SMA as a basis of the indicator.

Expert Advisor Based on FXRaider's Trade Strategy by

The drawing of the moving average is performed on the basis of Demark's method "Daily Range Projections". Indicator on a zero bar points at the future price change.

The script selectively clears the chart by the part of the name and/or by the type of the object.

The script closes any position using the Drag'n'Drop method, i.e. the method of "drag the script with the mouse and drop it on the order lines".

EA that opens a trade when a candlestick closes out of the specified level on a break through. An update to the graphical treminal. But the help in code further development is necessary.

Moving Averages show the average value of the price of the symbol for a period of time.

Steve Nison 'three line break' strategy on chart.

The indicator of peaks.

Trading by a simple principle

I made this indicator colored at Zet's request.

The script is intended for gathering some statistics by the symbols and its comparison.

The indicator searches for the patterns, displays the end of the D and C points on the screen.

An effective trade system, it determines the levels of support/resistance, rollback, trend reverse by a complex mathematical algorithm.

It uses three timeframes to determine a trend.

The indicator is based on CandlesticksBW. It colors the japanese candlesticks by B. Williams displaying the "black" and "white" candlesticks.

The 2_Otkat_Sys_v1.1. expert advisor. The system from thursday to friday on 0(МТ) hours, it trades only on a reverse.

The indicator is written by the fourth dimension of B. Williams - Trading Zone.

It represents a standard MovingAverage indicator with the function of smoothing by the second-order Butterworth filter added.

Indicator of Bollinger bands.

Another version of the Madeleine indicator.

Rabbit 2 updated with correct set!

The indicator shows the break through line.

Using a combination of MA for the trend and Williams %R wth Commodoties Channel Inex to trigger, and a Dochian band to exit the RabbitM2 is designed to get from zero to hero. I would welcome anyone willing to perform live testing and give me feedback.

The indicator shows the probabilistic reverses.

The indicator of Fibo levels and arcs drawing.

ZigZag with rays (on a break through)

An analogue of the intersection of two stochastics.

A simple indicator that displays the chart of the symbol in the window of another symbol.

Indicator of STOPLEVEL.

Hedge The Hedge Trader EA

Indicator TrendManagerNT.

Indicator NewTrend_v1.

Indicator Pivot Mid Support Historical.v1

Improved version of 10 pips a day opposite "yesterday's trend" EA

It's a pattern tha I use in my tradings. It's based in CCI/MA and Bollinger.

One of the varieties of the price channel.

Indicator MAAngleTony.

An indicator that divides the M1 period into H1.

An indicator of the trend alteration.