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

Submit your code

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

The Swing High/Low Identifier for MetaTrader 5 marks significant swing highs and swing lows directly on your chart with color-coded arrows. This tool helps traders quickly identify key price levels, which can serve as resistance and support, and is ideal for trend reversal analysis, support and resistance mapping, and enhancing price action strategies. By highlighting these crucial swing points, it provides valuable insights for making informed trading decisions and optimizing trading strategies.

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.

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

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

The channel is based on the prices extreme values for a period. Central line, upper and lower channel borders values are determined by calculation of the Pivot Points used as assumed support and resistance levels.

TrendSignal Indicator for MetaTrader 5.

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.

The Laguerre_PlusDi and Laguerre_MinusDi indicators in a single window in the form of a cloud

The difference between the Laguerre_PlusDi and the Laguerre_MinusDi indicators in a single window in the form of a colored histogram

The Exp_MA_Rounding_Candle Expert Advisor is based on the MA_Rounding_Candle indicator candlestick color change.

A variant of the Momentum indicator with volumes and time used in its calculations.

1...8990919293949596979899100101102103...190