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

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

"Previous Candle Breakdown" Expert Advisor.

Iin_MA_Signal indicator displaying the current trend using candles color

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

NRTR type trend indicator based on exiting the channel formed by averaging High and Low of the price series

Stop loss and take profit initial setting. Trailing.

DeMarker_Histogram_Vol indicator with additional averaging of the resulting histogram

Trading system based on iADX (Average Directional Movement Index, ADX) and iAMA (Adaptive Moving Average, AMA) indicators. The system works on a new bar only.

The trading system is based on a simple neural network.

The indicator of expanding time zone corridors

HullTrend indicator with additional smoothing of the Hull moving average and rounding the values by the number of digits fixed in the input variables

The Expert Advisor based on iBullsPower (Bulls Power) and iBearsPower (Bears Power) indicators.

DeMarker_Histogram_Vol indicator with the timeframe selection option available in input parameters

The indicator of expanding time zone corridors with two corridors

Analyzing the price channel (iHighest, iLowest) for a certain period of bars.

The Expert Advisor based on ZigZag.

The channel formed on an open price of an hour set in the settings

The Expert Advisor based on iCCI (Commodity Channel Index, CCI) indicator.

The indicator of expanding time zone corridors with four corridors

The indicator of expanding time zone corridors with five corridors A formed corridor is equal to four hours, while the corridor expansion is equal to sixteen hours.

The indicator of expanding time zone corridors with background color filling and the corridor's middle line

The indicator of expanding time zone corridors with eleven corridors

The indicator of expanding time zone corridors with eleven corridors, middle line and background color filling

XDeMarker_Histogram_Vol indicator with the timeframe selection option available in input parameters

The indicator of expanding time zone corridors with eleven corridors, middle line and background color filling that features the ratio of changing the step of corridor borders expansion

The Expert Advisor based on BrainTrend1Sig indicator

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

The library allows receiving a magic number bound to three elements: symbol name, timeframe and prefix index.

The indicator measures money on a chart.

The trading system based on XDeMarker_Histogram_Vol indicator signals

BBS

Bar Based Stochastic indicator

Bar Based Stochastic indicator with histogram

Better Bollinger Band indicator

Double smoothed MACD Stochastic indicator

Fractal bar indicator

Modified Advance Decline line indicator

Grid of pending orders. The EA applies iADX (Average Directional Movement Index, ADX) indicator.

The Expert Advisor based on iMACD(). Displaying MACD values via Point().

Mogalef Bands indicator

Power measure indicator

Williams Pro-Go indicator

1...343536373839404142434445464748...183