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

Top MQL4 and MQL5 source codes based on user ratings - 103

Submit your code

This is an EA based on Bollinger band crossover with prices.

Only successfully tested on INSTAFOREX broker, InstaForex-Europe.com server 5 digits, pair EURGBP daily, leverage 1:1000, with free swap account.

Trading Robot

On all MT4 market execution accounts (ECN, ECN Zero and Pro), preset stoploss/takeprofit price levels are not permitted. If a client wishes to specify stoploss/takeprofit values for an order, the client must modify the existing position after the order is opened. This EA helps a client effortlessly ensure that an on order is modified to desired stoploss/takeprofit values a short while after a trade position is opened This is especially helpful for scalpers who want to avoid the trouble of manually editing trade properties every-time a position is taken on a financial instrument. EA by Maduagwuna E.I

Chaikin Oscillator with smoothing option.

This code simply prints the account details for a MT4 account.

Free utility for manual orders placement.

it gives you the name of the indicator which is attached to a chart.

This EA is based on upper and lower Bollinger bands.

Adviser Currencyprofits 01.1

Hi, so I just made a little code here that will help out a lot of coders that hate doing this (I count myself in it haha). It's made to calculate the lot size of a position based on the risk input and the account size+currency.

Use trailing stop point with MT4

This EA demonstrates placing orders, modify orders and then closing orders after a fixed interval.

This is an EA based on Moving average crossover.

This code places only one order every second ( not every tick )

This code can be used to read csv files and separate string based on a separator token.

Recursive Moving Average calls itself a number of times in order to reach the appropriate smoothing. For instance DEMA,TEMA and Rainbow indicators are recursive exponential moving averages. The goal is to remove the loop limit while still running fast. In addition a trigger line provides the trading signal.

This code is used to create static object on MT4 charts which will not move along with the chart when you scroll the chart.

This is an indicator based on tolerance for highs of two candles.

This EA will tell you the Depth Per Inch of your screen.

This code help you get the time of an object created on a chart.

Adaptive momentum oscillator idea from David Varadi.

Indicator Price VSwma.

Advise Graal-003. Uses indicator iFractals.

Adviser Fractured Fractals. Uses indicator iFractals.

A determination of a bar and trend direction.

MACDVersion2_ Mod is amodification of MACDVersion2 to show some additional information.

a stochastic_oscillator based indicator.

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

The new idea of the classical Bears Bulls Indicator.

This a bollinger band indicator with an extra deviation level. If you keep the period at 25 and deviations of 1.0 and 2.0, It will show you all your resistance and support lines. And also overbought and oversold levels.

Multi function price indicator

Select the pending order you want to delete when you have severals pending orders on a same chart by point and drop over the price of the pending order you want to delete.

A volume-adjusted reading of the net flow of USD as measured by all 7 major currency pairs.

Two similar indicators (one in main chart, another in separate window) to show when you're missing historical bars from your chart.

Aroon Up & Down MetaTrader indicator — detecting the local tops and bottoms of the chart it was applied to, this indicator provides the signals for buying and selling the currency pairs when they rise up from the bottom and fall from the top. The cross of the indicator lines provide a good signal to take the profit or to exit with a minimum loss. This indicator can send sound and e-mail alerts on the cross. It is available in both MT4 and MT5 versions.

Basing Candlesticks MetaTrader indicator — is an automatic indicator that detects and marks basing candles on the chart. A basing candle is a candle with body length less than 50% of its high-low range. The indicator highlights the basing candles using histogram lines (in MT4) or custom candles (in MT5) directly in the main chart of the platform. The percentage criterion can be changed via input parameters. You can also turn on alerts for when a new basing candle appears.

BB MACD MetaTrader indicator — is a basic MACD (Moving Average Convergence Divergence) indicator variation, which helps in detecting the trend change points and measuring the current trend's strength. The indicator is drawn in the separate window on the chart and consists of two lines (blue and red) and the dots, which can be either green or magenta. The change of the dots' color is a good signal provider, while the width of gap between the two lines indicates the strength of the current trend. This indicator is available for MT4 and MT5.

Beginner MetaTrader indicator — a very simple custom indicator that displays the local tops and bottoms on the chart with the red and blue dots near them. It analyzes the maximum and minimums on the certain period and then compares them to the range, in which the currency pair was trading, and if the top/bottom is significant enough, it marks it with the dot. This indicator redraws itself and thus should not be used for generating trading signals as the dots' positions may change. Both MT4 and MT5 versions of the indicator are available.

1...96979899100101102103104