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

More than 50 new charts published:

Chart US30, H1, 2023.02.11 12:31 UTC, Raw Trading Ltd, MetaTrader 4, Demo
US30, H1
Chart EURUSD, D1, 2023.02.20 23:50 UTC, E-Global Trade and Finance SVG LLC, MetaTrader 4, Real
EURUSD, D1
图表 EURUSDm, M5, 2023.02.14 04:57 UTC, Exness Technologies Ltd, MetaTrader 4, Demo
EURUSDm, M5

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

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.

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...
There are more than 22 990 products available in Market

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.

2 new signals now available for subscription:

Pertamina Manual Open
157% 837 trades
Growth:157.30%
Equity:865.11USD
Balance:864.01USD
and 1 more...

Bestsellers in the Market:

There are more than 136 660 topics available on forum

21 new topics on forum:

and 18 more...

Most downloaded source codes this week

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.

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...
There are more than 22 930 products available in Market

3 new signals now available for subscription:

Full Auto EA Day Trade
399% 1799 trades
Growth:399.44%
Equity:508.52USD
Balance:508.52USD
DARK KNIGHT
86% 4434 trades
Growth:86.39%
Equity:725.45USD
Balance:725.45USD
MSC Fund Pro
15% 1251 trades
Growth:14.85%
Equity:10 162.80USD
Balance:10 162.80USD

Bestsellers in the Market:

The most downloaded free products:

There are more than 136 600 topics available on forum

26 new topics on forum:

and 23 more...

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

3 new signals now available for subscription:

MT4L183F7525F18
198% 398 trades
Growth:197.75%
Equity:1 278.80USD
Balance:1 250.76USD
CMC Trend
50% 3484 trades
Growth:50.45%
Equity:8 485.53AUD
Balance:9 527.53AUD
and 1 more...

Bestsellers in the Market:

30 new topics on forum:

and 27 more...

Published article "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.

3 new signals now available for subscription:

EA Happy News Eightcap
1 969% 1116 trades
Growth:1 969.44%
Equity:20 694.39USD
Balance:20 694.39USD
Tree Of Life Low Risk
93% 585 trades
Growth:92.97%
Equity:585.24USD
Balance:585.24USD
AUDCAD Cautious
38% 475 trades
Growth:37.62%
Equity:550 462.00JPY
Balance:550 462.00JPY

Published article "How to choose an Expert Advisor: Twenty strong criteria to reject a trading bot".

How to choose an Expert Advisor: Twenty strong criteria to reject a trading bot

This article tries to answer the question: how can we choose the right expert advisors? Which are the best for our portfolio, and how can we filter the large trading bots list available on the market? This article will present twenty clear and strong criteria to reject an expert advisor. Each criterion will be presented and well explained to help you make a more sustained decision and build a more profitable expert advisor collection for your profits.

Published article "DoEasy. Controls (Part 31): Scrolling the contents of the ScrollBar control".

DoEasy. Controls (Part 31): Scrolling the contents of the ScrollBar control

In this article, I will implement the functionality of scrolling the contents of the container using the buttons of the horizontal scrollbar.

New publications in CodeBase

  • Check the time periods used The function takes two arrays of integers as parameters: "allowedPeriods" and "periodsToCheck". "allowedPeriods" is an array containing all the time periods allowed by the system, while "periodsToCheck" is an array containing the time periods used by the user in the indicator. The function iterates through the elements of the "periodsToCheck" array and checks if each of them is present in the "allowedPeriods" array. If it finds any time period that is not allowed, the function returns "false". If all time periods are allowed, the function returns "true". In short, this function is used to make sure that the time periods used in an indicator are valid and allowed by the system.
  • CLS (ClearScreen) CLS (ClearScreen) delets all object drawn on the chart with key press "C"

The most downloaded free products:

Bestsellers in the Market:

There are more than 136 540 topics available on forum

29 new topics on forum:

and 26 more...

Most downloaded source codes this month

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.

The most popular forum topics:

Bestsellers in the Market:

1...9293949596979899100101102103104105106...591