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

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 generates market entry signals based on the ADX indicator.

Trend strength indicator based on the Laguerre adaptive filter.

A non-invasive candle time that can be positioned next to price or near a corner.

This trend indicator shows the current trend direction and moments for closing of the opened position.

The indicator plots the Fibonacci retracement levels for a user-defined number of bars.

The downward crossover of T3 moving average is a signal to open a long position, the upward crossover of T3 moving average is a signal to open short position.

T3 Moving Average is based on multiple exponential smoothing of price.

Mesa Adaptive Moving Average (MAMA) indicator.

Stochastic Oscillator equivalent with a minimum lag.

Arrows&Curves shows signals to open and close positions.

Fast Trend Line Momentum (FTLM) and Slow Trend Line Momentum SLTM) indicators show the rate of price change.

Crossover of overbought/oversold levels of Chande Momentum Oscillator is used as a signal to open positions.

Chande Momentum Oscillator (CMO) is a technical indicator that attempts to capture the Momentum.

CoeffofLine indicator shows the most likely future price direction (2-3 bars).

Keltner Channel is volatility-based envelopes set above and below an exponential moving average.

Donchian Channels is a volatility indicator based on the calculation of the current price range with using the recent highest and lowest prices.

The indicator that demonstrates the power of price changes entropy.

The "Support and Resistance" indicator shows the support and resistance levels using the Fractals indicator by Bill Williams.

A Lime candle of BrainTrend2 indicator is a signal to open a long position, a Magenta candle is a signal to open a short position.

A blue candle of BrainTrend1 indicator is a signal to open a long position, a red candle is a signal to open a short position.

Aroon Oscillator predicts price changes from trend to flat market conditions.

Aroon indicator created by Tushar Chande indicates if a long-term trend is going to an end or just pausing a little before a new movement.

Perry Kaufman's adaptive moving average with indicative signal points.

BrainTrend1Stop is a trend reversal indicator.

BrainTrend1Sig is an indicator for positions opening and closing. It indicates trend reversal points when a price reaches extreme values.

Trend direction indicator BrainTrend1.

BrainTrend2Stop is a trend reversal detection indicator, it is displayed by the stops line. Intersection of the line indicates trend reversal and the time to close previously opened positions.

BrainTrend2Sig is an indicator of the market trends that assigns colors to candlesticks according to the trend direction.

BrainTrend2 is an indicator of the market trends that assigns colours to candlesticks according to the trend direction.

Ergodic DTI-Oscillator (Directional Trend Index) by William Blau.

Directional Trend Index (DTI) Indicator by William Blau.

Composite High-Low Momentum Indicator by William Blau.

Ergodic CSI-Oscillator by William Blau.

Ergodic CMI-Oscillator by Willam Blau.

Candlestick Index (CSI) Indicator by William Blau.

Candle Momentum Index (CMI) Indicator by William Blau.

Candlestick Momentum Indicator by William Blau.

Ergodic MACD Oscillator by William Blau.

Moving Averages Convergence/Divergence Indicator by William Blau.

Ergodic Mean Deviation Index (MDI) Oscillator by William Blau.

1...110111112113114115116117118119120121122123124125