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.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Enable two-factor authentication ContinueMulti-currency Expert Advisor functional module for organization of an access to any historical data with a request result processing.
Positive Volume Index (PVI) draws a connection between the volume rise and financial instrument price change.
Murrey Lines with calculation at all bars and the possibility to choose a timeframe for lines calculation.
Vertical Horizontal Filter (VHF) shows, if there is a trend or a flat
The typical normalized oscillator varying within the range -100 to +100 and provided with a signal line.
This oscillator displays its values considering RSI (Relative Strength Index) technical indicator.
DeMarker indicator with the possibility to select smoothing algorithms that is made in color with dynamically changing oversold and overbought levels.
Modified elliptic filter from John Ehlers' book "Cybernetic Analysis for Stocks and Futures: Cutting-Edge DSP Technology to Improve Your Trading"
Multicurrency "grider" with risk control (version for Automated Trading Championship 2011 and updated version).
The indicator gives trading signals using colored arrows on a chart. The signals are based on the WPR (Williams’ Percent Range) and RSI (Relative Strength Index) technical indicators.
The indicator consisting of two moving averages (Lead and its EMA smoothing) on one chart from John Ehlers' book "Cybernetic Analysis for Stocks and Futures: Cutting-Edge DSP Technology to Improve Your Trading".
The indicator consisting of two moving averages from John Ehlers' book "Cybernetic Analysis for Stocks and Futures: Cutting-Edge DSP Technology to Improve Your Trading".
More informative Average Directional Index (ADX) indicator with the possibility to select the smoothing algorithm out of ten possible variants.
The indicator is based on comparing the signals of JJRSX oscillator and XMA moving average working on different timeframes - the current (chart timeframe) and the higher ones.
This indicator shows the direction of the acceleration of JFatlAcceleration price from a larger timeframe at a smaller one.
Two-pole super smoother filter from John Ehlers' book "Cybernetic Analysis for Stocks and Futures: Cutting-Edge DSP Technology to Improve Your Trading" is used in this indicator for moving average calculation.
ZigZag indicator built using the values of the Parabolic SAR technical indicator with the added possibility to build Fibo levels on the last two indicator peaks and the channel generated with the use of three successive zigzag peaks with selection of these peaks.
This indicator shows the direction of the acceleration of JFatlSpeed price from a larger timeframe at a smaller one.
Three-pole super smoother filter from John Ehlers' book "Cybernetic Analysis for Stocks and Futures: Cutting-Edge DSP Technology to Improve Your Trading" is used in this indicator for moving average calculation.
A library for parsing of XML documents. Pure MQL5, it doesn't uses any external libraries.
The indicator that displays "averaged" candlesticks of a larger timeframe at a smaller one.
Three pole Butterworth filter is used for smoothing in this moving average calculation algorithm.
The indicator acts in a fully opposite way comparing to the adaptive moving averages during a trend market: in case of a definite trend, both indicator lines (Lead Sine and Sine Wave) move parallel to each other and show the trend direction by their location relative to each other; in case of a flat, the Sine Wave indicator quickly reacts on the market swing movements.
Two pole Butterworth filter is used for smoothing in this moving average calculation algorithm.
Stochastic RSI is a standard Stochastic oscillator, the values of which are calculated not from a price series but from RSI technical indicator values.
Adaptive Momentum from John Ehlers' book "Cybernetic Analysis for Stocks and Futures: Cutting-Edge DSP Technology to Improve Your Trading".
Multi-currency Expert Advisor that analyze resonance events at related financial assets.
Stochastic CG Oscillator is a stochastic oscillator, the values of which are calculated based not on a price series, but on CG Oscillator indicator values.
The hybrid of the universal moving average and NRTR indicator. In this indicator the values of the moving average are corrected with the help of NRTR algorithm (Nick Rypock Trailing Reverse).
Adaptive CG Oscillator is a CG Oscillator that can adapt to constantly changing market cycles of a real financial asset.
Detrended Price Oscillator (DPO) shows the market overbought/oversold states and also can be used for getting buy/sell signals.