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

Submit your code

A variation of a well-known Nick Rypock Trailing Reverse indicator.

GLFX is a automated trading system. It is open for customatization and quite easy to implement own strategy into this system.

Fibo Pivot Lines GMT Indicator.

This is the Expert Advisor with Money Management and signal selection. You can add your own signals in this EA very easily by just adjusting the function signals.

Saves all historical bar data (Open timestamp, Open, High, Low, Volume) and every new tick to CSV of your choice.

Personal Assistant The Next Generation is there to make your trading easy, basically it does what a real assistant does — provides information and executes your orders.

KNJ ZigZag with value at pivots (highs/lows).

The Expert Advisor opens positions after the price passes the specified distance. 1 step up - sells, 1 step down - buys.

"Fibo" EA draws Fibonacci lines on chart and trades with price breakthrough,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.

Catching the extreme change on candle.

The most common and essential modification of Bollinger bands. Displays the standard deviation in a separate window, without disturbing the trading psychologically.

It is NRTR indicator, in which candlesticks are painted in accordance with the mutual positions of Alligator lines.

Indicator DT-RSI-Sig.

DeMark indicator - changed the rendering of the TD lines.

Quite interesting method for plotting a channel. Despite the obvious plotting primitivism, it can be useful during the flat level analysis (for example, if you had no access to the terminal in a while, and it is necessary to assess the past events quickly).

Awesome Oscillator (AO) is a 34-period simple Moving Average, which is subtracted from the 5-period simple Moving Average.

Have audio output of latest price.

I'm waiting for your opinions.

Indicators Parabolic SAR and Exponential Moving Average are used in the system.

A system based on "round" numbers.

Very simple indicator PLdot. It's been even optimized.

Indicator DeMarker Pivots.

Reasonably good algorithm of the EA based on CCI and its MA. It shows good results in tester. I need help for optimization, testing and maybe code debugging.

Trading by a break through of the support/resistance levels.

The script demonstrates a simple and quick way to calculate the Euler number.

We place two pending orders at the specified time and delete one of them when another one triggers.

The indicator plots channels on three different timeframes (by default 1 hour, 4 hours, 1 day) and displays them on one chart. Also, for greater clarity, it displays the boundaries of each channel on the chart.

Visualizer indicator (what a terrible phrase to use!). Colors the chart bars according to the logic of determining the state of the fourth dimension of the Chaos Theory by B. Williams - Zone.

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

The indicator helps to find Stop Loss levels.

It shows a brief information about all of the positions opened. It can be useful, if yours expert advisor trades many positions simultaneously.

Pending orders ADDED. This program is created for training on historical data.

In conjunction with Miranda IM, you can use this library to control your Mirand IM client. E.g. Send and receive messages, set the status, read the contact list, etc..

The RSI indicator, applied to Moving Average

The purpose of this indicator is to identify market fases that have too small amplitudes. These fases are useless even for systems designed for trading ranges markets. When the green line is BELOW the gray line - DON'T trade.

Indicator that shows trend and divergencies.

Three grades take profit Grid System, use it on weak market and fluctuating market, may need close all positions at some time.

A set of scripts to install and work with Gann fan. Custom fan has correct angles and is scale insensitive.

The indicator displays Market Sessions.

A simple label that shows information like Ask & Bid, OHLC prices, volume, spread, remaining candle time, local & server time.

1...484950515253545556575859606162...102