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

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 Slow-Stoch indicator with the timeframe selection option available in input parameters.

Smooth Stochastic.

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

Stochastic Momentum from the book "Momentum, Direction and Divergence" by William Blau implemented in the form of a color histogram with a signal line in the form of a colored cloud.

A trend indicator drawn in the form of a histogram.

A trend indicator that uses Standard Deviation.

A colored cloud drawn on the difference of smoothed lines PLUSDI and MINUSDI of the ADX indicator.

A trading system using the BW-wiseMan-1 semaphore signal indicator.

Three CMx oscillators with three different timeframes on one chart.

This indicator combines two MAs, CCI, ADX and Fibo levels.

A library of GUI Controls.

A trading system using the AltrTrend_Signal_v2_2 semaphore signal indicator.

Semaphore signal indicator, based on Bill Williams' Alligator indicator.

Pivot Points indicator.

Trading system using the Digital_MACD indicator.

The ZigZag indicator using Joe DiNapoli algorithm.

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.

1...838485868788899091929394959697...130