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

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.

To post a new code, please log in or register
latest|best

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.

The AFL_Winner_HTF_Signal indicator shows the trend direction and the signal based on the AFL_WinnerSign indicator.

A trading system using the Modified_Optimum_Elliptic_Filter indicator.

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

A trend indicator based on two Moving Averages and Bollinger Bands made as a colored histogram.

A semaphore signal indicator that uses an algorithm based on crossovers of two moving averages.

A trading system using the ForexProfitBoost_2nb indicator.

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

The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.

A semaphore signal indicator based in the idea from "325 golden strategies" collection.

The HighestLowestRange (HLR) indicator with the timeframe selection option available in the input parameters.

A middle line between the SATL and FATL digital trend filtering indicators.

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

A fractal volatility indicator based on the GARCH model by Tim Bollerslev.

The Leading_HTF_Signal indicator shows a trend direction or a signal generated by the LeadingSign indicator.

The ForexProfitBoost_2nb with the timeframe selection option available in the input parameters.

The MAMA_HTF_Signal indicator shows a trend direction or a signal generated by the MAMASign indicator.

A semaphore signal indicator that uses an algorithm based on crossovers of moving averages from the Ozymandias indicator.

A semaphore signal indicator that uses an algorithm based on crossovers of moving averages from the MAMA indicator.

A semaphore signal indicator that uses an algorithm based on crossovers of moving averages from the Leading indicator.

Trade system using the Leading indicator.

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

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

A semaphore signal indicator based on crossovers of the main and the signal line of the AdaptiveCyberCycle oscillator.

A simple semaphore arrow signal indicator.

Trade system using the Elder Impulse System indicator.

The indicator draws candlesticks of a larger timeframe as color filled rectangles based on the FiboCandles indicator.

Trading system using the Ozymandias indicator.

A trend oscillator that uses the Hodrick-Prescott filter.

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

The indicator draws lines by ascending series of maximums and descending series of minimums.

This spread indicator shows minimum and maximum spread values for the last hour, 4 hours and day.

A modification of the popular Ozymandias indicator.

Fractals are generated using 3 previous bars (without redrawing because the current bar is not included in the calculation).

1...102103104105106107108109110111112113114115116...160