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

Submit your code

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

Step VHF adaptive VMA

A simple indicator which may help you in manual backtest by just moving a vertical line to show hide bars.

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 Indicator Ichimoku Kinko Hyo is predefined to characterize the market Trend, Support and Resistance Levels, and to generate signals of buying and selling.

The Moving Average Convergence/Divergence (MACD) is the next trend-following dynamic indicator. It indicates the correlation between two Moving Averages of a price.

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.

This indicator finds the nearest neighbor by using a weighted correlation coefficient, in which more recent prices have larger weights. The weight decays linearly from newer to older prices within a price pattern.

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.

Trade signals based on "Hammer/Hanging Man" 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.

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

Murrey Math Lines for the current bar are an effective tool for the market movements forecasts.

The indicator shows trend change rate with a minimum lag.

CNetMLP provides multilayer perceptron (MLP).

Simple clock displayed via the "label" graphical object (OBJ_LABEL).

Nonlagdot is the supply and demand indicator that calculates a possible trend considering market forces domination.

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

A library for parsing of XML documents. Pure MQL5, it doesn't uses any external libraries.

Curvelinear redrawing channel.

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

The classes (conveted from C++ to MQL5) for working with memory mapped files.

Trading signals module for MQL5 Wizard. WPRSIsignal indicator's color arrow serves as a market entry signal.

Graphic control for color selection.

The Expert Advisor is based on EMA_RSI_VA indicator.

Simple trend indicator in the form of NRTR

A simple trend indicator.

Calculation of 32 digit string MD5-hash from transmitted byte array

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.

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

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.

1...161718192021222324252627282930...184