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

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

Submit your code

The EA will close all open orders across all charts corresponding to the EA chart symbol when Bid or Ask is equal to or crosses the MA.

Expert Advisor work with one hour chart, and is the best robot for now, plays a sound when orders/alarms are executed and multiply positions by 10 when 5 digits is true, trailing stops every tick regardless of Execution Mode.

This indicator exports the indicator values in CSV to use for MATLAB analysis with neural network, SVM, KNN, fuzzy.

The script reverses all the orders of the actual chart symbol.

A 4-hour MACD FOREX strategy

Indicator Delta Force.

A variation on the Neuro nets topic: The trading system based on the interaction of the MACD indicator and a double-layer neuro net.

Trades news events.

Simply 450% profit

TheGreedyPig Average Daily Range Indicator calculates 5, 10, 20 days and shows them on the chart. I found this on a Forum, updated, modified the Indicator I found.

It opens and close transactions depends on MACD vs signal line - upper - opens buy, closes sell, below - closes buy, opens sell.

Generates a random number, and if this number is even, it will buy, if odd - it will sell.

With "Fibonacci Time Zones" EA you can draw Fibonacci Time Zones on the chart and trade with price breakthrough,has 3 buttons for manual trading and allows to predetermine trailing stoploss & take profit, open and close all trades at once.

MultiVote On Balance Indicator displays a higher resolution of trading volume activity to the regular On Balance Volume calculation.

NRTR Indicator.

Expert Advisor with the system is very sensitive to movement.

A trade system in the Price Channel based on kickback

The indicator shows the channel.

This automated trading system is intended for working with the currency pair of eur/usd in the one-hour chart. Excellent results.

An advanced XaosExplorer indicator.

The EA was developed on the basis of the Sidus indicator. It trades on EURUSD H1. Shows good results on the history after optimization. The test was performed on the quotes from http://metaquotes.ru/ and "Alpari" DC.

A very interesting indicator. It gives trading signals!!! A unique system of forecasting is based on a floating moving average!

This code of Parabolic SAR doesn't make the errors when working together with the same second indicator located on the same chart.

Script for vertical grid lines plotting

10 Point 3 v004 enhanced Expert Advisor

The moving average that divides the prices for classes. The classes with extreme price get bigger weight (importance)

Displays open position: Profit or Loss + Lots Long or Short + Pips or Points

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

The EA manages open position with a user defined Trailing Stop.

A script used to submit market or pending orders with take profit and stop loss levels, lot size, and optional trailing stop.

Forex indicator for MetaTrader 4 with show double line of linear regression with position degrees and trend alerts.

Inverse Fisher Transform version of nonlag smoothed RSX.

A class system to represent a hidden stop loss and take profit system, combined with 4 example files showing the use of the classes.

Parabolic Stop-And-Reversal system with Alert is base of the Indicator Parabolic by MetaQuotes Software Corp. with alert and email alert and option to display trader info and signal.

"Accelerator " EA trades with "Accelerator" indicator and has Trailing Stop Loss &Take Profit works on all time frames major forex pairs.

A higher period Bollinger band strategy used for trading reversals

Draws Pivot Points Formulas

This RSI stop and reverse indicator makes use of RSI on price v2 code. If required the RSI level bands can be hidden.

This is an Expert Advisor code for counting open running orders for each type: OP_BUY or OP_SELL.

1...767778798081828384858687888990...104