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 "Neural Network in Practice: Sketching a Neuron".

Neural Network in Practice: Sketching a Neuron

In this article we will build a basic neuron. And although it looks simple, and many may consider this code completely trivial and meaningless, I want you to have fun studying this simple sketch of a neuron. Don't be afraid to modify the code, understanding it fully is the goal.

Published article "Automating Trading Strategies in MQL5 (Part 10): Developing the Trend Flat Momentum Strategy".

Automating Trading Strategies in MQL5 (Part 10): Developing the Trend Flat Momentum Strategy

In this article, we develop an Expert Advisor in MQL5 for the Trend Flat Momentum Strategy. We combine a two moving averages crossover with RSI and CCI momentum filters to generate trade signals. We also cover backtesting and potential enhancements for real-world performance.

Published article "The Kalman Filter for Forex Mean-Reversion Strategies".

The Kalman Filter for Forex Mean-Reversion Strategies

The Kalman filter is a recursive algorithm used in algorithmic trading to estimate the true state of a financial time series by filtering out noise from price movements. It dynamically updates predictions based on new market data, making it valuable for adaptive strategies like mean reversion. This article first introduces the Kalman filter, covering its calculation and implementation. Next, we apply the filter to a classic mean-reversion forex strategy as an example. Finally, we conduct various statistical analyses by comparing the filter with a moving average across different forex pairs.

The most downloaded free products:

13 new signals now available for subscription:

Goldie22
104% 228 trades
Growth:104.32%
Equity:2,001.01USD
Balance:2,001.01USD
Swing Lowrisk
104% 215 trades
Growth:103.69%
Equity:961.26USD
Balance:1,000.55USD
AlfaVova
59% 77 trades
Growth:59.21%
Equity:3,002.38USD
Balance:3,379.98USD
and 10 more...

Bestsellers in the Market:

There are more than 149,370 topics available on forum

9 new topics on forum:

and 6 more...

Published article "William Gann methods (Part II): Creating Gann Square indicator".

William Gann methods (Part II): Creating Gann Square indicator

We will create an indicator based on the Gann's Square of 9, built by squaring time and price. We will prepare the code and test the indicator in the platform on different time intervals.

The most downloaded free products:

There are more than 35,600 products available in Market

Most downloaded source codes this month

  • MQL5 Programming for Traders – Source Codes from the Book. Part 1 The first chapter of the book introduces the MQL5 language and development environment. One of the new features introduced in the MQL5 language compared to MQL4 (MetaTrader 4 language) is support for object-oriented programming (OOP), which makes it similar to C++.
  • BollingerBandsEA BollingerBandsEA trades according to Bollinger Bands.
  • SUPERMACBOT The SUPERMACBOT is a fully automated trading robot that combines the power of the Moving Average Crossover strategy with the MACD Indicator to deliver precise and reliable trade signals. This Expert Advisor is designed to work seamlessly on all symbols and timeframes, offering versatility and adaptability for traders across various market conditions.

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 earn money by fulfilling traders' orders in the Freelance service

How to earn money by fulfilling traders' orders in the Freelance service

MQL5 Freelance is an online service where developers are paid to create trading applications for traders customers. The service has been successfully operating since 2010, with over 100,000 projects completed to date, totaling $7 million in value. As we can see, a substantial amount of money is involved here.

8 new topics on forum:

and 5 more...

The most popular forum topics:

14 new signals now available for subscription:

Trend Catcher
202% 642 trades
Growth:202.40%
Equity:4,565.18USD
Balance:4,666.79USD
VNS Mini Indice Day Trade
189% 640 trades
Growth:189.35%
Equity:9,728.00BRL
Balance:9,728.00BRL
YP Bimasena 1
55% 370 trades
Growth:54.78%
Equity:7,038.75USD
Balance:7,038.75USD
and 11 more...

Bestsellers in the Market:

Published article "From Basic to Intermediate: Operators".

From Basic to Intermediate: Operators

In this article we will look at the main operators. Although the topic is simple to understand, there are certain points that are of great importance when it comes to including mathematical expressions in the code format. Without an adequate understanding of these details, programmers with little or no experience eventually give up trying to create their own solutions.

Published article "Price Action Analysis Toolkit Development (Part 15): Introducing Quarters Theory (I) — Quarters Drawer Script".

Price Action Analysis Toolkit Development (Part 15): Introducing Quarters Theory (I) — Quarters Drawer Script

Points of support and resistance are critical levels that signal potential trend reversals and continuations. Although identifying these levels can be challenging, once you pinpoint them, you’re well-prepared to navigate the market. For further assistance, check out the Quarters Drawer tool featured in this article, it will help you identify both primary and minor support and resistance levels.

Published article "Trading with the MQL5 Economic Calendar (Part 6): Automating Trade Entry with News Event Analysis and Countdown Timers".

Trading with the MQL5 Economic Calendar (Part 6): Automating Trade Entry with News Event Analysis and Countdown Timers

In this article, we implement automated trade entry using the MQL5 Economic Calendar by applying user-defined filters and time offsets to identify qualifying news events. We compare forecast and previous values to determine whether to open a BUY or SELL trade. Dynamic countdown timers display the remaining time until news release and reset automatically after a trade.

Published article "Automating Trading Strategies in MQL5 (Part 9): Building an Expert Advisor for the Asian Breakout Strategy".

Automating Trading Strategies in MQL5 (Part 9): Building an Expert Advisor for the Asian Breakout Strategy

In this article, we build an Expert Advisor in MQL5 for the Asian Breakout Strategy by calculating the session's high and low and applying trend filtering with a moving average. We implement dynamic object styling, user-defined time inputs, and robust risk management. Finally, we demonstrate backtesting and optimization techniques to refine the program.

The most downloaded free products:

More than 900 new charts published:

Chart XTIUSD, H1, 2025.02.24 09:16 UTC, Five Percent Online Ltd, MetaTrader 5, Demo
XTIUSD, H1
チャート USDCNH, M30, 2025.02.23 22:59 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
USDCNH, M30
Chart XAUUSD, M15, 2025.02.24 00:40 UTC, Black Bull Group Limited, MetaTrader 5, Real
XAUUSD, M15

Bestsellers in the Market:

32 new signals now available for subscription:

EA BTC PRO 8798284
420% 39438 trades
Growth:420.28%
Equity:40,515.16USD
Balance:40,679.48USD
Emuel04
297% 79 trades
Growth:297.32%
Equity:0.00USD
Balance:0.00USD
EA ARROW V3 8798480
174% 1905 trades
Growth:173.96%
Equity:27,369.76USD
Balance:27,396.28USD
and 29 more...

7 new topics on forum:

and 4 more...

Published article "Anarchic Society Optimization (ASO) algorithm".

Anarchic Society Optimization (ASO) algorithm

In this article, we will get acquainted with the Anarchic Society Optimization (ASO) algorithm and discuss how an algorithm based on the irrational and adventurous behavior of participants in an anarchic society (an anomalous system of social interaction free from centralized power and various kinds of hierarchies) is able to explore the solution space and avoid the traps of local optimum. The article presents a unified ASO structure applicable to both continuous and discrete problems.

The most downloaded free products:

Bestsellers in the Market:

Most downloaded source codes this week

  • Smart Trend Follower This EA is designed to automatically follow market trends using signals from the Moving Average and Stochastic Oscillator indicators. The EA detects buy and sell signals by utilizing MA crossovers and confirms the trend with Stochastic. Additionally, the EA includes automatic position management, such as setting Take Profit, Stop Loss, and lot size doubling to enhance trading effectiveness in trending markets.
  • Trade Assistant MT5 Trade Assistant MetaTrader indicator — a multi-timeframe indicator that is based on three standard indicators: Stochastic oscillator, RSI (Relative Strength Index), and CCI (Commodity Channel Index). It displays current trend directions for M1, M5, M15, M30, H1, H4, D1, W1, and MN1 timeframes. When you follow such an indicator you have a clear picture of the trends across all important timeframes. It doesn't matter which timeframe you attach this indicator to. The indicator can be downloaded for MT4 and MT5.
  • Trade Assistant MT4 Trade Assistant MetaTrader indicator — a multi-timeframe indicator that is based on three standard indicators: Stochastic oscillator, RSI (Relative Strength Index), and CCI (Commodity Channel Index). It displays current trend directions for M1, M5, M15, M30, H1, H4, D1, W1, and MN1 timeframes. When you follow such an indicator you have a clear picture of the trends across all important timeframes. It doesn't matter which timeframe you attach this indicator to. The indicator can be downloaded for MT4 and MT5.

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.

Automating Trading Strategies in MQL5 (Part 6): Mastering Order Block Detection for Smart Money Trading

Automating Trading Strategies in MQL5 (Part 6): Mastering Order Block Detection for Smart Money Trading

In this article, we automate order block detection in MQL5 using pure price action analysis. We define order blocks, implement their detection, and integrate automated trade execution. Finally, we backtest the strategy to evaluate its performance.

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.

8 new topics on forum:

and 5 more...

7 new signals now available for subscription:

NeroSignal
203% 358 trades
Growth:202.68%
Equity:1,111.93USD
Balance:1,111.93USD
EA202502
186% 122 trades
Growth:186.48%
Equity:171.89USD
Balance:171.89USD
Fredy Jaya Raya
153% 46 trades
Growth:152.88%
Equity:142.87USD
Balance:138.07USD
and 4 more...
There are more than 35,540 products available in Market

The most downloaded free products:

More than 900 new charts published:

Chart AUDUSD, M5, 2025.02.21 18:13 UTC, FTMO Global Markets Ltd, MetaTrader 5, Demo
AUDUSD, M5
チャート USDCNH, H4, 2025.02.21 02:34 UTC, FXTM, MetaTrader 4, Demo
USDCNH, H4
チャート XAUUSD_l, M5, 2025.02.21 17:43 UTC, LiteFinance Global LLC, MetaTrader 5, Real
XAUUSD_l, M5

Bestsellers in the Market:

9 new signals now available for subscription:

BreakoutPTFMT5
357% 5764 trades
Growth:357.03%
Equity:1,827.95EUR
Balance:1,827.95EUR
Andorra Trading EagleForce
304% 88 trades
Growth:303.86%
Equity:1,296.82USD
Balance:1,628.22USD
Twent Seven Dec
193% 92 trades
Growth:193.06%
Equity:74.83USD
Balance:74.83USD
and 6 more...

New publications in CodeBase

There are more than 11,550 codes published in Codebase

3 new topics on forum:

The most downloaded free products:

Bestsellers in the Market:

New publications in CodeBase

  • Useful #define statements These are some #define statements that are useful to perform operations in your EA. You only need to assign the name of your variables at the beginning of the file, and then let the other #define statements do the work. In order to use this file, add #include <DEFINE_statements.mqh> to the first line in your EA file.
  • Self Optimized SMA The indicator plots two lines. The lower line is calculated based on the latest SMA period that caused a bounce up. The upper line is calculated based on the latest SMA period that caused a bounce down.

21 new signals now available for subscription:

GBPTECH GOLD STAR 2 DAN 3
460% 117 trades
Growth:460.33%
Equity:1,135.00USD
Balance:1,135.00USD
MBBBot
351% 2488 trades
Growth:350.92%
Equity:6,017.99USD
Balance:6,036.00USD
MKD Power
114% 99 trades
Growth:114.18%
Equity:1,285.06USD
Balance:1,285.06USD
and 18 more...
There are more than 35,470 products available in Market

9 new topics on forum:

and 6 more...
There are more than 2,010 articles published on site

Published article "MQL5 Wizard Techniques you should know (Part 55): SAC with Prioritized Experience Replay".

MQL5 Wizard Techniques you should know (Part 55): SAC with Prioritized Experience Replay

Replay buffers in Reinforcement Learning are particularly important with off-policy algorithms like DQN or SAC. This then puts the spotlight on the sampling process of this memory-buffer. While default options with SAC, for instance, use random selection from this buffer, Prioritized Experience Replay buffers fine tune this by sampling from the buffer based on a TD-score. We review the importance of Reinforcement Learning, and, as always, examine just this hypothesis (not the cross-validation) in a wizard assembled Expert Advisor.

Published article "Automating Trading Strategies in MQL5 (Part 8): Building an Expert Advisor with Butterfly Harmonic Patterns".

Automating Trading Strategies in MQL5 (Part 8): Building an Expert Advisor with Butterfly Harmonic Patterns

In this article, we build an MQL5 Expert Advisor to detect Butterfly harmonic patterns. We identify pivot points and validate Fibonacci levels to confirm the pattern. We then visualize the pattern on the chart and automatically execute trades when confirmed.

1...121314151617181920212223242526...608