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.

The most downloaded free products:

Bestsellers in the Market:

Most downloaded source codes this week

  • KA-Gold Bot MT5 KA-Gold Bot is an advanced trading advisor specifically designed for gold, utilizing the powerful combination of the Keltner channel strategy and two exponential moving averages (EMAs) - the 10-period EMA and the 200-period EMA. Principle of Operation: The 10-period EMA represents the average price cutting above/below the Keltner band, confirming an uptrend/downtrend. The price being above the 200-period EMA supports the uptrend/downtrend. This indicates that the uptrend/downtrend has been stronger than the previous 10 periods, considering the volatility over the last 50 periods. - Time frame: M15
  • Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
  • Indices Testing The EA only trades buy positions and does not use SL and TP.

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.

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.

How to Test a Trading Robot Before Buying

How to Test a Trading Robot Before Buying

Buying a trading robot on MQL5 Market has a distinct benefit over all other similar options - an automated system offered can be thoroughly tested directly in the MetaTrader 5 terminal. Before buying, an Expert Advisor can and should be carefully run in all unfavorable modes in the built-in Strategy Tester to get a complete grasp of the system.

There are more than 144,000 topics available on forum

8 new topics on forum:

and 5 more...

New publications in CodeBase

11 new topics on forum:

and 8 more...

The most downloaded free products:

Bestsellers in the Market:

The most popular forum topics:

1 new signal now available for subscription:

DPF LCD
10% 1099 trades
Growth:10.00%
Equity:10,064.28USD
Balance:10,069.03USD

The most downloaded free products:

There are more than 27,710 products available in Market

16 new topics on forum:

and 13 more...

Bestsellers in the Market:

6 new signals now available for subscription:

Trade Pro
1,515% 2060 trades
Growth:1,514.81%
Equity:5,844.83USD
Balance:5,844.83USD
Green grassland 01
171% 760 trades
Growth:170.62%
Equity:534.87USD
Balance:540.57USD
Green grassland 03
145% 775 trades
Growth:144.56%
Equity:514.62USD
Balance:520.33USD
and 3 more...

Published article "Developing a Replay System (Part 27): Expert Advisor project — C_Mouse class (I)".

Developing a Replay System (Part 27): Expert Advisor project — C_Mouse class (I)

In this article we will implement the C_Mouse class. It provides the ability to program at the highest level. However, talking about high-level or low-level programming languages is not about including obscene words or jargon in the code. It's the other way around. When we talk about high-level or low-level programming, we mean how easy or difficult the code is for other programmers to understand.

The most downloaded free products:

Bestsellers in the Market:

18 new topics on forum:

and 15 more...

5 new signals now available for subscription:

Zoocapital Vulture Algo
405% 6159 trades
Growth:404.91%
Equity:9,145.45GBP
Balance:10,347.31GBP
Gilberto
82% 1279 trades
Growth:82.47%
Equity:9,031.37USD
Balance:21,164.37USD
Bean capital
10% 3780 trades
Growth:9.82%
Equity:14,305.33USD
Balance:14,347.37USD
and 2 more...

Published article "Developing a Replay System (Part 26): Expert Advisor project — C_Terminal class".

Developing a Replay System (Part 26): Expert Advisor project — C_Terminal class

We can now start creating an Expert Advisor for use in the replay/simulation system. However, we need something improved, not a random solution. Despite this, we should not be intimidated by the initial complexity. It's important to start somewhere, otherwise we end up ruminating about the difficulty of a task without even trying to overcome it. That's what programming is all about: overcoming obstacles through learning, testing, and extensive research.

Published article "Data Science and Machine Learning (Part 20): Algorithmic Trading Insights, A Faceoff Between LDA and PCA in MQL5".

Data Science and Machine Learning (Part 20): Algorithmic Trading Insights, A Faceoff Between LDA and PCA in MQL5

Uncover the secrets behind these powerful dimensionality reduction techniques as we dissect their applications within the MQL5 trading environment. Delve into the nuances of Linear Discriminant Analysis (LDA) and Principal Component Analysis (PCA), gaining a profound understanding of their impact on strategy development and market analysis.

New publications in CodeBase

The most downloaded free products:

There are more than 143,940 topics available on forum

23 new topics on forum:

and 20 more...

Bestsellers in the Market:

The most popular forum topics:

2 new signals now available for subscription:

Zuokai Zhang
330% 1844 trades
Growth:329.73%
Equity:1,638.87USD
Balance:2,303.90USD
PrinceGianni
151% 928 trades
Growth:150.54%
Equity:1,492.06USD
Balance:1,492.06USD

Published article "MQL5 Wizard Techniques you should know (Part 12): Newton Polynomial".

MQL5 Wizard Techniques you should know (Part 12): Newton Polynomial

Newton’s polynomial, which creates quadratic equations from a set of a few points, is an archaic but interesting approach at looking at a time series. In this article we try to explore what aspects could be of use to traders from this approach as well as address its limitations.

Published article "Developing a Replay System — Market simulation (Part 25): Preparing for the next phase".

Developing a Replay System — Market simulation (Part 25): Preparing for the next phase

In this article, we complete the first phase of developing our replay and simulation system. Dear reader, with this achievement I confirm that the system has reached an advanced level, paving the way for the introduction of new functionality. The goal is to enrich the system even further, turning it into a powerful tool for research and development of market analysis.

The most downloaded free products:

Bestsellers in the Market:

There are more than 27,660 products available in Market

Most downloaded source codes this month

  • 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.
  • Open Trade This function performs the main logic of opening a trade. Calculates the opening price, take profit levels and stop loss based on symbol information and parameters provided by the user. Prepare a trade request (MqlTradeRequest) with the necessary information, such as symbol, volume, order type, deviation, comment, magic number, etc. Call the OrderSend function to send the operation request and get the result. SetTypeFillingBySymbol function: Determines the order fill type (Fill or Kill, Immediate or Cancel, or Return) based on the symbol's filling policy. GetMinTradeLevel function: Calculates the minimum operating level based on the freeze level and the symbol stops level. Adjusts the minimum level to make sure it is within certain limits and returns the result.
  • Bounce Number for Grid/Martingale strategies Lot Sizing/Order Count set When we want to know how many times price will goes up and down 40 pips before breaking this channel, we will need Bounce Number tool.

Most read articles this month

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.

How to Test a Trading Robot Before Buying

How to Test a Trading Robot Before Buying

Buying a trading robot on MQL5 Market has a distinct benefit over all other similar options - an automated system offered can be thoroughly tested directly in the MetaTrader 5 terminal. Before buying, an Expert Advisor can and should be carefully run in all unfavorable modes in the built-in Strategy Tester to get a complete grasp of the system.

More than 100 new charts published:

Grafik EURUSD, D1, 2024.02.19 01:51 UTC, MetaQuotes Software Corp., MetaTrader 5, Demo
EURUSD, D1
Graphique XAUUSD, M1, 2024.02.17 13:29 UTC, RoboForex Ltd, MetaTrader 5, Real
XAUUSD, M1
Chart EURJPY, H1, 2024.02.15 16:59 UTC, FTMO S.R.O., MetaTrader 4, Demo
EURJPY, H1

16 new topics on forum:

and 13 more...

Published article "Developing a Replay System — Market simulation (Part 24): FOREX (V)".

Developing a Replay System — Market simulation (Part 24): FOREX (V)

Today we will remove a limitation that has been preventing simulations based on the Last price and will introduce a new entry point specifically for this type of simulation. The entire operating mechanism will be based on the principles of the forex market. The main difference in this procedure is the separation of Bid and Last simulations. However, it is important to note that the methodology used to randomize the time and adjust it to be compatible with the C_Replay class remains identical in both simulations. This is good because changes in one mode lead to automatic improvements in the other, especially when it comes to handling time between ticks.

Published article "Benefiting from Forex market seasonality".

Benefiting from Forex market seasonality

We are all familiar with the concept of seasonality, for example, we are all accustomed to rising prices for fresh vegetables in winter or rising fuel prices during severe frosts, but few people know that similar patterns exist in the Forex market.

The most downloaded free products:

Bestsellers in the Market:

4 new signals now available for subscription:

Best long term trading with minimum risk
86% 835 trades
Growth:85.74%
Equity:452.87EUR
Balance:452.87EUR
GPA PAI
28% 2190 trades
Growth:27.59%
Equity:1,586.09EUR
Balance:1,586.09EUR
and 2 more...

23 new topics on forum:

and 20 more...
There are more than 1,510 articles published on site

Published article "Developing a Replay System — Market simulation (Part 23): FOREX (IV)".

Developing a Replay System — Market simulation (Part 23): FOREX (IV)

Now the creation occurs at the same point where we converted ticks into bars. This way, if something goes wrong during the conversion process, we will immediately notice the error. This is because the same code that places 1-minute bars on the chart during fast forwarding is also used for the positioning system to place bars during normal performance. In other words, the code that is responsible for this task is not duplicated anywhere else. This way we get a much better system for both maintenance and improvement.

New publications in CodeBase

  • KA-Gold Bot MT5 KA-Gold Bot is an advanced trading advisor specifically designed for gold, utilizing the powerful combination of the Keltner channel strategy and two exponential moving averages (EMAs) - the 10-period EMA and the 200-period EMA. Principle of Operation: The 10-period EMA represents the average price cutting above/below the Keltner band, confirming an uptrend/downtrend. The price being above the 200-period EMA supports the uptrend/downtrend. This indicates that the uptrend/downtrend has been stronger than the previous 10 periods, considering the volatility over the last 50 periods. - Time frame: M15
  • SAR ADX Signal SAR ADX Signal with mobile notification, rewritten from MT4 version (source no longer found). This is a repaintable indicator, please be careful when using it.
  • Strong Historical Levels Historical Strong S/Rs Levels

Published article "Neural networks are easy (Part 59): Dichotomy of Control (DoC)".

Neural networks are easy (Part 59): Dichotomy of Control (DoC)

In the previous article, we got acquainted with the Decision Transformer. But the complex stochastic environment of the foreign exchange market did not allow us to fully implement the potential of the presented method. In this article, I will introduce an algorithm that is aimed at improving the performance of algorithms in stochastic environments.

1...787980818283848586878889909192...618