Download MetaTrader 5

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

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.

latest|best

The indicator plots the chart of the specified symbol in a separate window.

Multi-Williams Percent Range trend indicator.

Clouds formed by the masses of moving averages of different periods.

The script adds vertical lines on the chart at the news events.

Classic Pivot Point indicator paints pivot point and three resistance and support levels for all data points.

The indicator calculates the resistance and support lines and shows alerts when price is reached them.

The indicator creates a channel and provides the possibility to configure it with automatic tuning.

The indicator shows the use of the free Library for Custom Chart library for the automatic connection of the indicators to iCustomChart custom charts created on the basis of custom history files.

The Expert Advisor shows the use of the free LibCustomChart library for the automatic connection of the Expert Advisors and indicators to iCustomChart custom charts created on the basis of custom history files.

Simple script to randomize all colors of your chart. Just click on it and see results yourself!

This Indicator is used for calculating trend.

The library that contains various statistical functions including the calculation of an average value, variance, asymmetry, excess, covariation, correlation etc.

Enables the "Chart Objects Description" for non-programmers. For any open chart window.

The indicator draws (in a separate window) the Bollinger Bands relative to the moving average and projection of the price bars.

Moving Average Envelopes.

Trading signals module for MQL5 Wizard. SilverTrend_Signal indicator's color dot serves as a market entry signal.

Trading signals module for MQL5 Wizard. The moment, when ColorJFatl indicator changes its color, indicates the time for market entry.

The CFastFile eliminates the need for an intermediate writing of data to the physical file on disk. It provides the significant acceleration when working with data.

Trading signals module for MQL5 Wizard. WPRSIsignal indicator's color arrow serves as a market entry signal.

Trading signals module for MQL5 Wizard. The moment, when a candlestick formed by Candles_Smoothed changes its color, indicates the time for market entry.

Trading signals module for MQL5 Wizard. The moment, when PriceChannel_Stop indicator changes its color, indicates the time for market entry.

Trading signals module for MQL5 Wizard. The moment, when NonLagDot indicator changes its color, indicates the time for market entry.

Trading signals module for MQL5 Wizard. The moment, when the oscillator line formed by ColorLaguerre changes its color, indicates the time for market entry.

Trading signals module for MQL5 Wizard. Karacatica indicator's color arrow serves as a market entry signal.

Trading signals module for MQL5 Wizard. BykovTrend indicator's color arrow serves as a market entry signal.

Trading signals module for MQL5 Wizard. LeManSignal indicator's color dot serves as a market entry signal.

Trading signals module for MQL5 Wizard. The moment, when a bar formed by 3LineBreak changes its color, indicates the time for market entry.

Trading signals module for MQL5 Wizard. The moment, when a candlestick formed by FiboCandles changes its color, indicates the time for market entry.

Trading signals module for MQL5 Wizard. ASCtrendSignal indicator's color dot serves as a market entry signal.

Trading signals module for MQL5 Wizard. SuperTrend indicator's color dot serves as a market entry signal.

Trading signals module for MQL5 Wizard. The moment, when a candlestick formed by Heiken_Ashi_Smoothed changes its color, indicates the time for market entry.

Trading signals module for MQL5 Wizard. Go indicator's color arrow serves as a market entry signal.

Trading signals module for MQL5 Wizard. Sidus indicator's color arrow serves as a market entry signal.

Trading signals module for MQL5 Wizard. Stalin indicator's color arrow serves as a market entry signal.

Simple clock displayed via the "label" graphical object (OBJ_LABEL).

New CCalendarInputBox control element of the IncGUI library has been designed for date and/or time input.

Curvelinear redrawing channel.

The trend indicator that gives signals for performing deals. The indicator color depends on the market movement direction determined by the indicator position relative to the zero line.

The channel is based on the prices extreme values for a period. Central line, upper and lower channel borders values are determined by calculation of the Pivot Points used as assumed support and resistance levels.

The sum of Bears Power and Bulls Power technical indicators values averaged using Laguerre algorithm.

1...798081828384858687888990919293...104