Watch how to download trading robots for free
Find us on Twitter!
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 - 10

Submit your code

Volume Profile + Range v6.0 (former TPO). Distribution of deals by price levels at a given time interval. Displayed as a histogram. The width of the histogram at the level means the number of transactions carried out on it. All Credits of this Amazing indicator to Olexiy Polyakov. I have just fixed the iBarShift and iTime issues, since this is such a great indicator for traders ! Now it is working fine with this files.

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

a Simple Visual Strategy Tester / Manual Trade Training using Martingale.

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 is a guide to trading using the price action method

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.

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

A class for creation and output of BMP images.

The Roulette Game.

Premier Stochastic Oscillator - Double EMA smoothing of stochastic, based on article in TASC by Lee Leibfarth (August 2008)

Crossover of overbought/oversold levels of Chande Momentum Oscillator is used as a signal to open positions.

Trading signals module for MQL5 Wizard. SuperTrend indicator's color dot serves as a market entry signal.

Graphical control for pixel drawing.

The class allows to organize the mini time series, indicator minibuffers, short sized buffers to store intermediate stream data inside the Expert Advisor or indicator.

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

The module for tracking open positions based on Delta ZigZag for MQL5 Wizard.

Plots up/down buffer arrows in chart window.

Ozymandias is a well known indicator which filters false price fluctuations.

The indicator displays the total number of deals by symbol in real time.

The indicator displays in chart window the important data on current symbol.

QWMA - "quadratic weighet moving average" new generation

Forex indicator for MetaTrader 5 with show double line of linear regression with position degrees and trend alerts.

The indicator finds fractals of any dimension.

MqlParams container class that uses method chaining to quickly add params and reduce lines of code.

A library for creating analog clocks using MetaTrader 4/5 graphical resources.

A library for common rounding methods used in MQL development, primitive wrapper class for type (double), and vector for CDouble objects. MQL5 and MQL4 compatible!

Extreme TMA Line indicator

Libraries based on the article "Random decision forest in reinforcement learning"

This utility is not a trading information utility. It will only have value for those getting information on the Number of Bars that have terminal data. This utility uses the functions SeriesIntegerInfo and CopyRates to obtain and display information about the availability of bar information from the terminal.

Scans multiple symbols looking for when the price crosses a pivot point or when xxPoints Near or bounce off pivot then it alerts the trader.

Step chart (upgraded version)

hi, this code need your telegram token and telegram chat id . you can make robot by BotFather and then search in google how you can find telegram token and chat id then attach them to this code . now every trade would be signals on your telegram channel.

Sometimes this is useful - to observe the behavior of the oscillator in the channel. Greatly simplifies the evaluation of the situation.

The CDemaOnArray class is intended for calculation of DEMA (Double Exponential Moving Average) on an indicator buffer.

CCHOOnArray class is designed for calculation of Chaikin Oscillator (CHO) values on indicator buffers. Test_CHOOnArray indicator is provided as the example of the class use.

1...34567891011121314151617...184