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

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 Delta_RSI indicator with the timeframe selection option available in the input parameters.

Trend analyzer based on the difference of two MFI oscillators with different periods.

Trading system based on the signals of the ColorXvaMA_Digit_StDev indicator.

The ColorX2MA indicator, which features alerts, sending emails and push-notifications to mobile devices.

Trend analyzer based on the difference of two RSI oscillators with different periods.

The BykovTrend semaphore signal indicator, which features alerts, sending emails and push-notifications to mobile devices.

The indicator that displays tree pivots on one chart, with the ability to change their timeframes.

Another variant of the ZigZag by Rosh.

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

This indicator draws the daily, weekly and monthly Pivot with backtesting.

This indicator displays the trend extremums (maximum and minimum), which may be used as the support and resistance points. It is useful for determining the channel of the current trend. It features alerts, sending emails and push-notifications to mobile devices.

The Exp_i4_DRF_v3 Expert Advisor is based on the i4_DRF_v3 indicator color change.

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

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

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

The Exp_Bear_Bulls_Power Expert Advisor is based on the Bear_Bulls_Power indicator color change.

The Exp_JSatlCandle Expert Advisor based on signals of the JSatlCandle indicator.

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

The Exp_i4_DRF_v2 Expert Advisor is based on the i4_DRF_v2 indicator color change.

The JSatl indicator implemented as a sequence of candlesticks.

The Exp_Waddah_Attar_Trend Expert Advisor is based on the Waddah_Attar_Trend indicator color change.

The Exp_ColorJSatl_Digit Expert Advisor is based on the ColorJSatl_Digit indicator color change.

The ColorJFatl_Digit indicator, which features alerts, sending emails and push-notifications to mobile devices.

The Balance of Power (BOP) indicator as a color histogram of strength and direction of the current trend, which features alerts, sending emails and push-notifications to mobile devices.

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

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

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

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

Virtual Stop Loss or Trailing Stop.

A trend indicator that uses the MACD values multiplied by the averaged price of the financial asset, made as a colored histogram.

The indicator shows the strength of bulls and bears in a simple manner in a single window.

Short-term and cumulative indices of price fluctuations.

The Color Day indicator colors the bullish and bearish days.

Smoothed fast digital filter JSatl with color indication of movement direction, that displays the most recent value as a price label with the possibility to round the channel levels up to a required number of digits.

Trading system based on the signals of the JSatl_Digit_System indicator.

The indicator implements a breakout system using a channel based on the High and Low price series processed by the algorithm of JSatl_Digit.

Constructor for creating histograms of statistical distributions of indicators, timeseries and their derivatives.

The Exp_AFL_WinnerV2 Expert Advisor that uses the AFL_WinnerV2 indicator.

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

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

1...575859606162636465666768697071...150