MQL5 Source Code Library for the MetaTrader 5 Terminal
Want to learn the MQL5 programming language, but don't know where to start? Here you can find a lot of MQL5-programs for the MetaTrader 5 Client Terminal. Study these examples and develop your own indicators and Expert Advisors. Being published in the largest library of codes in the MQL5 language, your applications will be accessible from every MetaTrader 5 terminal and MetaEditor 5 IDE.
Your examples in MQL5 will be distributed throughout the world and hundreds of thousands of traders will learn about you!
Adaptive Moving Average (AMA) (Author: MetaQuotes)
The Adaptive Moving Average Indicator is used for constructing a moving average with low sensitivity to price series noises and is characterized by the minimal lag for trend detection.
AMkA (Author: GODZILLA)
Perry Kaufman's adaptive moving average with indicative signal points.
WININET_TEST (Author: Integer)
Here is a simple example that shows how to download page(file) from Internet using the library wininet.dll.
Angle Indicator MAs (12 types) (Author: josemiguel1812)
This indicator informs the inclination angle of the moving average curve is displayed on the screen. You can choose from 11 different types of MAs: SMA, EMA, SMMA, LWMA, DEMA, TEMA, LRMA, HMA, FRAMA, VIDYA, AMA, JMA.
XML parser (Author: yu-sha)
A library for parsing of XML documents. Pure MQL5, it doesn't uses any external libraries.
HistoryLoader (Author: MetaQuotes)
Multi-currency Expert Advisor functional module for organization of an access to any historical data with a request result processing.
spread_on_chart (Author: Forexometer)
The spread_on_chart indicator shows the current values of spread, stop and freeze levels.
Heiken-Ashi (Author: MetaQuotes)
The Heiken-Ashi indicator is looks like the candlestick chart, but it has some difference.The advantage of the Heiken-Ashi charts is a simple trend determination, the upward trend candles are blue,the downward trend candles are red.
DeMarker (DeM) (Author: MetaQuotes)
The Demarker Indicator (DeM) is based on the comparison of the period maximum with the previous period maximum. When the indicator falls below 30, the bullish price reversal should be expected. When the indicator rises above 70, the bearish price reversal should be expected.
IncStdDevOnArray (Author: Integer)
CStdDevOnArray class is designed for calculation of Standard Deviation (StdDev) on indicator buffers. The example of use of the class is provided.
Variation Index (Author: Ilnur)
Variation Index shows if a trend or a flat movement is prevailing in the time series or random behaviour.
JMA adaptive average (Author: GODZILLA)
Using JMA adaptive moving average is the best way to smooth price ranges with a minimum time lag.