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.

14 new topics on forum:

and 11 more...

New publications in CodeBase

  • Equity and Balance as an indicator for MT5 This is a very easy-to-use indicator that displays the changes in Equity and balance of the trading account as it dynamically moves. Particularly useful on the back tester and good for beginners to read this very easy MQL5 code.
  • Dynamic Trailing Stop Loss and Profit Target Management This code snippet implements a dynamic risk management strategy for existing trades. It focuses on closing trades based on profit or loss thresholds and employs a trailing stop loss to lock in profits as the trade moves favorably. The strategy helps manage risk and enhance profitability in a streamlined manner.
  • Ma Price Cross (Custom Time) Buys when price breaks above the MA and Sells when price breaks below the MA. User can choose the time range (server time) to trade in.
  • Strongest Pair Indicator This will return the pair with the most growth in the user input start time and end time

The most popular forum topics:

Bestsellers in the Market:

5 new signals now available for subscription:

Milky Way S version 1
285% 666 trades
Growth:285.01%
Equity:1 249.28USD
Balance:1 260.04USD
Apolo AI G01F4
41% 32 trades
Growth:41.10%
Equity:1 692.30USD
Balance:1 693.14USD
Monk kl001
38% 42 trades
Growth:38.14%
Equity:729.15USD
Balance:732.12USD
and 2 more...

19 new topics on forum:

and 16 more...

Published article "Creating an EA that works automatically (Part 11): Automation (III)".

Creating an EA that works automatically (Part 11): Automation (III)

An automated system will not be successful without proper security. However, security will not be ensured without a good understanding of certain things. In this article, we will explore why achieving maximum security in automated systems is such a challenge.

Published article "Population optimization algorithms: Saplings Sowing and Growing up (SSG)".

Population optimization algorithms: Saplings Sowing and Growing up (SSG)

Saplings Sowing and Growing up (SSG) algorithm is inspired by one of the most resilient organisms on the planet demonstrating outstanding capability for survival in a wide variety of conditions.

The most downloaded free products:

Bestsellers in the Market:

24 new topics on forum:

and 21 more...
There are more than 138 330 topics available on forum

2 new signals now available for subscription:

MGM 3CCY Dynamics
43% 159 trades
Growth:43.32%
Equity:731.91USD
Balance:738.38USD
Dumbtrader99
-27% 1156 trades
Growth:-27.36%
Equity:2 457.34USD
Balance:2 398.66USD
There are more than 11 100 codes published in Codebase

Published article "Creating an EA that works automatically (Part 10): Automation (II)".

Creating an EA that works automatically (Part 10): Automation (II)

Automation means nothing if you cannot control its schedule. No worker can be efficient working 24 hours a day. However, many believe that an automated system should operate 24 hours a day. But it is always good to have means to set a working time range for the EA. In this article, we will consider how to properly set such a time range.

The most downloaded free products:

Bestsellers in the Market:

18 new topics on forum:

and 15 more...

The most popular forum topics:

6 new signals now available for subscription:

YY Forex Trading
2 377% 14444 trades
Growth:2 377.44%
Equity:9 940.39AUD
Balance:10 001.40AUD
ASS 6533758
113% 2972 trades
Growth:113.33%
Equity:6 742.27USD
Balance:6 845.67USD
Syncron
99% 4883 trades
Growth:99.28%
Equity:20 120.06USD
Balance:21 207.74USD
and 3 more...
There are more than 24 820 products available in Market

New publications in CodeBase

  • Expert Advisor for Opening Multiple Buy and Sell Orders Based on User Input This MT5 Expert Advisor opens multiple buy and sell orders based on user input, featuring a simple interface with Buy and Sell buttons. The EA calculates lot size, checks the spread against slippage, and places orders accordingly. It is essential to test this EA in a demo account before using it in live trading.
  • VPS Trailing Stop Service VPS Trailing Stop Service
  • CheckTrades This code initializes the necessary objects and input parameters, and defines a CheckTrades() function that calculates the risk and profit amounts based on the account balance and user input. It then iterates through open orders and checks if the current profit or loss meets the user-defined thresholds, and closes the position if necessary

Published article "Creating an EA that works automatically (Part 09): Automation (I)".

Creating an EA that works automatically (Part 09): Automation (I)

Although the creation of an automated EA is not a very difficult task, however, many mistakes can be made without the necessary knowledge. In this article, we will look at how to build the first level of automation, which consists in creating a trigger to activate breakeven and a trailing stop level.

Published article "Experiments with neural networks (Part 4): Templates".

Experiments with neural networks (Part 4): Templates

In this article, I will 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 as a self-sufficient tool for using neural networks in trading. Simple explanation.

The most downloaded free products:

Bestsellers in the Market:

23 new topics on forum:

and 20 more...

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.

Learn how to design a trading system by Fibonacci

Learn how to design a trading system by Fibonacci

In this article, we will continue our series of creating a trading system based on the most popular technical indicator. Here is a new technical tool which is the Fibonacci and we will learn how to design a trading system based on this technical indicator.

Most downloaded source codes this month

Bestsellers in the Market:

The most downloaded free products:

The most popular forum topics:

19 new topics on forum:

and 16 more...
There are more than 138 260 topics available on forum

New publications in CodeBase

  • Risk Calculator Calculates the risk in the account currency for a given trading volume of the selected symbol at different time periods.
  • Multi SellLimitOrders & Multi SellStopOrders Multi Selllimit and Sellstop orders are script files that enable traders to place multiple orders with ease. These orders allow traders to enter the market at a specific price level, or at a specified number of pips away from the current market price, with stop-loss and take-profit levels. By default, the pips value is set to 400, which means the trade will be placed 400 pips away from the current market price for a 5-digit broker. Moreover, the multi Selllimit and Sellstop orders offer traders the flexibility to customize their trading strategies. Traders can set the stop-loss level to zero if they do not use stop-loss, and can choose between a target price or a pip-based entry. This level of flexibility allows traders to tailor their trading strategies to their specific needs, which can result in better trading outcomes.
  • Multi_BuyLimitOrders & Multi_BuyStopOrders Multi buylimit and buystop orders are script files that enable traders to place multiple orders with ease. With just one command, traders can place multiple buylimit or buystop orders using either a target price or pips. By default, the pips value is set to 400, which means the trade will be placed 400 pips away from the current market price for a 5-digit broker. This setup includes stop-loss and take-profit levels, which can be adjusted based on the trader's preferences. Notably, these orders come with a level of flexibility that enables traders to fine-tune their trading strategies. For instance, a trader can opt to set the stop-loss level to zero if they do not use stop-loss.
  • Multi SellOrders To assist traders who wish to open multiple sell orders quickly, a script file has been developed that allows them to execute a large number of trades with just one command. The default take profit and stop loss values are set in 5-digit broker format, but for traders using a 4-digit broker, the default must be TP=40 and SL=20. Num_of_Sell is the number of trades to execute. This script file can be extremely useful for traders who want to take advantage of market conditions quickly and efficiently. By simplifying the process of opening multiple sell orders, it can save traders valuable time and allow them to focus on other aspects of their trading
  • Multi BuyOrders To assist traders who wish to open multiple buy orders quickly, a script file has been developed that allows them to execute a large number of trades with just one command. The default take profit and stop loss values are set in 5-digit broker format, but for traders using a 4-digit broker, the default must be TP=40 and SL=20. Num_of_Buy is the number trades the trader wish to open instantly. This script file can be extremely useful for traders who want to take advantage of market conditions quickly and efficiently. By simplifying the process of opening multiple buy orders, it can save traders valuable time and allow them to focus on other aspects of their trading strategy.
  • Multi SellLimitOrders & Multi SellStopOrders Multi Selllimit and Sellstop orders are script files that enable traders to place multiple orders with ease. These orders allow traders to enter the market at a specific price level, or at a specified number of pips away from the current market price, with stop-loss and take-profit levels. By default, the pips value is set to 400, which means the trade will be placed 400 pips away from the current market price for a 5-digit broker. Moreover, the multi Selllimit and Sellstop orders offer traders the flexibility to customize their trading strategies. Traders can set the stop-loss level to zero if they do not use stop-loss, and can choose between a target price or a pip-based entry. This level of flexibility allows traders to tailor their trading strategies to their specific needs, which can result in better trading outcomes.
  • Multi_BuyLimitOrders & Multi_BuyStopOrders Multi buylimit and buystop orders are script files that enable traders to place multiple orders with ease. With just one command, traders can place multiple buylimit or buystop orders using either a target price or pips. By default, the pips value is set to 400, which means the trade will be placed 400 pips away from the current market price for a 5-digit broker. This setup includes stop-loss and take-profit levels, which can be adjusted based on the trader's preferences. Notably, these orders come with a level of flexibility that enables traders to fine-tune their trading strategies. For instance, a trader can opt to set the stop-loss level to zero if they do not use stop-loss.
  • Multi SellOrders To assist traders who wish to open multiple sell orders quickly, a script file has been developed that allows them to execute a large number of trades with just one command. The default take profit and stop loss values are set in 5-digit broker format, but for traders using a 4-digit broker, the default must be TP=40 and SL=20. Num_of_Sell is the number of trades to execute. This script file can be extremely useful for traders who want to take advantage of market conditions quickly and efficiently. By simplifying the process of opening multiple sell orders, it can save traders valuable time and allow them to focus on other aspects of their trading strategy.
  • Multi BuyOrders To assist traders who wish to open multiple buy orders quickly, a script file has been developed that allows them to execute a large number of trades with just one command. The default take profit and stop loss values are set in 5-digit broker format, but for traders using a 4-digit broker, the default must be TP=40 and SL=20. Num_of_Buy is the number trades the trader wish to open instantly. This script file can be extremely useful for traders who want to take advantage of market conditions quickly and efficiently. By simplifying the process of opening multiple buy orders, it can save traders valuable time and allow them to focus on other aspects of their trading strategy.

2 new signals now available for subscription:

SmartGridReal
165% 2424 trades
Growth:164.64%
Equity:3 951.16USD
Balance:3 969.92USD
Buda x004 News On
12% 205 trades
Growth:12.14%
Equity:145.36USD
Balance:145.36USD

Published article "How to create a custom indicator (Heiken Ashi) using MQL5".

How to create a custom indicator (Heiken Ashi) using MQL5

In this article, we will learn how to create a custom indicator using MQL5 based on our preferences, to be used in MetaTrader 5 to help us read charts or to be used in automated Expert Advisors.

The most popular forum topics:

Bestsellers in the Market:

Most read articles this week

How to detect trends and chart patterns using MQL5

How to detect trends and chart patterns using MQL5

In this article, we will provide a method to detect price actions patterns automatically by MQL5, like trends (Uptrend, Downtrend, Sideways), Chart patterns (Double Tops, Double Bottoms).

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.

Most downloaded source codes this week

  • Money Management Close trades when the percentage profit or risk of the account is reached
  • AllAverages v4.9 One of the latest version of this indicator at the moment. Huge base of different modifications of moving averages, with multitimesframe function, sending signals to e-mail and push notifications.
  • Risk Manager EA This is a simple EA that will buy/sell pullbacks while managing your given risk parameters. You need to decide on a direction, and the EA will do the rest.

17 new topics on forum:

and 14 more...
There are more than 24 760 products available in Market

2 new signals now available for subscription:

Fort Knox AI
602% 7000 trades
Growth:601.97%
Equity:5 529.45AUD
Balance:5 602.01AUD
Katkus FX
-17% 260 trades
Growth:-17.22%
Equity:827.79USD
Balance:827.79USD

New publications in CodeBase

  • ChartButton Class MT5 This class allows you to create buttons on the chart as if they were chart objects(have time and price coordinates) these objects can be dragged on the chart and when scrolling they stay at the same place. If you wan't to learn some Object Oriented Programming or if you wan't to understand how chartevents work or you wan't to create graphical interfaces, you can learn a lot from this.
  • ChartButton Class MT4 This class allows you to create buttons on the chart as if they were chart objects(have time and price coordinates) these objects can be dragged on the chart and when scrolling they stay at the same place. If you wan't to learn some Object Oriented Programming or if you wan't to understand how chartevents work or you wan't to create graphical interfaces, you can learn a lot from this.

The most downloaded free products:

Bestsellers in the Market:

2 new signals now available for subscription:

AM strategy
161% 11316 trades
Growth:161.10%
Equity:26 110.46USD
Balance:26 110.46USD
PAMMTFF
35% 1632 trades
Growth:34.54%
Equity:225 048.53BRL
Balance:238 444.42BRL

13 new topics on forum:

and 10 more...

New publications in CodeBase

  • Volume Average Groups For Comparison Learn how to split the volume data into different groups so that you can compare them and create a strategy based on volume average.
  • Auto TP multiplied by SL Th Expert will set the TP based on the SL manually set using the input multiplier. Using this you can set 2,3,4 etc times the SL set.
1...454647484950515253545556575859...556