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

Submit your code

The header file contains functions and input variables for a time management.

The Expert Adviser Frank_ud all time in the market in both sides.

The Dealers Trade v 7.74 EA is based on the algorithm of multi-lot scalping. The EA has been repeatedly tested on a live account.

The indicator of trading system pabloski.

Non-optimized version of Kaufman's adaptive moving average.

Here, the trail line is used instead of the signal line. Trail is the line that is distanced from the current price no more than the trailing length.

Indiactor Par Test.

Adviser Russian20-hp1.

Adviser Pedroxxmod.

Adviser Multibreakout.

The Expert Advisor using artificial intelligence - a single-layer neural network. The "Perceptron" is used for identification of the quotes movement direction.

Советник Get Rich or Die Trying GBP.

Advosor JK sinkhro. Enough the simple adviser.

The indicator forms candlesticks based on "equitick" bars.

The indicator "sell zone fibs".

A small set of indicators.

The indicator that shows the direction of the trend on all timeframes in one window of the chart.

A simple indicator that displays the chart of the symbol in the window of another symbol.

Automatic Trading System

Indicator for Show the length of the candle

Visualizes important psychological levels ("Double-Zeros").

Drop Level Lines with the level value inserted above or below the line and the color changing automatically for bottom level or top level.

Regression channel for long period, per variable is number of candle, deviation variable is a standard deviation.

An optimized version of the Zigzag indicator, which was included in the MT4 delivery of 2005 (and in MT3.83).

Flat indicator showing potential entry points.

This is a working singleton code example. A singleton object is created when there 'can be only one' of the object.

This is my first expert totally based on RSI.

4H Swing EA trades with 3 EMA's and "STOCHASTIC" indicator and swing strategy has Trailing Stop Loss &Take Profit works best on 4H & 1D time frame major forex pairs and stocks NASDAQ.

"Trend Line" EA draws Trend Line on chart and trades with its trend,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.

A Price Time correlation model is used for Trend and Reversal trading

This Expert Advisor is a pure scalping system.

For day traders. 2 highly important indicators to turn strategies into extreme winning ones. The Win/Loss ratio and the Reward/Risk ratio will allow us to identify the best times and days our strategy works the best

Visual multi-timeframe trend indicator.

RSI dual features Cutler RSI with standard RSI full formulas

An indicator to see very easily the trend in a maxminband channel. (You need use Heiken Ashi to see the graph or change the parameter ti put the graph in front of the indicators)

The ATS is based on the classical trend-following strategy and a double-layer neural network taught in to enter the market against the trend.

This EA simply opens two opposing positions at the beginning of the first new bar it comes across. Both positions can win lose or draw. Works best in 5M timeframe and can be optimised using "Open prices only".

This indicator plots the values of the user specified ATR period for all timeframes as a text block. The text block corner can be changed by the user.

Simple Trailing Stop EA with Trailing Steps and Trailing Start Point It includes Stoploss and TakeProfit too..

It is a source code by winwin2007 - one of the leaders of the ATC 2007. It works only with the spread 2. It is closed after gaining the minimal profit, that is why Stop Loss and Take Profit levels of a brokerage company are not a problem for it.

1...777879808182838485868788899091...104