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

Submit your code

BrainTrend2Stop is a trend reversal detection indicator, it is displayed by the stops line. Intersection of the line indicates trend reversal and the time to close previously opened positions.

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.

The Exp_DigVariation Expert Advisor is based on the reversal of the DigVariation non-normalized oscillator direction.

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.

"Classical" MA with a twist: colors change depending on the angle of the slope.

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

Standard WPR 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 .

Draws equidistant horizontal lines.

Adaptive super smoother is used for price pre-filtering before it is used to calculate a stochastic

Hull moving average with arbitrary weights of calculation.

Dynamic Momentum Index

The version of Aroon oscillator, displayed on the main chart.

Upgraded adaptive rapid rsi (stand deviations adaptive) using t3 filtered prices.

Variation of well know STARC (Stoller Average Range Channels) bands.

The Exp_Bezier_ReOpen trading system is based on the Bezier indicator color change with adding to trend-following positions.

Indicator for automatic selection of the coefficients for every instrument in a pseudo-stationary portfolio, which tends to equilibrium at zero.

The Expert Advisor manages positions using labels.

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

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

Displays important symbol and account parameters.

1...789101112131415161718192021...191