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

Submit your code

Defining a signal based on several indicators: iMA (Moving Average, MA), iMACD (Moving Average Convergence/Divergence, MACD), iStochastic (Stochastic Oscillator), iOsMA (Moving Average of Oscillator, OsMA) and iAO (Awesome Oscillator, AO). The indicators are surveyed in a certain sequence.

Volty channel stop - smooth ATR

Trading strategy based on iAMA (Adaptive Moving Average, AMA) and iRSI (Relative Strength Index, RSI) indicators. Martingale is applied.

CCI OBOS With Confirmation indicator

Trend analysis index - improved and corrected version

ADX Fractal Signals indicator

Fractal Adaptive Moving Average with floating levels

Indicator XXDPO_Candle with the timeframe selection option in its input parameters

RSI of average using double smoothed Wilder's EMA

Buffer-free indicator implemented on iCanvas

Ocean theory - natural market slope

Pivots based on Bar Prediction.

This is an mql5 Expert Advisor trading the breakouts and using Martin Gale risk management.

A simple observatory of individual currencies.

The Custom Moving Average is example of the Custom User Indicator - it calculates and shows the Moving Average.

The updated version of TimeClosingPeriod indicator, it plots the time, remained to the current bar complete. At the last second it plays the sound file, specified in the input parameters.

Example of a tick chart.

The Moving Average indicator, based on the Quasi-Digital Filter. The MACD indicator as example of its use is presented.

Dual Trix Upgrade 1.

Trade signals based on price crossover with moving average indicator confirmed by ADX is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

Reference Slow Trend Line (RSTL).

CoeffofLine indicator shows the most likely future price direction (2-3 bars).

The indicator shows the channel based on fractals.

The color histogram based on the Momentum and Perry Kaufman's Adaptive Moving Average indicators.

The indicator of covariation, correlation and Beta ratio of two symbols.

The basis of the RBVI Forex indicator is an attribute of the night market to sharply decrease the volatility due to absence of active trading on exchanges. The indicator considers the price flow and the volatility (changeability) of the market what helps to successfully behave in a flat market. It is recommended to use RBVI in Expert Advisors that run in night time.

This indicator is based on CCI (Commodity Channel Index) and the analysis of a trend direction of its multiple signal lines.

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

Trading signals module for MQL5 Wizard. The moment, when a candlestick formed by Heiken_Ashi_Smoothed changes its color, indicates the time for market entry.

The Expert Advisor based on the following indicators: Laguerre, CCI and MA.

The Shapiro-Wilk normality test.

A multi-currency trading system, based on Bollinger Bands and trend catching technique. Capable of trading up to 6 currencies simultaneously. System has build in optimization parameter sharing.

The MACD histogram drawn on the difference of two digital filters.

The internal bar indicator showing locations of temporary price consolidation.

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

DonchianChannelsCloud indicator with the timeframe selection option available in input parameters.

Semaphore arrow signal indicator based on the classic Stochastic oscillator leaving the overbought and oversold areas, which features alerts, sending emails and push-notifications to mobile devices.

Trading system based on PChannel_System indicator signals.

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

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

1...454647484950515253545556575859...198