Find us on Facebook!
Join our fan page

Use new possibilities of MetaTrader 5

History of MQL5.community development

The most popular trading robots and technical indicators, news signals, regular incoming ready-made MQL5 programs in CodeBase and the most discussed Forum topics.

Published article "Artificial Bee Hive Algorithm (ABHA): Tests and results".

Artificial Bee Hive Algorithm (ABHA): Tests and results

In this article, we will continue exploring the Artificial Bee Hive Algorithm (ABHA) by diving into the code and considering the remaining methods. As you might remember, each bee in the model is represented as an individual agent whose behavior depends on internal and external information, as well as motivational state. We will test the algorithm on various functions and summarize the results by presenting them in the rating table.

Published article "Feature Engineering With Python And MQL5 (Part III): Angle Of Price (2) Polar Coordinates".

Feature Engineering With Python And MQL5 (Part III): Angle Of Price (2) Polar Coordinates

In this article, we take our second attempt to convert the changes in price levels on any market, into a corresponding change in angle. This time around, we selected a more mathematically sophisticated approach than we selected in our first attempt, and the results we obtained suggest that our change in approach may have been the right decision. Join us today, as we discuss how we can use Polar coordinates to calculate the angle formed by changes in price levels, in a meaningful way, regardless of which market you are analyzing.

Published article "Developing a Replay System (Part 58): Returning to Work on the Service".

Developing a Replay System (Part 58): Returning to Work on the Service

After a break in development and improvement of the service used for replay/simulator, we are resuming work on it. Now that we've abandoned the use of resources like terminal globals, we'll have to completely restructure some parts of it. Don't worry, this process will be explained in detail so that everyone can follow the development of our service.

Published article "Price Action Analysis Toolkit Development (Part 11): Heikin Ashi Signal EA".

Price Action Analysis Toolkit Development (Part 11): Heikin Ashi Signal EA

MQL5 offers endless opportunities to develop automated trading systems tailored to your preferences. Did you know it can even perform complex mathematical calculations? In this article, we introduce the Japanese Heikin-Ashi technique as an automated trading strategy.

The most downloaded free products:

12 new signals now available for subscription:

AUDCAD KING
468% 847 trades
Growth:467.81%
Equity:740.62USD
Balance:898.85USD
NXTrade 20
211% 2377 trades
Growth:210.54%
Equity:20,532.49USD
Balance:22,000.45USD
GOLD Scalping Scorpion V1 M5
201% 2315 trades
Growth:200.65%
Equity:10.00USD
Balance:10.00USD
and 9 more...

Bestsellers in the Market:

There are more than 34,040 products available in Market

12 new topics on forum:

and 9 more...

The most popular forum topics:

The most downloaded free products:

Bestsellers in the Market:

More than 400 new charts published:

График NAS100+, M15, 2025.02.05 16:45 UTC, STARTRADER International PTY Limited, MetaTrader 4, Real
NAS100+, M15
차트 GOLD, H4, 2025.02.04 19:35 UTC, InstaForex, MetaTrader 4, Real
GOLD, H4
Chart XAG_USD, H1, 2/5/2025 6:08 AM UTC, BenchMark Finance AD, MetaTrader 4, Real
XAG_USD, H1

8 new signals now available for subscription:

A Pro
103% 130 trades
Growth:103.40%
Equity:1,938.78USD
Balance:2,040.74USD
Azazello
81% 3600 trades
Growth:80.97%
Equity:7,335.31USD
Balance:7,335.31USD
LQ666666
66% 15392 trades
Growth:65.80%
Equity:15,835.59USD
Balance:15,880.29USD
and 5 more...

8 new topics on forum:

and 5 more...

Published article "Custom Indicator: Plotting Partial Entry, Exit and Reversal Deals for Netting Accounts".

Custom Indicator: Plotting Partial Entry, Exit and Reversal Deals for Netting Accounts

In this article, we will look at a non-standard way of creating an indicator in MQL5. Instead of focusing on a trend or chart pattern, our goal will be to manage our own positions, including partial entries and exits. We will make extensive use of dynamic matrices and some trading functions related to trade history and open positions to indicate on the chart where these trades were made.

Published article "Artificial Bee Hive Algorithm (ABHA): Theory and methods".

Artificial Bee Hive Algorithm (ABHA): Theory and methods

In this article, we will consider the Artificial Bee Hive Algorithm (ABHA) developed in 2009. The algorithm is aimed at solving continuous optimization problems. We will look at how ABHA draws inspiration from the behavior of a bee colony, where each bee has a unique role that helps them find resources more efficiently.

Published article "Trend Prediction with LSTM for Trend-Following Strategies".

Trend Prediction with LSTM for Trend-Following Strategies

Long Short-Term Memory (LSTM) is a type of recurrent neural network (RNN) designed to model sequential data by effectively capturing long-term dependencies and addressing the vanishing gradient problem. In this article, we will explore how to utilize LSTM to predict future trends, enhancing the performance of trend-following strategies. The article will cover the introduction of key concepts and the motivation behind development, fetching data from MetaTrader 5, using that data to train the model in Python, integrating the machine learning model into MQL5, and reflecting on the results and future aspirations based on statistical backtesting.

Published article "Neural Networks in Trading: Reducing Memory Consumption with Adam-mini Optimization".

Neural Networks in Trading: Reducing Memory Consumption with Adam-mini Optimization

One of the directions for increasing the efficiency of the model training and convergence process is the improvement of optimization methods. Adam-mini is an adaptive optimization method designed to improve on the basic Adam algorithm.

The most downloaded free products:

15 new signals now available for subscription:

GB mm4
149% 346 trades
Growth:148.95%
Equity:183.12USD
Balance:183.12USD
KORELASI FOREX
87% 75 trades
Growth:86.52%
Equity:499.59USD
Balance:499.59USD
AlpariB723153Bi
80% 153 trades
Growth:80.45%
Equity:319.01USD
Balance:346.93USD
and 12 more...

Most downloaded source codes this month

  • Surfing - 2 EMA strategy This is a pretty simple startegy that follows trend. Recommended time frams is D1. when close price brakes up the EMA build based on high prices given that RSI is above 55 and RSI is above its Moving average - we buy. when close price brakes down the EMA build based on low prices given that RSI is below 45 and RSI is below its moving average - we sell. system closes previose trade if there is opposite signal system uses take profit and stop loss as well as trailing stop
  • BollingerBandsEA BollingerBandsEA trades according to Bollinger Bands.
  • MQL5 Programming for Traders – Source Codes from the Book. Part 7 The final seventh part of the book discusses the advanced capabilities of the MQL5 API, which will be useful when developing programs for MetaTrader 5. These include custom financial symbols, built-in economic calendar events, and general-purpose technologies such as networking, databases, and cryptography.

Most read articles this month

How to earn money by fulfilling traders' orders in the Freelance service

How to earn money by fulfilling traders' orders in the Freelance service

MQL5 Freelance is an online service where developers are paid to create trading applications for traders customers. The service has been successfully operating since 2010, with over 100,000 projects completed to date, totaling $7 million in value. As we can see, a substantial amount of money is involved here.

How to purchase a trading robot from the MetaTrader Market and to install it?

How to purchase a trading robot from the MetaTrader Market and to install it?

A product from the MetaTrader Market can be purchased on the MQL5.com website or straight from the MetaTrader 4 and MetaTrader 5 trading platforms. Choose a desired product that suits your trading style, pay for it using your preferred payment method, and activate the product.

MetaTrader 5 on Linux

MetaTrader 5 on Linux

In this article, we demonstrate an easy way to install MetaTrader 5 on popular Linux versions — Ubuntu and Debian. These systems are widely used on server hardware as well as on traders’ personal computers.

9 new topics on forum:

and 6 more...

Bestsellers in the Market:

Published article "Build Self Optimizing Expert Advisors in MQL5 (Part 5): Self Adapting Trading Rules".

Build Self Optimizing Expert Advisors in MQL5 (Part 5): Self Adapting Trading Rules

The best practices, defining how to safely us an indicator, are not always easy to follow. Quiet market conditions may surprisingly produce readings on the indicator that do not qualify as a trading signal, leading to missed opportunities for algorithmic traders. This article will suggest a potential solution to this problem, as we discuss how to build trading applications capable of adapting their trading rules to the available market data.

Published article "Developing a Replay System (Part 57): Understanding a Test Service".

Developing a Replay System (Part 57): Understanding a Test Service

One point to note: although the service code is not included in this article and will only be provided in the next one, I'll explain it since we'll be using that same code as a springboard for what we're actually developing. So, be attentive and patient. Wait for the next article, because every day everything becomes more interesting.

New publications in CodeBase

  • Smart Trend Follower This EA is designed to automatically follow market trends using signals from the Moving Average and Stochastic Oscillator indicators. The EA detects buy and sell signals by utilizing MA crossovers and confirms the trend with Stochastic. Additionally, the EA includes automatic position management, such as setting Take Profit, Stop Loss, and lot size doubling to enhance trading effectiveness in trending markets.
  • Trade Assistant MT5 Trade Assistant MetaTrader indicator — a multi-timeframe indicator that is based on three standard indicators: Stochastic oscillator, RSI (Relative Strength Index), and CCI (Commodity Channel Index). It displays current trend directions for M1, M5, M15, M30, H1, H4, D1, W1, and MN1 timeframes. When you follow such an indicator you have a clear picture of the trends across all important timeframes. It doesn't matter which timeframe you attach this indicator to. The indicator can be downloaded for MT4 and MT5.
  • Trade Assistant MT4 Trade Assistant MetaTrader indicator — a multi-timeframe indicator that is based on three standard indicators: Stochastic oscillator, RSI (Relative Strength Index), and CCI (Commodity Channel Index). It displays current trend directions for M1, M5, M15, M30, H1, H4, D1, W1, and MN1 timeframes. When you follow such an indicator you have a clear picture of the trends across all important timeframes. It doesn't matter which timeframe you attach this indicator to. The indicator can be downloaded for MT4 and MT5.

The most downloaded free products:

Bestsellers in the Market:

More than 300 new charts published:

Grafik !STANDARD_X, M5, 2025.02.02 16:05 UTC, Just Global Markets Ltd., MetaTrader 5, Demo
!STANDARD_X, M5
Chart NAS100, M1, 2/3/2025 3:46 PM UTC, Pepperstone Markets Kenya Limited, MetaTrader 4, Real
NAS100, M1
Chart !STD_XAUUSD, M5, 2/2/2025 2:43 PM UTC, Just Global Markets Ltd., MetaTrader 4, Demo
!STD_XAUUSD, M5
There are more than 33,980 products available in Market

18 new signals now available for subscription:

Reaper high risk
700% 946 trades
Growth:700.25%
Equity:4,260.07USD
Balance:4,260.07USD
Nonamesignal
113% 156 trades
Growth:112.95%
Equity:3,773.21USD
Balance:4,311.52USD
Eko High Risk 01
111% 53 trades
Growth:111.19%
Equity:1,414.82USD
Balance:1,414.82USD
and 15 more...
There are more than 149,060 topics available on forum

7 new topics on forum:

and 4 more...

The most popular forum topics:

There are more than 1,980 articles published on site

Published article "Automating Trading Strategies in MQL5 (Part 5): Developing the Adaptive Crossover RSI Trading Suite Strategy".

Automating Trading Strategies in MQL5 (Part 5): Developing the Adaptive Crossover RSI Trading Suite Strategy

In this article, we develop the Adaptive Crossover RSI Trading Suite System, which uses 14- and 50-period moving average crossovers for signals, confirmed by a 14-period RSI filter. The system includes a trading day filter, signal arrows with annotations, and a real-time dashboard for monitoring. This approach ensures precision and adaptability in automated trading.

New publications in CodeBase

  • Portable Moving Average Calculate a moving average in one function call. Code that can easily be transported between different projects.
  • Total Power Indicator MT5 Total Power Indicator (MetaTrader indicator) — is based on the two standard indicators — Bear Power and Bull Power. The indicator calculates how many bullish and bearish bars were there during a given look-back period and then calculates the proportional index for bears, bulls, and total (calculated as the absolute difference between bulls and bears) for the current bar. This way, we get continuous lines of the relative average bear and bull power over a period, removing the main disadvantage of the original Bear/Bull Power indicators — the lack of a long-term perspective. The original MetaTrader 4 version of Total Power Indicator was created by Daniel Fernandez of Asirikuy.com in 2011. The version for MT5 is now also available.
  • TD Sequential Ultimate MT5 TD Sequential Ultimate MetaTrader indicator shows all parts of the TD Sequential method developed by the legendary technical analyst, Tom DeMark. TD Sequential Ultimate displays Buy and Sell Setups, including the Setup Perfection arrows, Buy and Sell Countdowns, including the failed count 13 attempts, and TDST Support and Resistance levels. Unlike many other implementations of the TD Sequential method, this indicator offers multiple improvements:
  • Coppock MT5 indicator Coppock MetaTrader indicator — is an implementation of the famous Coppock curve indicator first created by Edward Coppock in 1962. The indicator shows long-term buy and sell opportunities (classically, it is used for only buying) by measuring the weighted moving average (with a period of 10) of the sum of two rates of change (with a period of 14 and 11). It is the classical version. In this MetaTrader version, you can modify the parameters of the basic indicators. You can use this Coppock indicator in MT4 and MT5.
  • Support and Resistance MT5 Support and Resistance MetaTrader indicator — as the name of this indicator suggests, it displays the support and resistance levels. It shows them directly on the chart, providing an easy help when you want to set stop-loss or take-profit level, or when you want to see the next market target. This indicator uses the standard MetaTrader Fractals indicator (by Bill Williams' method) and has no changeable input parameters. This indicator is available for MetaTrader version 4 and 5.
  • Spread indicator MT5 Spread MetaTrader indicator — displays current spread in the main window of the chart. You can modify the font parameters, indicator's position and the normalization of the spread value. The spread is redrawn after each tick, ensuring the most current and active spread value. This can be useful for brokers with variable spreads or with spreads that are widened often. You can also enable a spread label to be shown near the current Bid line. The indicator is available for both MT4 and MT5.
  • Total Power Indicator MT4 Total Power Indicator (MetaTrader indicator) — is based on the two standard indicators — Bear Power and Bull Power. The indicator calculates how many bullish and bearish bars were there during a given look-back period and then calculates the proportional index for bears, bulls, and total (calculated as the absolute difference between bulls and bears) for the current bar. This way, we get continuous lines of the relative average bear and bull power over a period, removing the main disadvantage of the original Bear/Bull Power indicators — the lack of a long-term perspective. The original MetaTrader 4 version of Total Power Indicator was created by Daniel Fernandez of Asirikuy.com in 2011. The version for MT5 is now also available.
  • TD Sequential Ultimate MT4 TD Sequential Ultimate MetaTrader indicator shows all parts of the TD Sequential method developed by the legendary technical analyst, Tom DeMark. TD Sequential Ultimate displays Buy and Sell Setups, including the Setup Perfection arrows, Buy and Sell Countdowns, including the failed count 13 attempts, and TDST Support and Resistance levels. Unlike many other implementations of the TD Sequential method, this indicator offers multiple improvements:
  • Support and Resistance MT4 Support and Resistance MetaTrader indicator — as the name of this indicator suggests, it displays the support and resistance levels. It shows them directly on the chart, providing an easy help when you want to set stop-loss or take-profit level, or when you want to see the next market target. This indicator uses the standard MetaTrader Fractals indicator (by Bill Williams' method) and has no changeable input parameters. This indicator is available for MetaTrader version 4 and 5.
  • Spread indicator MT4 Spread MetaTrader indicator — displays current spread in the main window of the chart. You can modify the font parameters, indicator's position and the normalization of the spread value. The spread is redrawn after each tick, ensuring the most current and active spread value. This can be useful for brokers with variable spreads or with spreads that are widened often. You can also enable a spread label to be shown near the current Bid line. The indicator is available for both MT4 and MT5.

Published article "From Basic to Intermediate: Variables (II)".

From Basic to Intermediate: Variables (II)

Today we will look at how to work with static variables. This question often confuses many programmers, both beginners and those with some experience, because there are several recommendations that must be followed when using this mechanism. The materials presented here are intended for didactic purposes only. Under no circumstances should the application be viewed for any purpose other than to learn and master the concepts presented.

Published article "Chaos theory in trading (Part 2): Diving deeper".

Chaos theory in trading (Part 2): Diving deeper

We continue our dive into chaos theory in financial markets. This time I will consider its applicability to the analysis of currencies and other assets.

The most downloaded free products:

Bestsellers in the Market:

10 new topics on forum:

and 7 more...

Most downloaded source codes this week

  • MQL5 Programming for Traders – Source Codes from the Book. Part 1 The first chapter of the book introduces the MQL5 language and development environment. One of the new features introduced in the MQL5 language compared to MQL4 (MetaTrader 4 language) is support for object-oriented programming (OOP), which makes it similar to C++.
  • MQL5 Programming for Traders – Source Codes from the Book. Part 7 The final seventh part of the book discusses the advanced capabilities of the MQL5 API, which will be useful when developing programs for MetaTrader 5. These include custom financial symbols, built-in economic calendar events, and general-purpose technologies such as networking, databases, and cryptography.
  • MQL5 Programming for Traders – Source Codes from the Book. Part 3 Part 3 "Object Oriented Programming in MQL5" offers an immersion into the world of object-oriented programming (OOP) in the MQL5 language. Software development often involves the complexity related to the management of multiple entities, requiring advanced technology to improve programming convenience, productivity, and quality.

Most read articles this week

How to purchase a trading robot from the MetaTrader Market and to install it?

How to purchase a trading robot from the MetaTrader Market and to install it?

A product from the MetaTrader Market can be purchased on the MQL5.com website or straight from the MetaTrader 4 and MetaTrader 5 trading platforms. Choose a desired product that suits your trading style, pay for it using your preferred payment method, and activate the product.

Build Self Optimizing Expert Advisors in MQL5 (Part 4): Dynamic Position Sizing

Build Self Optimizing Expert Advisors in MQL5 (Part 4): Dynamic Position Sizing

Successfully employing algorithmic trading requires continuous, interdisciplinary learning. However, the infinite range of possibilities can consume years of effort without yielding tangible results. To address this, we propose a framework that gradually introduces complexity, allowing traders to refine their strategies iteratively rather than committing indefinite time to uncertain outcomes.

MetaTrader 5 on Linux

MetaTrader 5 on Linux

In this article, we demonstrate an easy way to install MetaTrader 5 on popular Linux versions — Ubuntu and Debian. These systems are widely used on server hardware as well as on traders’ personal computers.

8 new signals now available for subscription:

Quantum Gold
74% 224 trades
Growth:74.02%
Equity:1,150.47USD
Balance:1,150.47USD
Allxaubtc
49% 1326 trades
Growth:48.64%
Equity:876.17USD
Balance:876.17USD
MS pattern and level
9% 105 trades
Growth:9.16%
Equity:10,919.75USD
Balance:10,916.32USD
and 5 more...

New publications in CodeBase

  • Schaff Trend Cycle MT5 Schaff Trend Cycle (MetaTrader indicator) — is a cyclical oscillator created by calculating the stochastic over stochastic over a MACD line using cycles. The result is the improved version of the oscillator that is not choppy during the trends and reacts to the changes very fast. It was developed by Doug Schaff, who assumed that the currency trends accelerate and decelerate in cycles. Its algorithm was made public in 2008. Schaff Trend Cycle tries to combine two different methods of determining the trend direction changes — MACD and smoothed stochastic oscillator. The value of the indicator fluctuates between 0 and 100. Two trigger levels are used — 25 and 75. Optional alerts are available. You can download this indicator for MT4, MT5
  • RSIOMA MT5 RSIOMA MetaTrader indicator — this indicator takes two moving averages, calculates their RSI (Relative Strength Index) and then also adds a moving average of the calculated RSI. These two lines now can accurately signal the trend changes. They are shown in the separate window where they change from 0 to 100. The auxiliary histogram is shown for a quick-glance view of the current trend. The indicator is available for both MT4 and MT5 versions of the MetaTrader platform.
  • Round Levels MT5 Round Levels MetaTrader indicator — an MT4/MT5 indicator that can display round levels and zones near them based on your configuration. It can be useful to trade off the natural psychological support and resistance zones. It can also issue alerts when the price is in either support or resistance zone.
  • Recent High/Low Alert MT5 Recent High/Low Alert MetaTrader indicator — displays two bands of maximum and minimum levels across recent N candles. By default, the maximum band is displayed with a blue line; the minimum band is displayed with a yellow line. Additionally, it can invoke a popup alert, send an email alert, or issue a notification alert when the current price (Bid) breaks recent High or Low level. All alerts can be turned off. If you use the email alert feature, do not forget to set the email settings in your MetaTrader platform's options window. Same with push-notifications. The indicator is available for both MT4 and MT5.
  • Schaff Trend Cycle MT4 Schaff Trend Cycle (MetaTrader indicator) — is a cyclical oscillator created by calculating the stochastic over stochastic over a MACD line using cycles. The result is the improved version of the oscillator that is not choppy during the trends and reacts to the changes very fast. It was developed by Doug Schaff, who assumed that the currency trends accelerate and decelerate in cycles. Its algorithm was made public in 2008. Schaff Trend Cycle tries to combine two different methods of determining the trend direction changes — MACD and smoothed stochastic oscillator. The value of the indicator fluctuates between 0 and 100. Two trigger levels are used — 25 and 75. Optional alerts are available. You can download this indicator for MT4, MT5
  • RSIOMA MT4 RSIOMA MetaTrader indicator — this indicator takes two moving averages, calculates their RSI (Relative Strength Index) and then also adds a moving average of the calculated RSI. These two lines now can accurately signal the trend changes. They are shown in the separate window where they change from 0 to 100. The auxiliary histogram is shown for a quick-glance view of the current trend. The indicator is available for both MT4 and MT5 versions of the MetaTrader platform.
  • Round Levels MT4 Round Levels MetaTrader indicator — an MT4/MT5 indicator that can display round levels and zones near them based on your configuration. It can be useful to trade off the natural psychological support and resistance zones. It can also issue alerts when the price is in either support or resistance zone.
  • Recent High/Low Alert MT4 Recent High/Low Alert MetaTrader indicator — displays two bands of maximum and minimum levels across recent N candles. By default, the maximum band is displayed with a blue line; the minimum band is displayed with a yellow line. Additionally, it can invoke a popup alert, send an email alert, or issue a notification alert when the current price (Bid) breaks recent High or Low level. All alerts can be turned off. If you use the email alert feature, do not forget to set the email settings in your MetaTrader platform's options window. Same with push-notifications. The indicator is available for both MT4 and MT5.
There are more than 11,520 codes published in Codebase

The most downloaded free products:

1...293031323334353637383940414243...619