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

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

Trading system based on ColorJ2JMAStDev indicator signals.

Trading system based on ColorHMA_StDev indicator signals.

Trading system based on BinaryWave_StDev indicator signals.

Trading system based on Bezier_StDev indicator signals.

Semaphore signal indicator detecting changes in the direction of smoothed Detrended_Price_Oscillator and displaying them as signals.

Trading system based on ColorXdinMA_StDev indicator signals.

AroonHorn indicator with the timeframe selection option available in input parameters.

AroonHorn trend indicator.

Detrended_Price_Oscillator indicator with the timeframe selection option available in input parameters.

XDPO_Histogram indicator with the timeframe selection option available in input parameters.

Trading system based on XDPO_Histogram indicator signals.

The simplest oscillator based on the difference between the price and its Moving Average. The oscillator is smoothed and displayed as a color histogram.

The simplest oscillator based on the difference between the price and its Moving Average.

The channel applying the algorithm similar to the simplest zigzag.

Elliott_Wave_Oscillator_HTF_Signal shows a trend direction or a signal for performing a deal generated by Elliott_Wave_Oscillator_Sign indicator at the chosen bar as a graphic object with colored trend indication or deal direction and sends alerts or audio signals in case of a market entry moment.

AML_StDev indicator with the timeframe selection option available in input parameters.

The indicator displays a price momentum for a symbol accompanied by Fibo retracement markup.

The indicator displays a symbol price momentum.

Semaphore signal indicator based on the Elliott_Wave_Oscillator indicator algorithm.

Trading system based on Elliott_Wave_Oscillator indicator signals.

Elliott_Wave_Oscillator indicator with the timeframe selection option available in input parameters.

Elliott Waves oscillator.

NRTR_extr_HTF_Signal shows a trend direction or a signal for performing a deal generated by NRTR_extr_Sign indicator at the chosen bar as a graphic object with colored trend indication or deal direction and sends alerts or audio signals in case of a market entry moment.

NRTR_HTF_Signal shows a trend direction or a signal for performing a deal generated by NRTR_Sign indicator at the chosen bar as a graphic object with colored trend indication or deal direction and sends alerts or audio signals in case of a market entry moment.

Semaphore signal indicator using NRTR algorithm and performing calculations by HIGH and LOW.

Semaphore signal indicator using NRTR algorithm and performing calculations by CLOSE.

NRTR_extr indicator with the timeframe selection option available in input parameters.

NRTR indicator with the timeframe selection option available in input parameters.

Trading system based on NRTR_extr indicator signals.

Trading system based on NRTR indicator signals.

NRTR indicator based on HIGH and LOW.

Trading system based on WPRSIsignal indicator signals.

Trading system based on SuperTrend indicator signals.

Trading system based on StepMA_NRTR indicator signals.

PChannel3Cloud indicator with the timeframe selection option available in input parameters.

PChannel3 indicator with the timeframe selection option available in input parameters.

PChannel indicator with the timeframe selection option available in the input parameters.

Adds period separators to your window, at a time of your choice.

Accumulator of price movements. Defines the start and the end of a trend.

Regular expressions provide a formal language for quick and flexible processing of texts. Each regular expression is a pattern (mask), for which the regular expression engine tries to find matches in the source text. A pattern consists of one or more character literals, operators, or constructs.

1...252627282930313233343536373839...106