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

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

The Random Walk Index indicator is used in situations where it is necessary to determine whether the market instrument is in a developing trend or performs random motion.

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

The ExMass indicator helps to evaluate market fluctuations.

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

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

The ExVol calculates the difference between the total sum of bodies of growing and falling candlesticks on a given interval in points.

The ExTrendv2 indicator draws fractal channels.

Trading system using the TrendMagic indicator.

A colored cloud formed by two WPR oscillators with different timeframes.

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

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

This is an optimized version of the TrendMagic indicator.

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

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

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

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

The i-AMA-Optimum indicator with the timeframe selection option available in input parameters.

The i-HighLow indicator with the timeframe selection option available in input parameters.

The Exp_CronexChaikin EA is based on the signals generated by the CronexChaikin oscillator.

The Exp_CronexDeMarker EA is based on the signals generated by the CronexDeMarker oscillator.

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

The indicator draws candlesticks of a larger timeframe as color filled rectangles in accordance with the colors of the clouds of the CronexAC indicator.

The indicator draws candlesticks of a larger timeframe as color filled rectangles in accordance with the colors of the clouds of the CronexAO indicator.

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

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

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

The Exp_CronexAC EA is based on the signals generated by the CronexAC oscillator.

The i-HighLow indicator draws a channel with the borders that correspond to the highest and lowest values of candlestick shadows for a specified number of bars with a vertical shift at the number of points defined by the indicator input parameters.

The MACD Indicator, in which the price series is replaced by the series of values of the Accelerator Oscillator technical indicator. It is drawn in the form of a colored cloud.

The MACD Indicator, in which the price series is replaced by the series of values of the Awesome Oscillator technical indicator. It is drawn in the form of a colored cloud.

An indicator of a moving average similar to EMA.

Adaptive Moving Average by Perry Kaufman for large periods.

The i-OneThird indicator draws candlesticks that correspond to the bullish and bearish patterns (in the style of Heiken Ashi).

The indicator shows the current levels and direction of the Supertrend indicator on multiple timeframes.

Indicator HighsLows_HTF_Signal shows a trend direction or a signal for performing a deal generated by the HighsLowsSignal indicator at the chosen bar as a graphic object with colored indication of trend or deal direction and sends alerts or audio signals in case of a market entry moment.

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

An indicator of the series of simple indicators without averaging.

An indicator of the series of simple indicators without averaging. It is implemented as a channel with a fixed width.

The indicator is drawn as a colored cloud between the lines of Kaufman's AMA (Adaptive Moving Average) indicator and the price.

Modified scripts to change Charts(next,previous) and Timeframes(higher,lower) of all charts quickly by hotkeys.

1...99100101102103104105106107108109110111112113...150