MQL5 Source Code Library for MetaTrader 5 - 185
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.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
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
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
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.
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 the spread levels and the minimum acceptable level of stop loss/take profit in points
Custom instrument of the linear regression. LR line, Support and Resistance lines values are in the buffers
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 X2MA Moving Average turned to the oscillator using the normalization of its values in the range from 0 to 100.
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
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.
The Expert Advisor is drawn on the basis of changing the direction of the MovingAverage_FN (digital hybrid and analog filtering indicator).
The Kagi chart is drawn on the main window of the currency pair and a considering timeframe