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

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.

Submit your code
latest | best

Simply 450% profit

This indicator shows the session of the four major forex markets:Sydeny,Tokyo,London and New York. It is helpful for day trader.

Uses movements of the relative strenghts index to find long-opportunities. Profitable (and especially reliable) parameters for short-positions couldn't be found

XIT_FIBS indicator automatically plots Fibonacci lines on current chart. Lines have retracement values and price.

Shows custom Timeframes on the Main chart

Zigzag with a simple, clear and natural principle of work. By the Close prices. Without redrawing.

This script will set your stoploss at the fractal level of your choosing. Money management built in helping take some of the guess work out of your trading.

The MACD Ichimoku indicator uses the Ichimoku structure but applied to MACD values. It tells an entire story in itself which is one of the Ichimoku system strengths.

This is a normal MACD with Histogram. It's really simple coding but helpfull. I'm not testing on MT5 but i think it's ok with that. Let me know if you're tested.

EA designed on the idea of the indicator Nik_PSAR_2B. EA works on the Symbol = "EURUSD" and Period = M1.

This Indicator gives you a clear S & R of Custom Timeframes....Good for Swing Traders

Overbought / Oversold

Simly Calculation of Price changes over x period. Overlay with fast MA and slow MA for smooth lines

A very useful indicator to show trend of 4 currency pairs on your charts.

Working as scalper our long trading manage by settings. For scalping use 1-25 signal period, for long trade 25-100 and change period. Always use 2 % money management using this software!!!!

A tool to auto insert preset Take-Profit and Stop-Loss limits when an order is executed. Specially when doing scalping manually where you need quick setting of stop limits.

An indicator based on Lows and Highs of last 16 candles + RSI reading. Describes trend as Flat, Trending Up, Breaking Out Upwards, Trending Down, Breaking Out Downwards.

Tick chart in separate window with Ask line and candle price lines.

The On Balance True Range Indicator is essentially based on the On Balance Volume indicator but uses the Average True Range Period 1 instead of Volume.

The indicator shows a messsage then the price crosses the lines, titled the "Support" and "Rezistans" on the chart.

Zigzag lines are built on fractals

The indicator is constructed based on 3 gistorgammu stochastics higher order

Momentum oscillator of averaged bull/bear percentages.

Ricx - 1st indicator submit This indicator will plot EURUSD D1 candlestick chart on white or other bright background.

This is the Doda-Donchian v2 created by Gopal Krishan Doda, but when I use this indicator, I found some error and I have to fix it. also adding features price and candle time. Doda-Donchian v2 mod fix-->Fix Stop Loss Color

Indicator that draws for the last ( You nominate how many bars back ) x bars the levels at which the psar indi turns.

A support and resistance indicator to assist in setting stop losses and take profits with any strategy.

AggM is a composite trend and mean-reversion indicator.

Nothing to say, the people of the game more money

Trades news events.

Indicator of some basic information.

Expert Advisor trading with Local High/Local Low (msl/msh)

Creates a report in HTML about all pairs and symbols, for example how many days ago a cross moving average appeard. Pairs with a last recent cross moving average at daily timeframe have a chance for a trend reversal which may be traded.

AggZ is a composite trend and mean-reversion indicator.

You can adjust SL/TP by dragging the lines drawn by the EA.

Just trade looking at the arrows shown by indicator

Indicator for detect trends of the market. For trend following usage.

Shows upcoming news events 1 hour before and 30 minutes after event. Also shows active sessions etc.

Shows whether the market is trending or range-bound. Must to note before opening any position.

version 1 of bindings to zeromq library