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

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

A trading system using oscillator UltraAbsolutelyNoLagLwma.

Indicator Price Gouging Cycle.

the indicator performs an inverse mathematical transform of oscillator RSI into price and helps assume, at which approximate level the close price of the next day will be, if RSI reaches a certain value.

Indicator Volume Adjusted MA MACD.

Indicator Velocity and Acceleration MA.

Indicator Relative Spread Strength.

Navel MA.

Indicator Inverse Distance Weighted Moving Average.

Indicator Heikin-Ashi Difference.

Indicator Heikin-Ashi Open.

An indicator of the movement direction and stop.

Indicator Distance from Bollinger Bands.

A trading strategy based on indicators iBands (Bollinger Bands, BB) and iRSI (Relative Strength Index, RSI).

Two indicators ColorX2MA from different timeframes, the area between lines being filled with a cloud, the color of which corresponds with the trend direction on the market

Cutler's RSI.

Indicator Bull And Bear Balance.

Indicator Aroon.

Indicator Candle Code displays in a separate window the "code" of candlesticks as lines built on the ratio of each candle's parameters.

The indicator highlights caudate candlesticks of the "hammer" or "inverted hammer" type, the body of such candlestick being in the upper or lower half of the candlestick

Indicator WATR implemented as a sequence of candlesticks.

Indicator UltraAbsolutelyNoLagLwma with the timeframe selection option available in the input parameters

Indicator WAMI allowing changing the timeframe of the indicator in its input parameters, the space between the oscillator and its signal line being filled in color, according to the trend direction

Expert Advisor Exp_BlauTVI_Tm based on the signals of trend-following indicator BlauTVI

A trading system using oscillator BlauErgodicMDI with the option of strictly setting a trading time interval

Indicator ColorX2MA with the timeframe selection option available in the input parameters

Trend-following trading system Exp_ColorX2MA_X2 based on the signals of two indicators ColorX2MA

Moving average AbsolutelyNoLagLwma displaying the most recent values as a price label, with the possibility to round the indicator levels to a required number of digits.

Indicator Derivative additionally smoothed and made as a color histogram

Two indicators AbsolutelyNoLagLwma from different timeframes, the area between lines being filled with a cloud, the color of which corresponds with the trend direction on the market

Indicator Fisher Transform of Normalized Prices

An indicator of relative trend strength.

A.W. Warren's Momentum Indicator

A moving average with a changeable calculation period.

Indicator Trend Confirmation Index

Indicator Speed of Trade

An information-forecast MACD on the price chart

Indicator of daily ranges

Oscillator of polynomial regression slope.

An Expert Advisor based on indicator Renko Level

Indicator Normalized Acceleration/Deceleration

1...353637383940414243444546474849...168