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

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
latest | best

Synchronize ОС/EA/MT processes etc. Any self-made DLLs are not needed now.

Library for calculation of a margin required for opening a position in MetaТrader 5.

Checking a date for belonging to winter or summer time. The code was developed for news debugging.

Trading signals module based on Delta ZigZag indicator.

The module for tracking open positions based on Delta ZigZag for MQL5 Wizard.

Library for sending mail messages.

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

The indicator displays expected time of position opening and closing.

The indicator draws bull and bear lines of a trend on the basis of iFractals indicator's data from the nearest extremum to the last fractal broken down.

Flight smiles.

The indicator displays the current Bid price magnified on the chart.

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

Volume indicator.

RegressionPolynomial is a trend indicator calculating values of polynomial regression on each bar.

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

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

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

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

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

The Money Flow Index Indicator adapted for usage of all price types for calculations.

Indicator of bar sizes in points with due regard to spread and maximum one way movement only.

The indicator displays change of a current price regarding the price countBarsS/countBarsL bars ago.

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

The Exp_ForexOFFTrend Expert Advisor is based on the signals of the ForexOFFTrend trend indicator.

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

Optimal trading time indicator.

The trend indicator drawn in the form of the colored cloud.

Stochastic Oscillator which is able to identify flat conditions of the market.

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

A TSI oscillator based on the values of the DeMarker technical indicator, implemented with its own signal line in the form of a colored cloud.

The indicator of difference between high and low tails of a candle.

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

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

The trend indicator drawn in the form of the colored cloud.

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

Well-known indicator of Constantine Kopyrkin which generated a great number of NRTR indicator implementation. NRMA moving average (line) and trailing stops NRTR (circular-shaped dots) are implemented in this variant.

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

This is a moving where effect of retardation is lessened by means of damped cosinusoid defining coefficients' ratios in equation of the linearly weighted average (LWMA).

Special aspects: "holidays problem" is solved (problems arising due to absence of ticks).

The Mass Index is intended for detection of trend turns based on changes in the bandwidth between the highest and the lowest prices.

1...120121122123124125126127128129130131132133134...176