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

Submit your code
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++.

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

Sample code to count consecutive no. of bull or bear bars.

This indicator picks up the divergence points of the DeMarker indicator

This is a simple analytical (non-signal, one-time calculated) indicator that allows you to test the hypothesis that price timeseries represent a "random walk", specifically Gaussian "random walk". This can help to construct a parametric transformation of price increments into evenly distributed, more stable and predictable time series, at least in terms of volatility.

Script for partially close active buy orders

Partially close active sell orders

This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.

A non-invasive candle time that can be positioned next to price or near a corner.

The Binary Wave returns a positive or a negative value depending on how the indicator readings are interpreted.

Class for the calculation of the ENUM_STATISTICS enumeration parameters

An indicator of technical shapes by Merrill. М & W Wave Patterns by A. Merrill.

Indicator to display existent and emerging harmonic chart patterns.

The Price Rate of Change (ROC) reflects this ondulatory movement like an oscillator, measuring the difference in prices in a certain period. ROC grows if prices grow and drops along with them. The more the price change is, the more ROC changes.

Classes for working with databases through ODBC and OLE DB interfaces

One-click trading.

A class for creation and output of BMP images.

The Roulette Game.

1...789101112131415161718192021...189