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

Submit your code

Small Expert which sends email notification of last opened and closed order.

Dsl (discontinued signal lines) - RSI (MetaTrader 4).

Expert Advisor for pyramiding into big and fast market movements.

Relative Strength Levy can be abbreviated as RSL.

Ichimoku EA trades with "Ichimoku " and "Parabolic" indicators,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.

1H Bolinger Bands EA trades according to the "Bolinger Bands" indicator and two MA's,has Trailing Stop Loss &Take Profit works best on 1H and 4H time frame major forex pairs and stocks NASDAQ.

"Harami" trades with 2 Moving Averages and " Harami " pattern has Trailing Stop Loss &Take Profit works on 4H & 1D time frames major forex pairs and stocks NASDAQ.

"Candle Trailing Stop" EA trades with 3 MA's and uses candels for Trailing Stop Loss &Take Profit works best on 4H time frames major forex pairs and stocks NASDAQ.

high-low channel

This is strictly for daily chart and any symbol with spread low enough for its operation

With "Cycle Lines" EA you can draw Cycle Lines 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.

"Triangle" EA draws 2 Trend Lines with fractals on chart and trades When a triangle is formed,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.

This indicator uses various SMA to indicate a possible reversal point.

The script exports summary of closed trades grouped by each trading day to .csv file

Improved version inspired by RSI_candles by © mladen 2018 https://www.mql5.com/en/code/20968

Divides whole levels into Halfs and Quarters.

The indicator shows BID-ASK-SPREAD information on chart

Dynamic Pivot Indicator, provide all timeframes and extra timeframes

Corrected moving averages

An implementation of the Relative Strength Index indicator by John Welles Wilder Jr. as described in his book—New Concepts in Technical Trading Systems [1978].

Low risk, max profit, winning strategy EA. Based upon Super Scalper EMAs indicator

This EA will scan all the open trades and then print the nth trade from the end

This EA will scan all the closed trades and then print the nth trade from the end

An indicator that uses a Feed Forward Neural Network to predict the next few open prices. The network is trained using a Backpropagation method. The training is set up automatically, resulting in a self-trained network and a self-learning indicator.

The Indicator ZeroLag MACD is an indicator Moving Average Convergence/Divergence, MACD with zero delay.

Typical zigzag indicator

Implementation of a trading system based on divergence detection.

Displaying ATR (Average True Range) value in pips or points with option for setting multiplier.

This indicator is used for identifying extrema of different degrees.

The Expert Adviser Moving Average uses for trade signal generation one moving average.

The ZeroLag MACD Colored indicator is a modification of the ZeroLag MACD. Added coloring of the histogram bars relative to the previous bar, if the previous bar is below/above the current.

Two scripts to automate opening multiple positions simultainiously with SL and TP.

The script allows you to get a certain section of the chart image specified by the user.

The indicator shows current spread with color line.

This an H1 strategy. This EA will execute at the new bar if the last bar has broken through the point that we set.

The Expert Advisor places a grid of pending orders in both directions several minutes before the specified time and trails the Stop Loss order after the orders trigger.

The indicator is for seasonal trade.

A library of classes for creating a user-friendly interface of your programs.

The functions included in this template use two news sources - Investing.com and Dailyfx.com. The template doesn’t use DLL.

There are many algorithms of smoothing. This given indicator is for smoothing of standard indicator ADX. The code was translated from Easy Language.

1...495051525354555657585960616263...104