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

Submit your code

Simplified version of the popular ZigZag indicator. The algorithm runs significantly faster, does not use intermediate calculation buffers, does not contain nested cycles and, therefore, does not redraw itself.

Averages indicator, which contains 18 types of averages available.

Envelopes using the Color_PEMA_Digit MA, with an indication of trend direction and display of the last values of channel borders.

A trend indicator of NRTR type using an MA and ATR.

Laguerre filter - without the usage of gamma parameter

A cross platform library/framework

Perfect Trend Line 2

Trend indicator

The Envelopes Indicator is formed by two Moving Averages, one of them is shifted upward and another one is shifted downward. The selection of optimum relative number of band margins shifting is determined with the market volatility: the higher the latter is, the stronger the shift is.

The Ultimate Oscillator was developed by Larry Williams. It uses the averaging of three oscillators with different periods.

This is a modified version of ZigZag indicator that draws lines with different colors depending on the price movement direction.

It's a well-known indicator that shows maximal and minimal prices (and average values) of the last n bars.

To demo buffer-pattern: Candles + Fractals + ZigzagColor + ColorMaLine.

Trend indicator with simple smoothing algorithms.

It uses martingale, the number of doublings is limited.

MACD indicator with MACD line, Signal line and multi-color histogram.

Graphic Panel Contest submission.

Trade signals based on "3 Black Crows/3 White Soldiers" candlestick pattern, confirmed by Market Facilitation Index (MFI) indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

Trade signals based on "Dark Cloud Cover/Piercing Line" candlestick pattern, confirmed by Commodity Channel Index (CCI) indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

The indicator generates market entry signals and draws the line of Stop Loss orders positioning.

SHI_Channel_true automatically shows Barishpolts dynamic moving channels on a chart.

The indicator shows trend change rate with a minimum lag.

Adaptive CG Oscillator is a CG Oscillator that can adapt to constantly changing market cycles of a real financial asset.

CNetMLP provides multilayer perceptron (MLP).

Modified version of "Rabbit" indicator having enhanced display features (the indicator displays actual support/resistance levels for any currency pair).

This indicator is based on the first version of Sidus trading method. It shows market entry points.

DLL (MS VC++ 2010) for working with Memory Mapped files.

Graphic control for color selection.

Simple trend indicator in the form of NRTR

A simple trend indicator.

Show minutes and seconds left before new candle is appeared.

Uses the idea of ​​the classical moving average smoothing. The class can be used when you want to smooth out any array of type double without using the standard indicator.

The script allows to set transparency level of the client terminal window using Windows API.

The Trinity-Impulse indicator with the timeframe selection option available in the input parameters.

Three Chaikin Oscillator indicators from three different timeframes displayed on the same chart.

Trading system based on WPRSIsignal indicator signals.

Trading system based on AroonOscillatorSignAlert indicator signals.

The i-CAi indicator that fills the chart space with a colored background and displays the most recent value as a price label with the possibility to round the channel levels up to a required number of digits, as well as displays a price grid with those rounded values.

The indicator is an example of smoothing a time series of the RVI indicator by filtering harmonics of higher order.

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

1...323334353637383940414243444546...200