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

Submit your code

BB stops — RSI version.

The RSI indicator in a candlestick form with the Keltner channel calculated relative to RSI averaging.

A simple oscillator that uses the difference between candlestick open and close prices.

The tool allows drawing shapes in the chart.

Two Keltner channels based on one moving average, drawn as a colored cloud, with the display of the last values as price labels.

The Expert Advisor is based on the signals of indicators iBands (Bollinger Bands, BB) and iRSI (Relative Strength Index, RSI).

HOPS and LOPS indicator. The "HOPS" and "LOPS" stand for High Of the Previous Session and Low Of the Previous Sessions.

Probability levels based on ATR. "Probability" is calculated based on the projected Average True Range and previous period Close.

The US dollar index in form of Japanese candlesticks.

Indicator of trend strength and of the possible changes in its direction.

IT

Instantaneous Trendline - John Ehlers "instantaneous" trendline.

It deletes the arrow objects from the chart, which mark the transactions in the chart. The utility is implemented as an indicator that does not draw anything by itself.

Indicator iSAR with the timeframe selection option in input parameters, implemented in color, with the possibility to generate alerts when the trend changes its direction.

Indicator StopLoss Calculator.

A set of digital filters that are always drawn in separate window (due to their nature).

EF

Indicator Ehlers Filter

Indicator Candle Code displays in a separate window the "code" of candlesticks as lines built on the ratio of each candle's parameters.

Two identical trading systems (for long and short positions) based on the signals of indicator NRTR, which can be differently configured within one EA.

ASO

Absolute Strength Oscillator (ASO) indicator

CCI_Histogram_Vol indicator with the timeframe selection option available in input parameters

XCCI_Histogram_Vol indicator with the timeframe selection option available in input parameters

ATR adaptive double smoothed EMA

Bollinger bands squeeze

Volume weighted moving average

Fractal Adaptive Moving Average -

Adaptive ATR

Adaptive ATR Keltner channel

Stochastic of average (on chart)

Pretty simple. Seems Stupid. But yes, You need this...

This is the version 2 of my script to export the trade history from MT5 selected between two dates. The resulting file is CSV that can be opened/imported with any spreadsheet software. More columns were added and fixed minor errors. The code for processing and exporting data was rewritten.

Display interactive HTML graph of the account balance inside the web browser.

Trading the trend

Encapsulating a family of interchangeable algorythms which can be modified independently from the client.

NELODI Trading Terminal is a collection of Indicators and an Expert Advisor, which work together to provide a complete solution for manual Trading, primarily designed for Scalping.

Sort the input array in-place using comparison function less.

The first chapter of the book introduces the MQL5 language and development environment. One of the new features introduced in the MQL5 language compared to MQL4 (MetaTrader 4 language) is support for object-oriented programming (OOP), which makes it similar to C++.

This Include File checks for Market Open Hours. An EA to test it is also included.

Donchian Channel for traders or young developers by William210

Draw a Rectangle on chart to plot custom grids based on points value on input

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

1...8910111213141516171819202122...191