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

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

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.

Indicator #MAMA.

The script moves the TakeProfit by the Distance from the market.

Indicator GordagoElder.

Indicator WolfWave. It is written on the basis of the ZigZag.

Indicator WolfWave. The code contains a fragmentary description.

Indicator BeginnerAlert. The code contains a highly detailed description.

Indicator Dema. Double exponential moving average.

Indicator Sgmar.

Indicator Coppock. The indicator is developed on the basis of three movings with the user-defined parameters.

1...505152535455565758596061626364...84