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.

The most popular forum topics:

New publications in CodeBase

  • New Candle or Bar formation. This Bot detects the open of a new candle on any set timeframe, thereby making it easier to run a one-time code, place trades and call other functions. The code is written in the OnTick() function.
  • Detecting the start of a new bar or candle Detecting the start of a new bar or candle in an Expert Advisor's OnTick() event handler.
  • Calendar Calendar - fundamental analysis on history and real-time.
  • SingleTesterCache Tester's single pass data.
  • Average Pip Movement based on Tick And Seconds This Expert Advisor (EA) analyzes market movement by calculating the average pip movement per tick and the average spread over a user-defined number of ticks (MAX_TICKS). It also evaluates the average pip movement and spread over a specified time interval (CHECK_SECONDS). The EA dynamically tracks price changes and spread values, printing the results in the terminal and displaying them on the chart using the Comment() function. This helps traders gauge market volatility and spread fluctuations in real time.

Bestsellers in the Market:

3 new signals now available for subscription:

MT5 Manual 02
598% 241 trades
Growth:597.54%
Equity:7,065.04USD
Balance:6,562.41USD
Greezly Bot Pro Trade
85% 2489 trades
Growth:85.44%
Equity:2,780.55USD
Balance:2,781.56USD
Tasteless
-48% 1374 trades
Growth:-48.34%
Equity:11,183.17USD
Balance:12,814.31USD

8 new topics on forum:

and 5 more...

Published article "Simple solutions for handling indicators conveniently".

Simple solutions for handling indicators conveniently

In this article, I will describe how to make a simple panel to change the indicator settings directly from the chart, and what changes need to be made to the indicator to connect the panel. This article is intended for novice MQL5 users.

Published article "Automating Trading Strategies in MQL5 (Part 13): Building a Head and Shoulders Trading Algorithm".

Automating Trading Strategies in MQL5 (Part 13): Building a Head and Shoulders Trading Algorithm

In this article, we automate the Head and Shoulders pattern in MQL5. We analyze its architecture, implement an EA to detect and trade it, and backtest the results. The process reveals a practical trading algorithm with room for refinement.

Published article "Day Trading Larry Connors RSI2 Mean-Reversion Strategies".

Day Trading Larry Connors RSI2 Mean-Reversion Strategies

Larry Connors is a renowned trader and author, best known for his work in quantitative trading and strategies like the 2-period RSI (RSI2), which helps identify short-term overbought and oversold market conditions. In this article, we’ll first explain the motivation behind our research, then recreate three of Connors’ most famous strategies in MQL5 and apply them to intraday trading of the S&P 500 index CFD.

Published article "MQL5 Wizard Techniques you should know (Part 58): Reinforcement Learning (DDPG) with Moving Average and Stochastic Oscillator Patterns".

MQL5 Wizard Techniques you should know (Part 58): Reinforcement Learning (DDPG) with Moving Average and Stochastic Oscillator Patterns

Moving Average and Stochastic Oscillator are very common indicators whose collective patterns we explored in the prior article, via a supervised learning network, to see which “patterns-would-stick”. We take our analyses from that article, a step further by considering the effects' reinforcement learning, when used with this trained network, would have on performance. Readers should note our testing is over a very limited time window. Nonetheless, we continue to harness the minimal coding requirements afforded by the MQL5 wizard in showcasing this.

The most downloaded free products:

More than 200 new charts published:

图表 XAUUSD+, M15, 2025.04.01 23:09 UTC, Startrader Financial Markets Limited, MetaTrader 4, Real
XAUUSD+, M15
Chart XAUUSD, M30, 3/29/2025 5:21 PM UTC, RoboForex Ltd, MetaTrader 4, Real
XAUUSD, M30
Grafico XAUUSD, M30, 2025.03.29 17:22 UTC, RoboForex Ltd, MetaTrader 4, Real
XAUUSD, M30
There are more than 33,760 products available in Market

Bestsellers in the Market:

12 new topics on forum:

and 9 more...

4 new signals now available for subscription:

Neo2
39% 13247 trades
Growth:39.41%
Equity:137,028.05USD
Balance:139,928.02USD
EBC4422
-24% 266 trades
Growth:-23.76%
Equity:927.84USD
Balance:927.84USD
EBC4423
-24% 266 trades
Growth:-23.90%
Equity:927.25USD
Balance:927.25USD
and 1 more...

Published article "Master MQL5 from beginner to pro (Part V): Fundamental control flow operators".

Master MQL5 from beginner to pro (Part V): Fundamental control flow operators

This article explores the key operators used to modify the program's execution flow: conditional statements, loops, and switch statements. Utilizing these operators will allow the functions we create to behave more "intelligently".

5 new signals now available for subscription:

Chicken dinner
1,149% 1075 trades
Growth:1,149.06%
Equity:2,382.02USD
Balance:2,382.02USD
Oil for Mum 2
98% 573 trades
Growth:98.10%
Equity:3,007.11USD
Balance:3,934.73USD
Darwin Light
18% 9249 trades
Growth:18.06%
Equity:117,404.97USD
Balance:118,064.36USD
and 2 more...

The most downloaded free products:

Most downloaded source codes this month

  • 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.
  • 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++.
  • MQL5 Programming for Traders – Source Codes from the Book. Part 7 The final seventh part of the book discusses the advanced capabilities of the MQL5 API, which will be useful when developing programs for MetaTrader 5. These include custom financial symbols, built-in economic calendar events, and general-purpose technologies such as networking, databases, and cryptography.

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.

Bestsellers in the Market:

There are more than 149,690 topics available on forum

15 new topics on forum:

and 12 more...

The most downloaded free products:

Bestsellers in the Market:

7 new topics on forum:

and 4 more...

New publications in CodeBase

  • PSAR Zigzag (Non lagging) A zigzag based on the trend change of the parabolic sar
  • Candlestick Analysis EA R1 This MT5 Expert Advisor combines multi-timeframe candlestick pattern analysis with fundamental event filtering to execute trades with disciplined risk management.

6 new signals now available for subscription:

Techno Swing Alpha
53% 118 trades
Growth:53.14%
Equity:380.32EUR
Balance:446.60EUR
Techno Scalp Prime
11% 1031 trades
Growth:10.53%
Equity:553.12EUR
Balance:553.12EUR
EBC3927
-14% 614 trades
Growth:-13.97%
Equity:524.68USD
Balance:524.68USD
and 3 more...

Published article "Introduction to MQL5 (Part 14): A Beginner's Guide to Building Custom Indicators (III)".

Introduction to MQL5 (Part 14): A Beginner's Guide to Building Custom Indicators (III)

Learn to build a Harmonic Pattern indicator in MQL5 using chart objects. Discover how to detect swing points, apply Fibonacci retracements, and automate pattern recognition.

The most downloaded free products:

Bestsellers in the Market:

Most downloaded source codes this week

  • Supertrend A SuperTrend indicator that plots trend direction using ATR volatility to create dynamic support/resistance levels for MetaTrader 5.
  • FVG based Momentum Detection This is an indicator that evaluates FVGs in the inputted "window_size" to detect momentum or trend strength.
  • MeanReversionTrendEA The EA automatically trades based on trend and mean reversion signals with validated parameters.

Most read articles this week

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.

Automating Trading Strategies in MQL5 (Part 12): Implementing the Mitigation Order Blocks (MOB) Strategy

Automating Trading Strategies in MQL5 (Part 12): Implementing the Mitigation Order Blocks (MOB) Strategy

In this article, we build an MQL5 trading system that automates order block detection for Smart Money trading. We outline the strategy’s rules, implement the logic in MQL5, and integrate risk management for effective trade execution. Finally, we backtest the system to assess its performance and refine it for optimal results.

New publications in CodeBase

  • Ranging Market Detector An indicator which attempts to highlight a ranging market area
  • Withdrawal Tracking This is a piece of code to add to an existing Expert advisor to track withdrawals from your account where the EA is running. It helps the user to monitor his or her withdrawals from a particular account.
  • Withdrawal Tracking This is a piece of code to add to an existing Expert advisor to track withdrawals from your account where the EA is running. It helps the user to monitor his or her withdrawals from a particular account.
There are more than 11,560 codes published in Codebase
There are more than 33,700 products available in Market

5 new signals now available for subscription:

Vics EURUSD EA MT4
375% 1265 trades
Growth:374.80%
Equity:1,000.86USD
Balance:1,000.86USD
Vics EURUSD EA MT5
274% 1211 trades
Growth:274.14%
Equity:1,000.26USD
Balance:1,000.26USD
EA18
73% 260 trades
Growth:73.13%
Equity:2,250.34USD
Balance:2,250.34USD
and 2 more...

5 new topics on forum:

and 2 more...

The most downloaded free products:

Bestsellers in the Market:

6 new topics on forum:

and 3 more...

The most popular forum topics:

The most downloaded free products:

There are more than 33,650 products available in Market

More than 200 new charts published:

图表 XAU_USD, H1, 2025.03.28 06:09 UTC, BenchMark Finance AD, MetaTrader 4, Real
XAU_USD, H1
차트 #VXXB, M15, 2025.03.28 14:14 UTC, Ava Trade Ltd., MetaTrader 5, Real
#VXXB, M15
チャート GOLD, H1, 2025.03.27 13:09 UTC, InstaForex, MetaTrader 4, Real
GOLD, H1

Bestsellers in the Market:

There are more than 2,060 articles published on site

Published article "Build Self Optimizing Expert Advisors in MQL5 (Part 6): Self Adapting Trading Rules (II)".

Build Self Optimizing Expert Advisors in MQL5 (Part 6): Self Adapting Trading Rules (II)

This article explores optimizing RSI levels and periods for better trading signals. We introduce methods to estimate optimal RSI values and automate period selection using grid search and statistical models. Finally, we implement the solution in MQL5 while leveraging Python for analysis. Our approach aims to be pragmatic and straightforward to help you solve potentially complicated problems, with simplicity.

8 new topics on forum:

and 5 more...

Published article "Neural Networks in Trading: Hierarchical Vector Transformer (HiVT)".

Neural Networks in Trading: Hierarchical Vector Transformer (HiVT)

We invite you to get acquainted with the Hierarchical Vector Transformer (HiVT) method, which was developed for fast and accurate forecasting of multimodal time series.

1...636465666768697071727374757677...656