Download MetaTrader 5

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

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.

latest|best

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

An indicator that helps to calculate a safe stop level for open positions.

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

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

The channel formed by two averages drawn on smoothing of High and Low price series. Candlesticks outside the channel limits are marked with color according to the trend.

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

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

The WPR (Williams’ Percent Range) indicator implemented as a sequence of candlesticks. Candlesticks appear as a result of relevant price timeseries processed by the WPR algorithm.

Three WPR (Williams’ Percent Range) osicllators from the same timeframe, based on Close, High and Low in a single window.

A usual WPR (Williams’ Percent Range) with the option of selecting Close, High, Low price type for calculation.

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

The JMA adaptive moving average with additional trend strength indication using colored dots based on the standard deviation algorithm.

The JMA indicator implemented as a sequence of candlesticks.

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

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

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

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

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

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

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

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

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.

1...434445464748495051525354555657...115