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 ContinueThis is an indicator w/o buffers which demonstrates parallel multi-threaded calculations in chart objects hosting worker expert adviser.
Just for experiment and to demonstrate the possibilities of Canvas. The price is drawn in the polar coordinate system by winding circles.
Welcome to the Binary Testinator. The Purpose of this EA is for testing different Indicators to optimize a trade scenario. Everyone has an opinion on what is the best trade setup, and advice is never ending! Better if you test it out...
By using this indicator you can see the normalized price of any chart! You can use this indicator to find the divergence in the market!
The EA uses large volume orders to partially close other orders, with this approach, the breakeven and profit price is much closer to the current price than if you use all orders in the terminal or their full volumes.
This indicator predicts future price movements by searching for similar candle patterns in the rate history.
This is a demo indicator with BPNN neural network library ported from C++ to MQL.
This is a multi-currency expert adviser based on reversal strategy with martingale. Original idea is taken from ExpMartin for MT4.
This script opens a buy or sell order randomly having equally spaced take-profit and stop-loss levels.
Simplified Script to find signals based on user parameters
First script selects symbols having spread below specified value on the marketwatch, then opens corresponding charts by appyling timeframe and template stated.
This script allows a user to find out instance_id of the running MetaTrader instance/installation.
Custom Price Chart using a simple Artificial Neural Network that tries to project price movements into the future. Not very useful for trading, but fun to watch and learn ;)
Scans multiple symbols looking for when the price crosses a pivot point or when xxPoints Near or bounce off pivot then it alerts the trader.
Trend indicator similar to Ichimoku Kinko Hyo, with a number of drawing options and calculation parameters.
NELODI Trading Terminal is a collection of Indicators and an Expert Advisor, which work together to provide a complete solution for manual Trading, primarily designed for Scalping.
Separate the construction of a complex object from its representation so that the same construction process can create different representations.
Define an interface for creating an object, but let subclasses decide which class to instantiate. Lets a class defer instantiation to subclasses.
Provides an interface for creating families of related or dependent objects without specifying their concrete class.
When the subject changes, it notifies and updates its observers, who know nothing about each other.
Encapsulating a family of interchangeable algorythms which can be modified independently from the client.
Multi-asset cluster indicator taking all currencies as a sum of values forming a whole market, that is unity (1.0)
Range BreakOut EA. The range is defined by the min number of bars and max width in pips. This expert advisor is designed with visual strategy builder - Mission Automate. Code is generated automatically. More info: https://www.mql5.com/en/articles/4951
Grid system with limit orders. This expert advisor is designed with visual strategy builder - Mission Automate. Code is generated automatically. More info: https://www.mql5.com/en/articles/4951
Classic strategy based on Parabolic SAR indicator. With Auto Lot options and Trailing Stop. This expert advisor is designed with visual strategy builder - Mission Automate. Code is generated automatically. More info: https://www.mql5.com/en/articles/4951