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

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

Another variation on Moving Averages...

The breakthrough system with the CorrectedAverage Moving Average.

A trend indicator which determines its values based on the signals taken from the LRMA Moving Average and a group of its signal lines whose periods change in the arithmetic progression.

A trend indicator which determines its values based on the signals with the group of Moving Averages whose periods change in the arithmetic progression.

The script calculates Pivot Point on all the symbols from the market watch and displays the results in html-file.

A trend indicator which determines its values based on the signals taken from the Williams' Percent Range indicator and group of its signal lines whose periods change in the arithmetic progression.

The Dynamic Support/Resistance indicator for MetaTrader

The indicator displays three variants of time in the chart: local, server and GMT!

The class is designed for calculation of a technical indicator Average Directional Movement Index Wilder (Average Directional Movement Index Wilder, ADX Wilder) using the algorithm of the ring buffer.

The class is designed for calculation of a technical indicator Average Directional Movement Index (Average Directional Movement Index, ADX) using the algorithm of the ring buffer.

The class is designed for calculation of the Average True Range indicator (Average True Range, ATR) using the algorithm of the ring buffer.

The Exp_ColorTrend_CF trading system is based on change of the trend direction displayed by the ColorTrend_CF indicator

Initial library of combinatorics functions.

The class is designed for calculation of Moving Averages (Moving Average) using the algorithm of the ring buffer.

The class allows to organize the mini time series, indicator minibuffers, short sized buffers to store intermediate stream data inside the Expert Advisor or indicator.

The Exp_ColorLeManTrend trading system is based on changes of the trend direction displayed by the ColorLeManTrend indicator

Disparity Index (difference index) displays the difference between the close price and chosen Moving Averages in percentage. It is recommended to use in combination with the other candlestick models

A trend indicator drawn on the basis of the advanced Keltner channel.

The renko (renko) chart in a separate subwindow. No matter on what chart timeframe the indicator is attached, the renko is drawn on close price of М1 timeframe.

The Expert Advisor drawn on the basis of the change of direction of the ColorMomentum_AMA indicator.

The trend indicator drawn on the basis of the Bollinger Bands.

Delta ZigZag defines the reversal on a minimal height of the swing and also identifies trend on breakthrough of local minimum/maximum levels and colors zigzag sections in current trend color

The indicator displays trend force and direction

The trend indicator that displays possible rollback option

The indicator displays the spread levels and the minimum acceptable level of stop loss/take profit in points

The indicator displays the breakthrough line

Trading system based on the signals taken from the ColorStochNR oscillator

The drawing of this Moving Average is based on Demark's method "Daily Range Projections".

Custom instrument of the linear regression. LR line, Support and Resistance lines values are in the buffers

Trading system drawn on the basis of the signals taken from the OsHMA histogram.

A semaphore, signal indicator drawn on the basis of the values ​​of the Accelerator of Bill Williams with sending alerts, push-notifications and e-mail messages

The indicator of Peak Price Values.

The X2MA Moving Average turned to the oscillator using the normalization of its values in the range from 0 to 100.

This indicator displays the market activity in percentage

A volatility indicator displays the amount of the corridor price movements for N period in points

The Aggressiveness indicator displays how many points the instrument runs on the average for one candlestick

Four parabolic indicators at one time!

The class realizes generalized regression network (General Regression Neural Network - GRNN)

The class realizes the probabilistic neural network (Probabilistic Neural Network - PNN)

ATR MA Oscillator is the oscillator drawn on the basis of the difference between the ATR oscillator and its signal line.

1...142143144145146147148149150151152153154155156...176