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

Submit your code

The indicator shows the current price in one of the chart corners.

The indicator draws a grid of possible future levels of price.

Change Alert for barmenteros original indicator that compares four types of regression (linear, quadratic, logarithmic and exponential) and chooses the one that best fits the data analyzed.

Calculator-panel to calculate profit/loss. Data is calculated either when moving lines, or changing the parameters in input fields of the entry price, lot, profit or loss in pips or in deposit currency

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

The script displays the brief statistics for trading on the instrument over the specified period - the number of deals, profit, profit factor.

Setting multiple charts at one click.

A trend indicator in the form of a colored histogram which shows the average difference between the Hull Moving Average and its averaging.

Trading system based on trend_arrows indicator signals.

Vertical histogram with distribution of prices.

The indicator shows the strength of bulls and bears in a simple manner in a single window.

An oscillator to help you confirm your Elliott waves counting (doesn't count the waves automatically)

This is an improved Jurik Filter with the option to be applied to any indicator not only to prices.

e-Regr — MetaTrader 5 Expert Advisor. Trading by i-Regr (Regression Channel). Extensive use of the standard library classes.

i-Paramon work time (new version).

An example of working with the trading history on Hedge accounts — reconstruction of positions.

The strategy is based on two indicators: ADX and MA, and the close of the first bar. Also, different TakeProfit, StopLoss and Trailing levels are used for Buy and Sell.

The strategy uses two indicators Moving Average, MA with different periods, Commodity Channel Index, CCI and Williams’ Percent Range, %R.

The Exp_IBS_RSI_CCI_v4_X2 trend-following trading system is based on the signals of two IBS_RSI_CCI_v4 indicators.

DMA (general version).

The vertical version of the BarTimer indicator implemented using the classes of libraries that were described in detail in the article "Custom indicators and infographics in CCanvas", with the possibility to set a fixed timeframe, data from which the indicator displays in input parameters, and producing a sound alert when the bar changes.

MACD High/Low uses the highest high and lowest low of MACD (nnn) bars back to calculate a sort of dynamically changed zero line, early levels up and down and trend confirmation levels up and down. By adding these non-fixed levels, the MACD becomes faster in response to market changes and the MACD trend assessment has less false signals.

Converts a number to a text.

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

Trend Intensity Index as described by M.H.Pee in his article "Trend Intensity Index".

Two indicators ColorX2MA from different timeframes, the area between lines being filled with a cloud, the color of which corresponds with the trend direction on the market

Two independent trading systems using indicators BrainTrend2 and AbsolutelyNoLagLWMA within one EA.

Indicator Intraday Intensity Index 2

A simple Pivot. No stop loss and take profit are used.

Wildhog indicator

OHLC Volume indicator

Fibo Average

BezierMA moving average

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

Multi LSMA Slopes indicator checks slopes of 5 (different period) Least Squares Moving Averages (LSMA or linear regression value) and adds them up to show overall trend.

The trading system based on the JFatlCandle indicator signals with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system

Two identical trading systems (for long and short positions) based on the signals of the AdaptiveRenko indicator, which can be configured in different ways within one Expert Advisor

Indicator RJTX_Matches_Smoothed featuring alerts, emails and push notifications for smartphones

Indicator Compare Prices

Specified time range candles indicator

1...303132333435363738394041424344...183