MQL5 Source Code Library for MetaTrader 5 - 117
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.
Keltner Channel built relative to the average value of the MomentumCandle oscillator as a sequence of candlesticks
The indicator plots price channel and Fibonacci levels based on the latest NRTR_extr_ZigZag peaks
The indicator plots price channel and Fibonacci levels based on the latest NRTR_ZigZag peaks
The Expert Advisor increases the lot size after each of profitable deal, if it was preceded by losing trades. Martingale.
How many buffers does your indicator use? What's it calculating? Is it efficient? If you want to know what's going on behind the scenes, you'll now be able to.
Example of Buy Limit & Sell Limit pending orders with Bollinger Bands.
A Keltner Channel drawn relative to the average value of the Larry Williams' Percent Range oscillator as a sequence of candlesticks
The NRTR_extr_ZigZag indicator with the timeframe selection option available in the input parameters
The NRTR_ZigZag indicator with the timeframe selection option available in the input parameters.
The MFI_price indicator with the timeframe selection option available in the input parameters.
The Expert Advisor solves the problem of position trailing along a given curve by moving its Stop Loss and Take Profit.
This is a standard StdDev indicator with an additional feature, which changes the line color depending on its values. When the value increases, the line color is painted in green; when it falls, the line becomes red; if values stay the same over several periods, the line color stays yellow.
A Keltner Channel drawn relative to the average value of the MFI oscillator as a sequence of candlesticks
The trading system is based on direction changes of the wighted oscillator WeightOscillator
An example of receiving the High and Low prices of bars over the past 24 hours.
The library allows to automatically assign 'magic' to an Expert Advisor on any symbol and any timeframe. It allows having up to 65535 magic numbers in one Expert Advisor.
The IBS_RSI_CCI_v4 indicator with the timeframe selection option available in the input parameters
The strategy uses two indicators Moving Average, MA with different periods, Commodity Channel Index, CCI and Williams’ Percent Range, %R.
The strategy is based on two indicators: ADX and MA, and the close of the first bar. Also, different TakeProfit, StopLoss and Trailing levels are used for Buy and Sell.
An assessment is made based on the values of five indicators (Gator, WPR, AC, DeMarker and RSI). Uses trapezoidal membership functions. Before sending a trade request, it checks if funds on the account are enough.