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

Submit your code

Wickless breakout

Gain/Loss Info MetaTrader indicator — displays the gains and losses for all candles where the given threshold is surpassed. The values are calculated in points and percentage. The indicator can calculate gain/loss in two modes: plain candlestick Close and Open difference, and as difference between current Close and previous Close. You can set minimum change limits (for pips and percentage), change modes, and you can also control font color of the output numbers. The indicator is available for both MT4 and MT5

Provide simplest class to write CSV file

The Money Flow Index (MFI) is the technical indicator, which indicates the rate at which money is invested into a security and then withdrawn from it.

Tools for monitoring spread of currency pairs

Functions for creating various objects and changing object properties.

AroonHorn_HTF_Signal shows a trend direction or a signal for performing a deal generated by AroonHorn_Oscillator_Sign indicator at the chosen bar as a graphic object with colored trend indication or deal direction and sends alerts or audio signals in case of a market entry moment

The Fibo ZigaZag indicator allows to calculate the probable support and resistance levels using the Fibonacci ratios.

This is an combination of 3 separate indicators: TTM wave A, TTM wave B and TTM wave C.

AdxVma trend.

A volume indicator with different types of data representation.

Unlike the original Schaff Trend Cycle, this version is using DEMA MACD for calculation, which makes it "faster" in determining the trend changes and thus producing signals a few bars earlier (which can be significant in "scalping" systems).

A portfolio EA for the MOEX FORTS market.

A modification of standard indicator iStochastic (Stochastic Oscillator, STO) - now you can manage levels #1 and #2 from your EA.

On-chart RSI

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.

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

A simple yet effective donchian channel breakout strategy. This strategy is timeless!

A dialog to display the maximum lot size permitted on the underlying asset for different types of orders (buy, sell, pending buy, and pending sell).

EQ

Historical equity of one-time and one-time open virtual positions to analyse the efficiency of spread/equity trading

The X-bars Fractals indicator allows setting the number of bars on the left and the right from fractal. It is good as for local, so for global extremums

This indicator is constructing "bands" using 3 quantile values.

ALMA with floating levels and additional filters.

ZigZag based on the MACDCandle indicator candles.

A channel based on standard deviation of close price.

SAR ADX Signal with mobile notification, rewritten from MT4 version (source no longer found). This is a repaintable indicator, please be careful when using it.

The library contains functions that returns description of runtime error codes and trade server return codes.

Trade functions library designed for use in the code of scripts and Expert Advisors depending on a broker

The Exp_PFE trading system based on the signals of the PFE oscillator.

The Exp_JSatlCandle Expert Advisor based on signals of the JSatlCandle indicator.

The CCI pre-filtered indicator with an addition of 18 possible types of averages that can be used for pre-filtering.

The multitimeframe version of Donchian channel.

The upgraded indicator: now it has new price types and different display type.

T3 velocity is a completely new indicator that uses T3 to calculate velocity.

Dsl (discontinued signal lines) - RSI.

The indicator implements a breakout system using the Mikahekin indicator channel.

Fast Stochastic.

ATR adaptive T3

ATR adaptive smooth Laguerre RSI

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.

1...67891011121314151617181920...194