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

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

A semaphore signal indicator that uses divergence between two Momentum oscillators based on extreme points of the last five bars.

A semaphore signal indicator that uses divergence between two Force Index oscillators based on extreme points of the last five bars.

A semaphore signal indicator that uses divergence between two WPR oscillators based on extreme points of the last five bars.

The AFL_Winner_Signal indicator displays information on the current trend and on signals based on the AFL_Winner indicator.

A semaphore signal indicator based on the AFL_Winner indicator.

The Exp_NRatioSign Expert Advisor is based on signals generated by the NRatioSign semaphore arrow signal indicator.

The Exp_TrendlessAG_Hist Expert Advisor is based on signals generated by TrendlessAG_Hist trend indicator.

This trading system uses the FatlSatlOsma non-normalized oscillator.

The HLR_HTF_Signal indicator shows the trend direction and signals based on the HLRSign indicator.

The Exp_HLRSign Expert Advisor is based on signals generated by the HLRSign semaphore arrow signal indicator.

The FATL-SATL_Balance indicator with the timeframe selection option available in the input parameters.

The Ozymandias_HTF_Signal indicator shows the trend direction and the signal based on the OzymandiasSign indicator.

The indicator shows the spread for each bar, the current spread and the minimum spread for a period.

A semaphore signal indicator showing moments when the average difference between the Hull Moving Average and its averaging changes direction.

A trend indicator in the form of a colored histogram which shows the average difference between the Hull Moving Average and its averaging.

The Exp_RangeExpansionIndex EA is based in the signals generated by the RangeExpansionIndex oscillator.

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

The indicator shows the trend direction or the signal based on the ForexProfitBoost_2nbSign indicator.

The Expert Advisor controls and limits the overall loss for the account, and the loss for every deal. It includes Trailing Stop for the account.

A class for a transparent button.

This class is designed for creating interactive buttons with various states on a price chart.

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

The ALF Winner indicator identifies a trend change by established turnover areas at -50/+50 levels.

The NRatio_Signal indicator displays information on the current trend using the NRatio indicator values with a fixed timeframe.

A semaphore signal indicator that uses an algorithm based on crossovers of oversold and overbought levels from the NRatio indicator.

The XCCX indicator with additional trend strength indication using colored dots based on the standard deviation algorithm.

A trendless indicator (based on the book "Trading with DiNapoli Levels") made as a colored histogram.

A semaphore signal indicator that uses breakthroughs of the zero line from the TrendlessAG oscillator to generate signals.

The indicator draws candlesticks of a larger timeframe as color filled rectangles using the data provided by the TrendlessAG indicator.

This Expert Advisor is based on signals generated by the Simple Trading System semaphore arrow signal indicator.

The Ozymandias indicator with additional trend strength indication using colored dots based on the standard deviation algorithm.

The Bezier indicator with additional trend strength indication using colored dots based on the standard deviation algorithm.

The Leading_Signal indicator displays information on the trend and on signals based on the Leading indicator.

The HLR_Signal indicator displays information on the trend and on signals based on the HLR indicator.

The AML indicator with additional trend strength indication using colored dots based on the standard deviation algorithm.

The Ozymandias_Signal indicator displays information on the current trend and on signals based on the Ozymandias indicator.

A difference between the SATL and FATL digital trend filtering indicators that allows to estimate the speed and direction of the current trend.

A semaphore signal indicator that uses an algorithm based on crossovers of oversold and overbought levels from the HLR indicator.

The X2MA indicator with additional trend strength indication using colored dots based on the standard deviation algorithm.

The Exp_AFL_WinnerSign Expert Advisor is based on signals generated by the AFL_WinnerSign semaphore arrow signal indicator.

1...124125126127128129130131132133134135136137138...183