Watch how to download trading robots for free
Find us on Telegram!
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 - 105

Submit your code

Simple intraday support resistance

Forex Trade Manager MT5 simplifies managing open orders in MetaTrader 5.

Recent High/Low Alert MetaTrader indicator — displays two bands of maximum and minimum levels across recent N candles. By default, the maximum band is displayed with a blue line; the minimum band is displayed with a yellow line. Additionally, it can invoke a popup alert, send an email alert, or issue a notification alert when the current price (Bid) breaks recent High or Low level. All alerts can be turned off. If you use the email alert feature, do not forget to set the email settings in your MetaTrader platform's options window. Same with push-notifications. The indicator is available for both MT4 and MT5.

The Cincin EA (v2.24) is an automated trading system for MetaTrader 5 that executes conservative random trades on a specified symbol (e.g., EURUSD), with features like basket management, hedging, and position control.

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

The example of chart background image, created using the object of OBJ_BITMAP type.

Stochastic Oscillator by William Blau.

Directional Trend Index (DTI) Indicator by William Blau.

Fine Clock. Displayed on all charts.

The CFramaOnArray class is intended for calulcation of Fractal Adaptive Moving Average (FRAMA) on indicator buffers.

This indicator is based on RSI and its multiple signal lines analysis.

This indicator is an alternative to the moving averages with less delay and possibility to manage sensitivity ratio.

TrendSignal Indicator for MetaTrader 5.

The indicator of the Micro, Middle and Main Trends

The trading system based on the signals taken from the Arrows_Curves indicator

The trading system based on the signals taken from the BrakeExp semaphore, signal, trend indicator

The Expert Advisor analyses many Moving Averages from three timeframes

The NRTR Moving Average from Konstantin Kopyrkin for trailing stops and trends display

The indicator forecasts day's price range

This indicator simply alerts and sends email every time the trend line touched by the price.

A fan of MA indicators, the period of which is defined by one of four types of progressions

The Candle Stochastic Index indicator implemented in the form of a color histogram.

The indicator draws fractals based on three candlesticks.

The EMA_Prediction_HTF_Signal indicator shows trend direction based on the data of the EMA_Prediction indicator as a graphical object with colored trend indication, gives alerts or audio signals and sends push notifications on your smartphone.

A moving average indicator obtained by averaging the values of all calculation variants of the classical Moving Average.

Indicator of price change range.

A system of three Moving Averages.

The MultiBlauTSStochasticx7Signal indicator shows information on active trends using the values of seven BlauTSStochastic indicators from different timeframes.

Semaphore signal indicator, based on Bill Williams' Alligator indicator.

The simplest robot that buys and sells!

The BlauErgodic_Signal indicator shows information on the current trend using the values of the BlauErgodic indicator with a fixed timeframe.

The MultiHighsLowsSignal indicator shows information on active trends using the values of seven HighsLowsSignal indicators from different timeframes.

The Exp_CronexAO EA is based on the signals generated by the CronexAO oscillator.

This is a moving where effect of retardation is lessened by means of damped cosinusoid defining coefficients' ratios in equation of the linearly weighted average (LWMA).

The Exp_SlopeDirectionLine EA is based on the signals of the SlopeDirectionLine trend indicator.

Library for sending mail messages.

The indicator displays the current Bid price magnified on the chart.

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

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

The indicator performs the calculation of the derivative of the price.

1...9899100101102103104105106107108109110111112...197