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

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 MultiBlauTSStochasticx7Signal indicator shows information on active trends using the values of seven BlauTSStochastic indicators from different timeframes.

A semaphore arrow indicator based on the crossover of the DI+ and DI- lines of the ADX indicator.

Trading system using the RSIOMA_V2 indicator.

A trading system using the T3_TRIX indicator.

The MultiT3_TRIXx7Signal indicator shows information on active trends using the values of seven T3_TRIX indicators from different timeframes.

The indicator draws candlesticks of a larger timeframe as color filled rectangles. Rectangles are color filled in accordance with the direction of the T3_TRIX histogram.

The MultiBlauSMStochasticx7Signal indicator shows information on active trends using the values of seven BlauSMStochastic indicators from different timeframes.

The indicator draws candlesticks of a larger timeframe as color filled rectangles in accordance with the direction of the BlauSMStochastic histogram.

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

The indicator draws candlesticks of a larger timeframe as color filled rectangles in accordance with the direction of the BlauTSStochastic histogram.

The trend indicator using an oscillator algorithm drawn in the form of a colored cloud with additional indication.

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

The MultiCandleSignal indicator displays information on current trends using candlestick direction from seven different timeframes.

The TRIX indicator uses Tilson averaging.

The indicator draws rectangle candlesticks of a higher timeframe based on the values of the BrainTrend2 indicator.

The indicator draws rectangle candlesticks of a higher timeframe based on the values of the BrainTrend1 indicator.

The indicator changes color of bars in a separate window. It is changed to the color of the current trend calculated based on the RSI technical indicator.

The indicator draws averaged candlesticks of a higher timeframe as color filled rectangles using DRAW_FILLING buffers.

The indicator draws Heiken Ashi candlesticks of a higher timeframe as color filled rectangles using DRAW_FILLING buffers.

The indicator changes the bar color to the color of the current trend calculated based on the RSI technical indicator.

The indicator uses analysis of values of Heiken Ashi Open and Heiken Ashi Close.

The indicator uses analysis of values of Heiken Ashi Open and Heiken Ashi Close for a selected period.

A semaphore indicator with a ZigZag.

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

The indicator draws candlesticks of a larger timeframe as color filled rectangles.

The MACD histogram drawn on the difference of two digital filters.

A one period momentum averaged by the SMA algorithm.

The ROC indicator smoothed by Laguerre filter drawn as a color histogram.

A channel build on the values of two moving averages of High and Low, drawn as a cloud.

The indicator changes the bar color to the color of the current trend calculated based on the TDI-2 custom indicator.

A system of three Moving Averages.

The indicator is drawn as a colored cloud between a price and its double averaging.

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

An indicator of trading sessions displaying bodies and shadows of resulting session candlesticks.

The indicator implements a breakthrough system using the DarvasBoxes channel.

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

A semaphore arrow indicator that shows trend change time based on the ADX indicator.

This trading system uses the BlauErgodic oscillator.

The script allows to set transparency level of the client terminal window using Windows API.

The indicator implements a breakthrough system using Donchian_Channels.

1...686970717273747576777879808182...115