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

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

The indicator shows the remaining candle time.

This scripts uploads data of open and pending trades to a webserver and with additional webscripting saves it to a database for further processing. May be a good basic for providing signals in your site.

this sideway or trend...confuse?? use this indicator

Specific support and resistance indicator is based on indicators MW_ZigZag.ex4 and High_Low v2.ex4.

English version of AllAmplitude.mq4 The original script was posted here: http://codebase.mql4.com/3852 . The output file will be stored in the MetaTrader 4\experts\files\ directory. The file name contains following information: "Symbol_Period---da

Trade 5min charts mostly EURUSD. Added news filter from Forex Factory and stops. Loads of versions inside. Good luck

You confuse where the next target? Use this indicator - it will show you where the next target.

With 3 settable parameters (currency pair, timeframe, and template) opens a new chart on your screen at the initalization period of the script.

EA for Trading on News event, will set BUY and SELL Stop (pending order) then will delete one pending order after open BUY/SELL occur (OCO) on specifed date and time.

Draws different color candles above and below MA lines. Supported MA methods: SMA, EMA, SMMA, WMA & TMA.

This Indicator draws different color candles above and below a Kijun Sen line.

Draws Tenkan and Kijun with Color Fill between 1. Price and Tenkan, 2. Price and Kijun, 3. Tenkan and Kijun and 4. No Fill.

The indicator draws 2 Moving Averges with different color filling.

Adds account information to chart: Profit, Balance, Equity, Free Margin, Margin and Margin Level %. On chart click hide/show account information. Show Profit only option.

Displays open position: Symbol + Lots + Points + Profit (Updated for MT4 Build 600)

Display up to six Times Zones. Hide Time Zones not required.

This indicator shows when to buy and sell in the right time..so you don't miss the train.

Tracking Variable Spreads with an Offline Chart

Timer is a break trough system.

The idea of this robot is to catch long trends. Crossing the 15Min moving average triggers buy and sell orders.

With the MTF RSI Indicator you can easily identify the oversold/overbought levels on several different timeframes by using only one chart.

Cloud indicator based on 2 Moving Averages.

This is an updated version of b Clock.

This is an indicator that uses horizontal lines for calculate lot size for next order. You can drag them up and down until you will get right numbers for your risk and money management that is based on your strategy scenarios.

Support and Resistance levels using the psar logic.

Trade EURUSD 5 min scalping or similar. Good Luck.

System open positions after crossing hand drawn trendlines on chart.

The indicator draws true Key Level on chart based on DiNapoli Fibonacci levels gives point of intraction by buyers and sellers.

When the order reaches the specified profit, then EA automatically moves StopLoss to BreakEven.

An EA with automatic trading at setable minute using stochastic indicator and scalping lot

Record, storage and displays of data, fully tick chart in MetaTrader.

This scrip will close all your open positions in your MT4. You just need to drag it to the chart.

This EA will watch your open positions and close the ones that meet the preset conditions.

Yet another pivot points indicator, light and customisable.

This indicator, recognizing trends in an early stage, can be used to get ready for a break-out scenario.

Indicator that shows you market push and future 80% of next big trend.

Detects fake, old, stale, or other erroneous ticks that come to the MT4 platform. These rogue ticks can sometimes cause a take profit, stop loss, trigger orders and/or any price-related action to occur when the price is actually no longer actionable.

This indicator shows simple Support and Registance lines.

The Great Hunter, is a Holy Grail attempt, by using a mix of trend following indicators, volatility filters and martingale system (optional).

This EA puts two simultaneously Pending Orders (Buy Stop and Sell Stop), when activated one of two pending orders, the reverse pending order is closed.

1...232425262728293031323334353637...84