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

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

Submit your code

The Expert Advisor makes random buy/sell with automatic Trailing Stop.

Candle Cross above or below Conditions

A logging library similar to Log4j but for MQL.

This strategy is the well known set & forget with the ALERTING system. It is very useful on different trading scenarios. I urge you guys to always use trading tools that will make your live easier. So instead of watching the charts and the time and all day long, you can use this indicator that will watch the charts for you.

Expert scalper for daily timeframe.

The FM Demodulation Indicator tracks the timing of price variations.

This simple quick & dirty script code will output a CSV file of all the Signals' properties as reported by the MQL4 Trade Signals functionality.

Classic "MACD Sample " EA with a little twist

Manage risk like No Nonsense Forex easily in MT4

Script to download EVZ data for Euro FX Vix indicator

A Simple Trade Management Script

Shows on a probable trend for a day.

Adviser suffic369.

Synergy Signals [v2] indicator.

Rabbit 2 updated with correct set!

It shows where to buy and where to sell via the arrows. If a trend occurs then it will bring profit, if there is no trend, there will be no profit.

Draws several resistance and support lines differentiating the color of both types of line by Drag and Drop a simple script.

This systems allows you to progressively enter and exit the market. You define the amount you want to risk (%) and it calculates automatically the different levels of entering and exiting the market according to the amount of levels you have defined.

This indicator shows both powers of the Bull and Bear, the market volume excluded.

Indicator SilverTrend rewritten by CrazyChart is an alerting system similar to indicators of ASCTrend.

Stop-Orders are used to enter a position. Pending orders and postions are handled based on a daily system. Risk and money management are included as well as time and dayfilters. The entry logik (STP-value calculation) can be easily changed.

Power Wave Oscillator.

Trades using two moving average crosses.

This indicator computes the median of odd span. It is often considered as one of the most robust smoothing operator in the presence of outlier values, and particularly more robust than the mean.

If you make your own EA with iCustom from any indicator, but you don't know which signals from indicator via iCustom work? This EA help you.

Do you rely on your analysis and just want help on position sizing and how and when to take profit ? Do you have a lot of open positions and you need to reduse your DD and release some margin?

"Crypto S&R" EA uses 2 different time frames and fractals as support & resistance ,has Trailing Stop Loss &Take Profit works with all time frame major forex pairs,Crypto and stocks NASDAQ.Short description.

Calculator

this Script will get content message from Popup Alert dialog

Redrawing trading position for history data and current trading position

Due to recent popularity of Multi currencies EA, This codes allows to Close Orders or delete Pending orders of a Multi Currencies EA, Single Currency EA or Manual orders.

Export the history of transactions on the MT4 trading account.

This Script Closed All Open Orders At Once (Except Pending Orders)

The indicator contains another entry signalizer.

My version of the famous indicator

Scalper for any timeframe, with the "roly-poly" principle.

This EA is used as a trading tool to help us close all orders with a specific target in the form of money or cut loss. We can filter orders by magic number.

This ADX version is used on many other popular trading platforms. It is different to the standard one included with Metatrader.

"Currency Strength" EA finds the strongest\weakest currency from 8 major currencies and trades with moving averages, has Trailing Stop Loss &Take Profit works on all time frames major Forex pairs.

Dynamic pivots - any time frame

1...8990919293949596979899100101