Watch how to download trading robots for free
Find us on Twitter!
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 - 44

icon

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

EA to find gaps in history data.

BBMACD_v2 is the Bollinger Bands® and MACD indicator in the same place at separate window version 2.

SendAdvancedEmail function for Metatrader 4 and 5 with HTML mailbody support.

BBMACD is the Bollinger Bands® and MACD indicator in the same place at separate window.

Stochastic RSI Expert Advisor.

TMA Slope indicator.

Smoothed RSI indicator.

Smoothed ATR indicator.

Smoothed CCI indicator.

Relative Strength Index Expert Advisor.

Pivot Point Reversal scalping Expert Advisor.

X-liquidex is an Impulsive/Volatility/Breakout EA. It uses Range, Moving averages and Keltner channel. It's logics are simple yet powerful.

The Expert Advisor determines buy and sell based on Moving Averages, it also uses ADX and RSI.

The indicator plots trade history on the chart and account informaton.

Ilan16 Expert Advisor for MetaTrader 4.

Mail all order status periodically.

Break out strategy based on Bollinger Bands.

Easy script to help analyze specified symbol, it opens 8 new charts with different periods and applies a specified template.

Correlation(strength) between eight currencies & Gold.

Implementation of zero lag countdown timer.

Some basic information which every trader needs.

A collection of scripts for closing various types of orders.

MACD Momentum indicator (The Red line is the Momentum 10 of the histogram MACD, smoothed 3).

This indicator helps to find possible support/resistance areas after a trend has developed.

A few oscillators (RSI, CCI & PercentRange) drawn in the chart window.

Once the price closes above or below the two moving (60 &100) a signal is generated. Signal must be generated ONLY in-case the price closes above/below the TWO lines.

BBWin is the Bollinger Bands® indicator in the separate window with trend lines.

Expert Advisor that closes orders after defined profit or loss.

The function will filter the trade positon. If the current time in the time you set, the function will return true.

The indicator shows candle end time and current spread.

Traces the output of indicators by buffer. Output can be changed on the chart by moving the VL left or right.

The indicator helps to find the correct trend before enter the market.

Trading information with Fractal trend.

The indicator calculates and draws the highest, lowest and median point of certain period.

The script recognizes and shows peaks and valleys of certain period.

This indicator will write value degrees of the lastest position of price at the current timeframes, and when position and condition of trend status was changed, the indicator will give an alerts.

3 EMA Crossover Indicator.

This indicator based on a 5 period simple moving average detects trends: if there is an uptrend then shows green bars, if there is a downtrend then shows red bars, if there is a weak trend then shows yellow bars.

Realize virtual profit trailing.

Parabolic SAR ADX Expert Advisor.

1...373839404142434445464748495051...102