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

MQL5 Source Code Library for MetaTrader 5 - 86

This is the largest free source code library for MetaTrader 5 platform programs. Here you can find ready-made Expert Advisors, technical indicators, scripts and libraries. Use the code library when learning MQL5 language and develop your own automated trading applications based on the provided codes.

You can freely download and test published codes, as well as launch them in MetaTrader 5. The library is also available directly from MetaTrader 5 platform and MetaEditor development environment.

To post a new code, please log in or register
latest|best

A semaphore signal indicator that uses two 2pbIdeal1MA indicators, based on Open and Close values of the price series.

A semaphore signal indicator that uses two JFatl indicators, based on Open and Close values of the price series.

A semaphore signal indicator that uses two FatlMacd indicators, based on Open and Close values of the price series.

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

The indicator draws FatlMacdCandle indicator candlesticks of a higher timeframe as color filled rectangles using DRAW_FILLING buffers.

The 2pbIdeal1MA indicator implemented as a sequence of candlesticks.

The JFatl indicator implemented as a sequence of candlesticks.

The indicator draws JFatlCandle indicator candlesticks of a higher timeframe as color filled rectangles using DRAW_FILLING buffers.

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

The FatlMacd indicator implemented as a sequence of candlesticks.

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

The Ease of Movement indicator implemented as a sequence of candlesticks.

Ease of Movement indicator implemented in the form of a color histogram.

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

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

The Exp_DigitalF-T01 Expert Advisor enters the market when the DigitalF-T01 indicator cloud changes its color.

The DigitalF-T01 indicator with the timeframe selection option available in the input parameters.

A semaphore signal indicator using the crossing of the CGOscillator oscillator with its signal line.

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

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

The indicator paints candlesticks depending on the minimums and maximums of the previous bars.

The Exp_CHOWithFlat Expert Advisor is based on the change of color of the CHOWithFlat indicator.

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

The Exp_TriXCandle Expert Advisor is based on the change of color of the TriXCandle indicator candles.

This is a market sentiment indicator. It displays market sentiment — bullish or bearish.

This script closes all windows of selected symbol or all windows of any symbol.

Change in the display of graphical objects created by the strategy tester and simplification of the following visual analysis of the results.

The Exp_FrAMACandle Expert Advisor is based on the FrAMACandle indicator candlestick color change.

The indicator draws FrAMACandle indicator candlesticks of a higher timeframe as color filled rectangles using DRAW_FILLING buffers.

The indicator draws TriXCandle indicator candlesticks of a higher timeframe as color filled rectangles using DRAW_FILLING buffers.

The Fractal Adaptive Moving Average indicator implemented as a sequence of candlesticks.

The TriX indicator implemented as a sequence of candlesticks.

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

The indicator draws MA_Rounding_Candle indicator candlesticks of a higher timeframe as color filled rectangles using DRAW_FILLING buffers.

The indicator draws averaged candlesticks of a larger timeframe as color filled rectangles using DRAW_FILLING buffers.

The MA_Rounding indicator implemented as a sequence of candlesticks. Candlesticks appear as a result of relevant price timeseries processed by the MA_Rounding algorithm.

The MA_Rounding indicator with additional trend strength indication using colored dots based on the standard deviation algorithm.

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

The Chande Momentum Oscillator indicator implemented as a sequence of candlesticks.

The Exp_ColorZerolagDeMarker Expert Advisor enters the market when the ColorZerolagDeMarker indicator cloud changes its color.

1...798081828384858687888990919293...151