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

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

The Fisher Transform indicator. It displays the current movements, and the set levels often act as turning points.

Oscillator can be used on multiple symbols and multiple timeframes.

Made some changes compared to the originally Momentum Pinball

The classic Aroon Oscillator in the new visual form.

Adaptive Laguerre filter with the usual set of 20 types of prices.

Blau T3 ergodic candlestick oscillator with new display types and styles

ALMA with floating levels and additional filters.

Another version of the RSI using smoothed prices.

Middle-High-Low Average - a correlation of two averages.

The oscillator based on RSI with adjustable period and color scheme.

The indicator plots the candles based on 4 averages: averages of Open, Close, High, Low.

The indicator shows the areas, where fast MA and slow MA cross.

Indicator sends the alert when new bar is formed.

This indicator is constructing "bands" using 3 quantile values.

This version of Bollinger Bands has a choice of calculating the standard deviation as a sample or as an uncorrected deviation.

The indicator is finding out the minimum and maximum for the desired period and draws fibo zones in those bounds.

This is one more possible way of making MACD — as a candles, without the price and signal line.

This is an indicator that generates simulated data for any period - but in seconds

Class for working with AES-256 encryption.

Simple average spread per hour statistics output.

PricePosition indicator provides the position of price in the point of angle when the price rises above (BUY) or falls below the angle section line (SELL).

The script displays the monthly and weekly levels on the chart.

Byte-wise operation with structures and standard data types.

Script for drawing a price markup.

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

Trading system based on STLMCandle indicator signals.

Indicator based on two moving averages from the "Cybernetic Analysis for Stocks and Futures: Cutting-Edge DSP Technology to Improve Your Trading" book by John Ehlers.

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

The Exp_RVIDiff Expert Advisor is based on change of direction of the RVIDiff indicator.

Trend indicator.

The Exp_i-SpectrAnalysis_Chaikin Expert Advisor is based on change of direction of the i-SpectrAnalysis_Chaikin indicator.

The Exp_BalanceOfPower_Histogram Expert Advisor is based on change of direction of the BalanceOfPower_Histogram indicator.

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

The RSI indicator implemented as candlesticks with indication of breaking the overbought and oversold areas.

The FloatPivot indicator with the color filling inside the channel, drawn as a cloud, with the display of the last values as price labels and the possibility to round the channel levels up to a required number of digits.

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

The vaMA moving average with the to change the averaging algorithm.

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

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

1...979899100101102103104105106107108109110111...183