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 "How to connect MetaTrader 5 to PostgreSQL".

How to connect MetaTrader 5 to PostgreSQL

This article describes four methods for connecting MQL5 code to a Postgres database and provides a step-by-step tutorial for setting up a development environment for one of them, a REST API, using the Windows Subsystem For Linux (WSL). A demo app for the API is provided along with the corresponding MQL5 code to insert data and query the respective tables, as well as a demo Expert Advisor to consume this data.

20 new topics on forum:

and 17 more...

The most downloaded free products:

Bestsellers in the Market:

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

4 new signals now available for subscription:

Bewinners
159% 1540 trades
Growth:159.27%
Equity:12 228.20USD
Balance:12 961.91USD
Gold Scalper Pro
101% 1073 trades
Growth:100.68%
Equity:2 575.31USD
Balance:2 631.78USD
Steel 2023
51% 1221 trades
Growth:50.75%
Equity:794.68USD
Balance:1 047.36USD
and 1 more...

The most popular forum topics:

The most downloaded free products:

Bestsellers in the Market:

28 new topics on forum:

and 25 more...

7 new signals now available for subscription:

EURUSD FBS
769% 617 trades
Growth:768.71%
Equity:8 308.15USD
Balance:8 308.15USD
W7 conta 2
110% 405 trades
Growth:110.20%
Equity:383.23USD
Balance:606.49USD
TradingPuplic01
105% 1305 trades
Growth:104.50%
Equity:8 098.65EUR
Balance:8 108.49EUR
and 4 more...

12 new topics on forum:

and 9 more...
There are more than 138 360 topics available on forum

Most read articles this week

Take a few lessons from Prop Firms (Part 1) — An introduction

Take a few lessons from Prop Firms (Part 1) — An introduction

In this introductory article, I address a few of the lessons one can take from the challenge rules that proprietary trading firms implement. This is especially relevant for beginners and those who struggle to find their footing in this world of trading. The subsequent article will address the code implementation.

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

  • Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
  • Candle Time End and Spread The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.
  • 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.

The most popular forum topics:

Bestsellers in the Market:

5 new signals now available for subscription:

Institutional style Hedge and Swing
150% 629 trades
Growth:150.34%
Equity:2 671.23USD
Balance:3 370.09USD
Beginner 3CCYs
41% 1620 trades
Growth:40.88%
Equity:3 058.69USD
Balance:3 072.98USD
C120 USDJPY
4% 277 trades
Growth:4.49%
Equity:125.39USD
Balance:125.39USD
and 2 more...
There are more than 24 640 products available in Market

The most downloaded free products:

Bestsellers in the Market:

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:

6 new signals now available for subscription:

Milky Way S version 1
350% 787 trades
Growth:349.69%
Equity:757.88USD
Balance:778.59USD
Vuongphan Invest
60% 40 trades
Growth:60.06%
Equity:105.93USD
Balance:105.93USD
MGM 3CCY Dynamics
54% 170 trades
Growth:54.15%
Equity:793.27USD
Balance:794.15USD
and 3 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 310 topics available on forum
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 038% 16131 trades
Growth:2 037.56%
Equity:2 700.05AUD
Balance:9 441.97AUD
ASS 6533758
125% 3202 trades
Growth:125.20%
Equity:6 478.58USD
Balance:6 688.09USD
Syncron
108% 5293 trades
Growth:107.90%
Equity:20 287.75USD
Balance:22 103.48USD
and 3 more...
There are more than 24 570 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:

22 new topics on forum:

and 19 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

1...575859606162636465666768697071...568