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

Submit your code

Advance Parabolic Time/Price System

Correlation market state

Strategy based on the standard indicator iCHO (Chaikin Oscillator, CHO) and custom indicator 'CCIDualOnMA'

The Bollinger Bands ® Indicator (BB) is similar to Envelopes. The only difference is that the bands of Envelopes are plotted a fixed distance (%) away from the moving average, while the Bollinger Bands are plotted a certain number of standard deviations away from it.

An indicator lets you specify the number of bars separately before and after the current High / Low (fractal) can.

The Panel Designed for "Best Graphic Panel in MQL5" Contest. This graphic panel allows to automate manual trading. It has many functions, including the visual construction of trading strategies.

The ZigzagColor_Channel plots a channel by connecting the ZigZag peaks and ZigZag bottoms.

Trade signals based on reversal candlestick patterns is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

Trade signals based on "Morning Star/Evening Star" candlestick pattern, confirmed by Stochastic indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

The script downloads historical data (for the current symbol), available at trade server.

Trade signals based on "Bullish/Bearish Meeting Lines" 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.

BrainTrend2Sig is an indicator of the market trends that assigns colors to candlesticks according to the trend direction.

Multi-currency Expert Advisor functional module for organization of an access to any historical data with a request result processing.

Set of Keltner Channels based on the universal smoothing.

This indicator determines trend power and direction.

ZigZag indicator allowing to set Fibo levels at two last extremums.

New CCalendarInputBox control element of the IncGUI library has been designed for date and/or time input.

Ergonomic Parabolic SAR. The indicator itself is a two-color one and it also adds large colored dots that appear during each trend reversal.

The indicator transfers the price data to the new coordinates system associated with X2MA indicator values.

Candlesticks length volatility indicator useful for tracking gaps on the market and having the settings analogous to the Bollinger Channel. The indicator can show flats and trend beginnings.

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

The HLCrossSig for WPR is considered as a trend indicator, since it is intended for "catching" trends. However, it's a pretty complex and informative indicator that allows excluding the psychological and emotional influence from trading.

Adaptive Exponentially Smoothed Moving Average, based on StdDev indicator.

This indicator draws a period of operation that specifies trade start time and trade stop time.

Export MQL5 live data to Excel (DDE)

This is Bollinger Bands %b indicator for MetaTrader 5.

Trading signals module based on Delta ZigZag indicator.

FuzzyNet library for developing fuzzy models was written in C#. While converting to MQL5, 8 membership functions and 4 defuzzification methods for Mamdani-type systems were added to the library.

The script tests the computer in 45 performance tests. It is possible to compare the performance of VPS/VDS servers.

A trading robot for performing arbitrage between EURGBP and its synthetic quotes (triangular arbitrage).

The Exp_FRASMAv2 Expert Advisor is based on change in color of the FRASMAv2 moving average.

The MACD histogram, based on the FATL and SATL digital filters with color indication of trends.

This version of Bollinger Bands has a choice of calculating the standard deviation as a sample or as an uncorrected deviation.

ZigZagOnParabolic with its values displayed as fractal labels.

BB MACD is a MACD indicator variation with an addition of Bollinger bands

The Expert Advisor opens and closes positions at the predefined moments in time.

The indicator shows the statistical characteristics of bars: the mean value, variance, skewness and kurtosis

Keltner Channel built relative to the average value of the XRSX oscillator as a sequence of candlesticks

The Exp_XOSignal_ReOpen trading system based on the signals of the XOSignal indicator with trend following scaling

Original mathematical functions taken from different places, which either do not have analogues or perform much faster than alternative implementations

1...171819202122232425262728293031...194