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

Submit your code

Set StopLoss by just dragging and dropping script on the desired price level.

Script For Trap News High Impact

script to open a buy position at the current price in the MT5 window with a specified stop loss (in pips) and take profit (in pips)

The On Balance Volume Indicator (OBV) is a momentum technical indicator that relates volume to price change.

Linear regression slope normalized to SMA.

The easiest and fastest zigzag.

Filter based on the Intraday time filter offered by the standard library.

This library allows to automate the process of connecting to a trade server after the "Account disabled" error occurs.

The indicator displays the Ask and Bid, which are taken from the real tick history. Also, it is possible to evaluate the spread changes by visually comparing the Ask and Bid.

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

A version that adds some averages not supported by built in standard types to the collection of averages in one single file.

Tick volumes indicator. It shows the price change with an increase and decrease.

The newest version of Adaptive Laguerre filter.

The library makes indicators' Init/Deinit synchronized

A Moving indicator that does not use averaging in its code.

A standard zigzag complemented with support and resistance levels.

Long known volume analysis method.

Indicator based on the Daryl Guppy's original strategy.

TWR

TWR is an indicator of a trend reversal.

Volatility quality with ATR filter

Trend direction and force - double smoothed EMA smoothed

Higher Highs & Lower Lows Stochastic

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

This is a simple example of user interface of information system with possibility to trade by pressing a button.

Standard colored MACD histogram allowing to select smoothing algorithms from ten possible variants and containing alerts.

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

The library that contains various statistical functions including the calculation of an average value, variance, asymmetry, excess, covariation, correlation etc.

The panel for the display of statistical parameters calculated based on the trade history.

The class is designed for calculation of a technical indicator Average Directional Movement Index (Average Directional Movement Index, ADX) using the algorithm of the ring buffer.

The Renko Line Break indicator determines itself a synthesis of renko charts and three linear breakthrough

The indicator implements a breakthrough system using Donchian_Channels.

The indicator shows the spread for each bar, the current spread and the minimum spread for a period.

Simple script for apply template and/or timeframe to all charts opened.

The indicator draws candlesticks of a larger timeframe as color filled rectangles based on the FiboCandles indicator.

A class for a transparent button.

The script controls the display of time and price scales for all open charts or only for one chart.

This simple class can be used to adjust, for example, trading ranges, or to enable / disable certain actions by time or day of the week.

The Exp_ADXDMI trading system based on the signals of the ADXDMI oscillator.

Semaphore signal indicator based on the DSSBressert indicator algorithm.

The breakthrough trading system based on the signals of the i-CAiChannel_System_Digit indicator.

1...456789101112131415161718...188