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

Submit your code

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.

Didi Index mql5 source code.

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.

It is a DT oscillator as described by Robert Miner with some additional features.

Support ressitance - Barry (extended version).

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.

Indicator based on the Daryl Guppy's original strategy.

TWR

TWR is an indicator of a trend reversal.

Volatility quality with ATR filter

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.

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.

Class for the calculation of the ENUM_STATISTICS enumeration parameters

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

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

A simple script that allows you to open a Short position using the current price location with a specified Risk Percentage and Reward Ratio.

The indicator implements a breakthrough system using Donchian_Channels.

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

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.

The indicator shows the areas, where fast MA and slow MA cross.

Here are 6 classes, designed for convenient and intuitive use of indicators in your code.

Trading system based on the signals of the WPR_Slowdown indicator.

ZigZag based on WPR oscillator.

Standard MFI oscillator implemented as a histogram rounding its values to the standard range.

Keltner channel with some additional options

The widely known Keltner Chsnnel Oscillator in the new visual version .

The indicator shows the price chart of any scaling level.

1234567891011121314...183