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

Submit your code
latest | best

Super pass-band filter as described by John Ehlers

A very simple, efficient and non-obtrusive clock for your Chart. KISS compliant! :)

Fisher RVI is an oscillator that modifies RVI (Relative Vigor Index) custom indicator values using Inverse Fisher Transform.

Ron Black's swing line indicator for MetaTrader 5 version.

The library and iCanvas class simplify writing programs using Canvas.

ZigZag based on the MACDCandle indicator candles.

ALGLIB math function library (v. 3.5.0) ported to MQL5.

The EasyAndFastGUI library allows creating graphical interfaces for custom MQL programs.

MACD variation that uses Nonlag MA.

The script draws horizontal lines representing BUY (blue) and SELL (red) orders.

The Volume Rate of Change (VROC) is an indicator of the direction where the volume trend moves.

i-Regression Channel generates regression channel.

ZigZag indicator version with optimized calculation speed.

When applied to financial markets this method is usually used to determine the moments of prices extreme deviation from a "standard" level.

The indicator colors the candlesticks according to B. Williams.

Constructor for creating histograms of statistical distributions of indicators, timeseries and their derivatives.

The Aroon indicator in the new visualization.

Two colored filled rectangles with the display of channel levels. The rectangles are drawn between the values ​​of two channels on one bar of any timeframe of the GRFLeadingEdge indicator.

An indicator of custom patterns.

Choppy market index

Recursive Median Oscillator - with floating levels

It is made more up-to-date and multi time frame option added.

Calculating the best trading interval.

The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.

Serialization and deserialization of JSON protocol. The code is ported from a high-speed С++ library.

The indicator is an example of smoothing a time series of the OsMA indicator by filtering harmonics of higher order.


Moving average for prices (O+C+H+L)/4.

The MetaTrader 5 version of RSI of MACD double

A quick way to draw an arc-shaped channel in 4 mouse clicks.

The VR Alert NT5 indicator warns the trader about the price reaching a specified level.

This indicator allows to display the chart of another currency pair in the additional window.

Tools for monitoring spread of currency pairs

Parallel use of the MetaTrader 4 and MetaTrader 5 order systems.

The Zigzag2_R_Color indicator with the timeframe selection option available in the input parameters.

A variation on the T3 theme that was made as a sort of envelopes using T3 for basic value.

MACD with possibility to choose between tick volume and real volume.

RSI experiment with a simple addition of filled areas when floating levels are crossed.

Dsl (discontinued signal lines) - RSI.

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.

This library will allow you to tranfser realtime quotes from MetaTrader 5 to external server application.