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.
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.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Enable two-factor authentication ContinueThe indicator is drawn as a colored cloud between the lines of a fast digital filter and the price.
The indicator draws candlesticks of a larger timeframe as color filled rectangles in accordance with the values of the StepMA_Stoch_KV1 indicator.
The MultiHighsLowsSignal indicator shows information on active trends using the values of seven HighsLowsSignal indicators from different timeframes.
The indicator implements a breakthrough system using a channel drawn on extrema for a period.
The indicator is designed to show how the seven major currencies have moved against the US dollar.
The indicator counts Bull and Bear candles in Bar_Period bars and calculates percent.
The EA shows information on available trading signals' features, allows to manage their copying settings, as well as subscribe to and unsubscribe from signal copying.
Fast FrAMA, in contrast to the version from MQL5 suite, has more wide applied price constant choose and, what's the main difference, calculation speed is increased by a factor of 30 to 100.
A script to place straddle orders around current price level to catch price spikes around announcements.
This technical indicator detects constant price zones and draws resistance and support lines.
Example code on how to draw an horizontal line for maximum and minimum prices of the last 2 years.
The purpose of the present code is to demonstrate how easy it is to create color scales, color gradients and heatmaps with the MQL5 language and functions.
The HighsLowsSignal indicator with the timeframe selection option available in input parameters.
The StochasticCGOscillator indicator with the timeframe selection option available in input parameters.
The Exp_StochasticCGOscillator EA is based on the signals generated by the StochasticCGOscillator oscillator.
The Exp_ColorTSI-Oscillator EA is based on the signals generated by the ColorTSI-Oscillator oscillator.
A semaphore signal indicator determining the moments of a directional price change on several bars, the number of bars is specified in the indicator input parameters.
The StepMA_Stoch_KV1_Signal indicator shows information on the current trend using the values of the StepMA_Stoch_KV1 indicator with a fixed timeframe.
The StepMA_Stoch_KV1 indicator with the timeframe selection option available in input parameters.
The AsymmetricStochNR indicator with the timeframe selection option available in input parameters.
The indicator shows the minimum price for the period specified in the input parameters of the indicator, taking into account the timeframe, in which the price was searched for.
The indicator shows the maximum price for the period specified in the input parameters of the indicator, taking into account the timeframe, in which the price was searched for.
The indicator shows the minimum price for the period fixed in the input parameters of the indicator.
The indicator shows the maximum price for the period specified in the input parameters of the indicator.