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

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
TAI

Indicator Trend Analysis Index.

Stochastic relative strength index increases the sensitivity of RSI (Relative Strength Index), the disadvantage of which is fluctuation between boundary lines and no signals to open a position.

Indicator "Range Indicator."

A signal indicator of daily ranges.

Oscillator PAIN (Price Action Indicator).

NV

NV (Natenberg's Volatility) - Sheldon Natenberg's historical volatility indicator.

IMI

Indicator Intraday Momentum Index.

CVI

Oscillator CVI (Chartmill Value Indicator).

APZ

Indicator APZ (Adaptive Price Zone) represents an adaptive price channel.

AML

Indicator AML (Adaptive Market Level) displays one of three market states: Flat, uptrend, and downtrend.

ZLS

Indicator ZLS (Zero Lag Stochastic) - a zero-delay stochastic - a ratio of several stochastics with different periods %К, deceleration, and weights.

A simple include file to print out the values and names of variables.

A trend-following trading system Exp_WAMI_Cloud_X2 based on the sisgnals of two indicators WAMI.

The AbsolutelyNoLagLwma_Digit moving average which fills the chart space with a colored background.

Indicator AbsolutelyNoLagLwma_Digit with the timeframe selection option available in its input parameters.

A utility for closing (reducing the right side of the length) the rectangles.

Indicator CaudateXPeriodCandle in the main chart, highlighting with colored points caudate candlesticks of the "Hammer" and "Reversed Hammer" types only.

An Expert Advisor based on iFractals (Fractals) and on custom indicator ExVol.

Indicator CaudateXPeriodCandle in the main chart

An indicator that draws the CaudateXPeriodCandle candlestick sizes in points.

Synthetic Japanese candlesticks over the period predefined in the indicator settings, calculating on each bar, averaging the price timeseries used in the indicator, and highlighting caudate candlesticks.

Synthetic Japanese candlesticks over the period predefined in the indicator settings, calculating on each bar and averaging the price timeseries used in the indicator.

Synthetic Japanese candlesticks over the period defined in the indicator settings, calculating on each bar.

A trading system based on the signals of indicator ColorXDerivative.

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

A trading system based on the tick volume of bars.

A trading system using oscillator UltraAbsolutelyNoLagLwma.

PGC

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.

RSS

Indicator Relative Spread Strength.

NMA

Navel MA.

Indicator Inverse Distance Weighted Moving Average.

Indicator Heikin-Ashi Difference.

Indicator Heikin-Ashi Open.

An indicator of the movement direction and stop.

DBB

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

1...525354555657585960616263646566...185