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

Work with any http servers...

Indicator Decema.

Another Demark indicator.

Indicator Market Time.

A percentage price oscillator allows you to compare the time periods independently on the price.

MACDVersion2_ Mod is amodification of MACDVersion2 to show some additional information.

Expert Advisor EMA_CROSS.

Indicator STLM_hist.

A script for reinitialization of all indicators attached to the current window.

A very interesting indicator. It gives trading signals!!! A unique system of forecasting is based on a floating moving average!

Indicator FiboCalc.

Indicator Vegas.

The indicator shows the difference between the open price of the zero bar and the close price of the first bar in points at the top-left corner of the main window.

Expert Advisor Divergence Trader.

An EA that works on the M1 period and with the symbols that have the spread of 2 points.

Expert Advisor Straddle&Trail. The code contains a comprehensive description.

Indicator FiboRetracement.

The indicator that shows the difference between the open and close prices in the form of a histogram.

A set of scripts that are intended for the automation of some routine operations in the terminal.

Indicator Price Channel.

Expert Advisor TicksInMySQL.

Indicator DFC Next.

It is shown how you can open positions for 12 symbols available and for 4 timeframes using only one EA attached to only one chart.

Indicator TSI-Osc.

Indicator Correlation USDCHF/EURUSD.

Indicator DeMarker Pivots.

Indicator Delta Force.

Indicator Fisherorg_v1.

The script closes all opened Buy and Sell positions in the active window.

The script moves the StopLoss at the Distance from the market.

Regression Channel Indicator and Expert Advisor

The script opens a SELL position with the specified part of the FreeMargin.

Indicator Ergodic Oscillator.

The iStochTxt indicator draws the Buy and Sell arrows on the main chart.

Indicator EMA_Trend Indicator.

Somebody wrote on the forum: "Lots reserve - does anybody have somthing like this?" I answer yes. The EA determines it.

Indicator Aroon Horn.

1...495051525354555657585960616263...83