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

icon

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.

Submit your code
latest | best

Three independent trading systems using BrainTrend_V2, AbsolutelyNoLagLWMA and X2MACandle indicators within a single EA with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system

Williams’ Percent Range oscillator displayed as a color histogram, using volumes

The indicator defines Harami patterns and features alerts, emails and push notifications

WPR_Histogram_Vol indicator with the timeframe selection option available in input parameters

The indicator paints candles going beyond the TimeZonePivots channel

The Expert Advisor compares Close prices

X MA Sum Average indicator

MA Trend indicator

Generalized double DEMA

Average from MA indicator

Generalized DEMA

Connors RSI indicator

Simple Decycler indicator

Decycler Oscillator indicator

Directional Volatility indicator

Converts a number to a text.

CCI_Histogram_Vol indicator with the timeframe selection option available in input parameters

The trading system based on i-AnyRangeCldTail_System indicator signals with the possibility to set a fixed position holding time

A semaphore signal indicator that uses crossings of two Moving Averages

CCI_Histogram_Vol indicator with additional averaging of the resulting histogram

RSI_Histogram_Vol indicator with additional averaging of the resulting histogram

The EA based on iMACD (Moving Average Convergence/Divergence, MACD) and iStochastic (Stochastic Oscillator).

StepMA_3D_v3 indicator fills the space between the medium and slow trend with color and paints the fast trend line depending on its location

The trading system based on Iin_MA_Signal indicator signals

XRSI_Histogram_Vol indicator with the timeframe selection option available in input parameters

XCCI_Histogram_Vol indicator with the timeframe selection option available in input parameters

DeMarker oscillator displayed as a color histogram, using volumes

The StepMA_3D_v3 indicator with the timeframe selection option available in the indicator input parameters

Iin_MA_Signal semaphore signal indicator features alerts, emails and push notifications

RSI_Histogram_Vol indicator in the candlestick form

CCI_Histogram_Vol indicator in the candlestick form

XRSI_Histogram_Vol indicator shows direction of the histogram bars movement using colored icons on these bars

Renko charts on custom symbols

XCCI_Histogram_Vol indicator shows direction of the histogram bars movement using colored icons on these bars

CCI_Candle_Vol indicator with additional averaging of the resulting candles

RSI_Candle_Vol indicator with additional averaging of the resulting candles

Flat/trend indicator.

EA based on FlatTrend indicator. You can also include working time.

TrendManager indicator with the timeframe selection option available in input parameters

Defining a signal based on several indicators: iMA (Moving Average, MA), iMACD (Moving Average Convergence/Divergence, MACD), iStochastic (Stochastic Oscillator), iOsMA (Moving Average of Oscillator, OsMA) and iAO (Awesome Oscillator, AO). The indicators are surveyed in a certain sequence.

1...262728293031323334353637383940...176