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

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

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.

The indicator shows the current price in one of the chart corners.

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.

The indicator draws the channel using ZigZag extreme points.

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 indicator of covariation, correlation and Beta ratio of two symbols.

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.

This indicator is designed for measurement of a financial asset price change periodicity. Cycle Period allows to create adaptive versions of oscillators.

Adaptive Stochastic oscillator.

Forecasting the next day candlestick changing range for all bars of the current chart.

This indicator allows to display the chart of another currency pair in the additional window.

Adaptive Cyber Cycle that can adapt to constantly changing market cycles of a real financial asset.

Forecasting the next candlestick changing range on a day chart.

BrainTrend1 and BrainTrend2 are placed in one minimized window to remove excessive elements from a chart workspace. BrainTrend1 (upper square dots) is a basic trend indicator, while BrainTrend2 (lower round dots) is a confirming indicator.

LeManTrend determines a trend position based on the current price and high and low prices for three periods.

Smoothed Larry Williams' Percent Range using Inverse Fisher Transform.

Fisher indicator calculates minimum and maximum price levels in previous history, determines direction of a trend and forecasts its reversal.

The indicator shows the moments of the market acceleration. Besides, it indicates appropriate time for buying, selling and market exit.

StepMA is executed as a moving average.

There are a lot of smoothing algorithms. This indicator is a smoothing of standard ADX.

Simplified Ichimoku indicator (Ichimoku Kinko Hyo) containing only the cloud.

Market Profile is a tool used by many futures traders for the analysis of the statistical time distribution of the price, finding a price area and control values for the day trading session. The indicator is based on the simple price movement and does not use standard MetaTrader 5 platform indicators.

Fisher RVI is an oscillator that modifies RVI (Relative Vigor Index) custom indicator values using Inverse Fisher Transform.

Four-colored histogram of OsMA (Moving Average of Oscillator) allowing to implement different smoothing algorithms.

ATRPivot generates support and resistance levels considering Average True Range (ATR) indicator.

1...164165166167168169170171172173174175176177178...183