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.

20 new topics on forum:

and 17 more...
There are more than 136 820 topics available on forum

Bestsellers in the Market:

Published article "Population optimization algorithms: Invasive Weed Optimization (IWO)".

Population optimization algorithms: Invasive Weed Optimization (IWO)

The amazing ability of weeds to survive in a wide variety of conditions has become the idea for a powerful optimization algorithm. IWO is one of the best algorithms among the previously reviewed ones.

Published article "Understand and efficiently use OpenCL API by recreating built-in support as DLL on Linux (Part 1): Motivation and validation".

Understand and efficiently use OpenCL API by recreating built-in support as DLL on Linux (Part 1): Motivation and validation

Bulit-in OpenCL support in MetaTrader 5 still has a major problem especially the one about device selection error 5114 resulting from unable to create an OpenCL context using CL_USE_GPU_ONLY, or CL_USE_GPU_DOUBLE_ONLY although it properly detects GPU. It works fine with directly using of ordinal number of GPU device we found in Journal tab, but that's still considered a bug, and users should not hard-code a device. We will solve it by recreating an OpenCL support as DLL with C++ on Linux. Along the journey, we will get to know OpenCL from concept to best practices in its API usage just enough for us to put into great use later when we deal with DLL implementation in C++ and consume it with MQL5.

The most downloaded free products:

The most popular forum topics:

Bestsellers in the Market:

31 new topics on forum:

and 28 more...
There are more than 23 290 products available in Market

Published article "Experiments with neural networks (Part 3): Practical application".

Experiments with neural networks (Part 3): Practical application

In this article series, I use experimentation and non-standard approaches to develop a profitable trading system and check whether neural networks can be of any help for traders. MetaTrader 5 is approached as a self-sufficient tool for using neural networks in trading.

4 new signals now available for subscription:

Forex Shot Gun
138% 2822 trades
Growth:138.19%
Equity:2 050.62USD
Balance:2 054.00USD
Circa and AUS
111% 9699 trades
Growth:110.69%
Equity:9 806.32EUR
Balance:10 315.24EUR
ForAndAmbrosia
75% 6176 trades
Growth:74.64%
Equity:10 783.99EUR
Balance:10 783.99EUR
and 1 more...

The most downloaded free products:

Bestsellers in the Market:

24 new topics on forum:

and 21 more...
There are more than 136 760 topics available on forum

5 new signals now available for subscription:

SD System
201% 376 trades
Growth:201.30%
Equity:405.71USD
Balance:407.58USD
Scalper USD I JPY mt 5
105% 388 trades
Growth:104.63%
Equity:403.85USD
Balance:403.85USD
Beyond GoldFX
59% 4233 trades
Growth:59.41%
Equity:169 632.52USD
Balance:169 666.07USD
and 2 more...

Published article "Creating an EA that works automatically (Part 03): New functions".

Creating an EA that works automatically (Part 03): New functions

Today we'll see how to create an Expert Advisor that simply and safely works in automatic mode. In the previous article, we started to develop an order system that we will use in our automated EA. However, we have created only one of the necessary functions.

Published article "Population optimization algorithms: Bat algorithm (BA)".

Population optimization algorithms: Bat algorithm (BA)

In this article, I will consider the Bat Algorithm (BA), which shows good convergence on smooth functions.

The most downloaded free products:

Bestsellers in the Market:

The most popular forum topics:

Most read articles this month

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 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.

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.

Most downloaded source codes this month

  • CCI + MACD Scalper Strategy that uses the CCI indicator 0-line cross to spot trades and the MACD indicator to confirm them.
  • XP Forex Trade Manager MT4 Forex Trade Manager MT4 simplifies managing open orders in MetaTrader 4.
  • Candle Time End and Spread The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.

19 new topics on forum:

and 16 more...

Bestsellers in the Market:

The most downloaded free products:

25 new topics on forum:

and 22 more...

Published article "Creating an EA that works automatically (Part 02): Getting started with the code".

Creating an EA that works automatically (Part 02): Getting started with the code

Today we'll see how to create an Expert Advisor that simply and safely works in automatic mode. In the previous article, we discussed the first steps that anyone needs to understand before proceeding to creating an Expert Advisor that trades automatically. We considered the concepts and the structure.

3 new signals now available for subscription:

Tam Jian Fung EURUSD
144% 2874 trades
Growth:144.34%
Equity:106 721.11USD
Balance:107 755.91USD
Gramasi Slv 2907
87% 2750 trades
Growth:87.10%
Equity:25 133.45USD
Balance:29 039.10USD
Pertamina Manual Open
39% 736 trades
Growth:38.98%
Equity:458.68USD
Balance:466.70USD

Bestsellers in the Market:

21 new topics on forum:

and 18 more...
There are more than 136 690 topics available on forum

Most read articles this week

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 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.

Creating an EA that works automatically (Part 01): Concepts and structures

Creating an EA that works automatically (Part 01): Concepts and structures

Today we'll see how to create an Expert Advisor that simply and safely works in automatic mode.

Most downloaded source codes this week

There are more than 23 230 products available in Market

The most downloaded free products:

Bestsellers in the Market:

16 new topics on forum:

and 13 more...

The most popular forum topics:

Bestsellers in the Market:

15 new topics on forum:

and 12 more...

4 new signals now available for subscription:

Full Auto EA Day Trade
349% 1668 trades
Growth:348.60%
Equity:457.21USD
Balance:457.21USD
DARK KNIGHT
78% 4185 trades
Growth:77.52%
Equity:718.95USD
Balance:718.95USD
MSC Fund Pro
13% 1052 trades
Growth:12.72%
Equity:10 038.01USD
Balance:10 038.94USD
and 1 more...
There are more than 23 160 products available in Market

Bestsellers in the Market:

The most downloaded free products:

26 new topics on forum:

and 23 more...
There are more than 136 640 topics available on forum

The most popular forum topics:

New publications in CodeBase

  • Current Relative Drawdown The DD_Relative function calculates the drawdown (relative loss) of the current trading account in percentage. To do this, it uses the Current_LossOrProfit() function to get the current profit or loss for all open positions and divides it by the current account balance. The result is rounded to two decimal places and displayed in the chart comment. The Current_LossOrProfit() function loops through all open positions in the account and adds the commission, swap, and current profit or loss for each position. The result is rounded to two decimal places and returned as the current profit or loss of all open positions.
  • Hurst Exponent - optimized version Hurst Exponent - optimized version
1...737475767778798081828384858687...574