Watch how to download trading robots for free
Find us on Telegram!
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 - 96

icon

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.

Submit your code

The ZigZag based on the CCI oscillator.

The ZigZag based on the Chaikin oscillator.

Semaphore signal indicator based on the WPR indicator, which features alerts, sending emails and push-notifications to mobile devices.

Semaphore signal indicator based on the MFI indicator, which features alerts, sending emails and push-notifications to mobile devices.

Trading system based on the signals of the RSI_Slowdown indicator.

Here are 6 classes, designed for convenient and intuitive use of indicators in your code.

Semaphore signal indicator based on the RSI indicator, which features alerts, sending emails and push-notifications to mobile devices.

The Exp_Delta_WPR Expert Advisor is based on the Delta_WPR indicator color change.

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

Derivative of the Cauchy difference The indicator shows the difference in the estimated values of the current bar and the previous bar.

Cauchy difference. The indicator shows the difference of arithmetic mean and geometric mean of the price.

GMA

Geometric Moving Average.

The Exp_Delta_MFI Expert Advisor is based on the Delta_MFI indicator color change.

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

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

YMA

Moving average for prices (O+C+H+L)/4.

The Exp_Delta_RSI Expert Advisor is based on the Delta_RSI indicator color change.

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.

1...8990919293949596979899100101102103...183