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

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

Four moving averages based on the averaged values ​​of Open, Low, High and Close of a candlestick chart.

A set of Pivot levels.

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

This trading system uses the BlauTSStochastic oscillator.

A widely used indicator with two CCI from different periods.

A semaphore arrow signal indicator. The indicator puts colored dots at times when you can trade.

A trend indicator drawn in the form of a colored histogram.

Indicator UltraWPR with the timeframe selection option available in input parameters.

A trend indicator with three states. During strong trends it colors bars in red or green depending on trend direction.

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

William Blau's Stochastic Oscillator implemented as a color histogram with a signal line in the form of a colored cloud.

Indicator Awesome_Signal with the timeframe selection option available in input parameters.

Indicator Accelerator_Signal with the timeframe selection option available in input parameters.

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

UltraWPR_HTF_Signal_BG shows information about trend direction based on the data of the UltraWPR indicator on a selected bar as a graphic object with a colored indication of trend or deal direction and gives alerts or audio signals and sends push notifications to a smartphone.

A trend detecting indicator drawn in the form of a colored cloud.

A semaphore signal indicator that uses an MACD histogram.

Three DeMarker oscillators with three different timeframes on one chart.

Bill Williams' Accelerator with the possibility of fine-tuning and an additional signal line in the form of a colored cloud.

Bill Williams' Awesome Oscillator with the possibility of fine-tuning and an additional signal line in the form of a colored cloud.

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

Trading system using the BlauTStochI indicator.

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

Stochastic Oscillator (based on Stochastic Momentum) from the book "Momentum, direction and divergence" by William Blau, implemented in the form of a color histogram with a signal line implemented as a colored cloud.

The trend indicator drawn in the form of the colored cloud.

Several envelopes with fixed shifts.

Fisher transformation based histogram with two averages in the form of signal lines.

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

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

An optimized version of the InverseReaction indicator, which operates at a maximum speed in the IREA Expert Advisor.

Shows the relative change of the current price from the price N/M bars ago.

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

The Fractal Dimension Index determines the amount of market volatility.

An MA-based trend filter in the form of a colored cloud.

This trading system uses the BlauErgodicMDI oscillator.

Q-period Stochastic Index indicator from the book "Momentum, direction and divergence" by William Blau, implemented in the form of a color histogram.

The indicator plots three equidistant channels with the calculation periods defined in input parameters.

The indicator plots an equidistant channel with the calculation period defined in input parameters.

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

X2MA_HTF_Signal_BG shows information about trend direction (based on the X2MA indicator data) as a graphic object with a colored indication of trend or deal direction and gives alerts or audio signals and sends push notifications to a smartphone.

1...96979899100101102103104105106107108109110...141