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

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.

Indicator Spyker.

MACD and averages. A co-developing.

The iTrend indicator determines the beginning and the end of the trend.

A function for calculation of the area of three objects: a rectangle, ellipse or a triangle.

Indicator TII_RLH.

Indicator Gideon's_ATR.

The indicator shows in a special terminal window the current symbol, the Bid/Ask rates, and the current SWAP for position LONG/SHORT, as well as floating SPREAD for a distant symbol... Let's see... Pokazuje w osobnym okienku aktualny instrument, Kursy Bi

The indicator that sets the signals of trend reverse.

Indicator ASCTrend1sig.

Indicator High_Low (ZigZag).

The Keltner Channel indicator determines the most significant trends.

Two CCI indicators with different periods in a single subwindow.

The Detrendeded Price Oscillator (DPO) indicator looks like a moving average because it filters the directivity (trend) in the price values in the same manner.

The oscilator rapidly discovers the end of the price trend and the beginning of the price movement in a horizontal interval and reverse.

It deletes a pending order or closes an opened order in accordance with your selection. It is necessary just to drag the script to an order. The script will choose the closest one and will close or delete it.

The indicator of the instantaneous trend line InsTrend.

The script shows the conditions of the correct and closest placing of the StopLoss and TakeProfit of the orders.

Elliott Wave Oscillator

Indicator Average Volume.

Indicator Camarilladt.

1...505152535455565758596061626364...84