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

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.

To post a new code, please log in or register
latest|best

QQE of Velocity - multi time frame

ATR adaprive EMA - multi time frame

Trading the trend - histogram

PGO TM smoothed

MFI smoothed

Choppy market index - smoothed

Anchored Momentum indicator by Rudy Stefenel was first proposed in the "Technical analysis of Stocks and Commodities" magazine in 1998.

Advanced Fractal On MA signal indicator searches for fractals of the moving average line. The indicator uses two moving averages for searching upper and lower fractals.

Increasing a position volume. Entry signal by iDeMarker (DeMarker, DeM) indicator. Regular trailing and trailing by equity.

Trading is based on iAlligator (Alligator) and iRSI (Relative Strength Index, RSI) indicators. Alligator acts as the main indicator, while RSI is used as a trend filter.

The trading system based on the XWAMI indicator signals with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system.

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

The EA waits for a gap on a specified timeframe.

Trading by RSI and Moving Average. Moving Average is used as a trend filter on H1.

Momentum indicator by Anthony W. Warren (WAMI) indicator has the form of a colored cloud and has the ability to change the smoothing algorithm and display a trend direction by color.

Wajdyss_Ichimoku_Candle indicator provides alerts, sends email and push notifications when the candles break through the Kijun Sen line (candle color changes to the opposite one).

The trading system based on the Wajdyss_Ichimoku_Candle indicator signals with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system.

The trading system based on the Open_Oscillator_Cloud indicator signals with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system.

Working with pending Buy Stop and Sell Stop orders.

A semaphore signal indicator based on a breakthrough of the Kijun Sen line by the price and displayed as candles.

Open_Oscillator_Cloud indicator with the timeframe selection option available in input parameters

Open_Oscillator indicator has the form of a colored cloud and has the ability to change the smoothing algorithm and display a trend direction by color.

DEMA_Range_Channel indicator provides alerts, sends email and push notifications when the candles break through the indicator channel.

CandleStop_System indicator provides alerts, sends email and push notifications when the candles break through the indicator channel.

Rj_SlidingRangeRj_Digit_System indicator provides alerts, sends email and push notifications when the candles break through the indicator channel.

A semaphore signal indicator based on a breakthrough of the Kijun Sen line by the price.

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

The trading system based on DEMA_Range_Channel indicator signals with the possibility to set a fixed position holding time.

The trading system based on Rj_SlidingRangeRj_Digit_System indicator signals with the possibility to set a fixed position holding time.

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

Projection Bands indicator in the form of oscillators.

Projection Bands indicator.

Market status indicator with signal lines.

The trading system based on CandleStop_System indicator signals with the possibility to set a fixed position holding time.

The trading system based on AbsolutelyNoLagLwma_Range_Channel indicator signals with the possibility to set a fixed position holding time.

The trading system based on XPeriodCandleSystem indicator signals with the possibility to set a fixed position holding time.

The signal indicator based on Momentum, CCI, ATR, RSI and ADX.

MA Lag Reduce indicator is an SMA with the ability to set the delay elimination factor.

KDJ Averages oscillator defines when it is necessary to search for market entry conditions. Unlike KDJ, it is calculated using standard smoothing methods. In case of the default settings, its J line is slightly faster.

KDJ oscillator defines when it is necessary to search for market entry conditions.

1...67891011121314151617181920...148