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 downloaded free products:

The most popular forum topics:

There are more than 33,680 products available in Market

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:

4 new signals now available for subscription:

MT5 Manual 02
593% 253 trades
Growth:592.66%
Equity:6,864.82USD
Balance:6,516.77USD
Greezly Bot Pro Trade
103% 2953 trades
Growth:103.19%
Equity:3,040.48USD
Balance:3,047.85USD
Neo2
38% 14643 trades
Growth:38.10%
Equity:120,513.75USD
Balance:138,725.38USD
and 1 more...

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 500 new charts published:

Grafik XAUUSD+, M15, 2025.04.01 23:09 UTC, Startrader Financial Markets Limited, MetaTrader 4, Real
XAUUSD+, M15
图表 BTCUSD, M30, 2025.04.02 11:55 UTC, Startrader Financial Markets Limited, MetaTrader 4, Real
BTCUSD, M30
Chart BTCUSD, H4, 2025.04.01 16:43 UTC, FBS Markets Inc., MetaTrader 5, Real
BTCUSD, H4

Bestsellers in the Market:

12 new topics on forum:

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

4 new signals now available for subscription:

Chicken dinner
1,400% 1167 trades
Growth:1,400.49%
Equity:2,861.51USD
Balance:2,861.51USD
Oil for Mum 2
120% 628 trades
Growth:119.93%
Equity:3,712.76USD
Balance:4,365.81USD
Darwin Light
20% 10591 trades
Growth:19.81%
Equity:119,802.73USD
Balance:119,805.75USD
and 1 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,680 topics available on forum

15 new topics on forum:

and 12 more...

More than 300 new charts published:

图表 XAU_USD, H1, 2025.03.31 04:49 UTC, BenchMark Finance AD, MetaTrader 4, Real
XAU_USD, H1
チャート XAU_USD, H4, 2025.03.31 04:47 UTC, BenchMark Finance AD, MetaTrader 4, Real
XAU_USD, H4
Chart XAUUSD, M1, 2025.03.30 09:57 UTC, Fusion Markets Pty Ltd, MetaTrader 4, Demo
XAUUSD, M1

The most downloaded free products:

Bestsellers in the Market:

There are more than 33,610 products available in 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.

2 new signals now available for subscription:

Techno Swing Alpha
40% 135 trades
Growth:39.83%
Equity:383.89EUR
Balance:407.83EUR
Techno Scalp Prime
14% 1081 trades
Growth:14.25%
Equity:556.42EUR
Balance:571.38EUR

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

5 new signals now available for subscription:

Vics EURUSD EA MT4
420% 1407 trades
Growth:419.50%
Equity:994.80USD
Balance:1,009.03USD
Vics EURUSD EA MT5
310% 1352 trades
Growth:309.89%
Equity:995.49USD
Balance:1,009.35USD
EA18
112% 284 trades
Growth:111.57%
Equity:2,749.96USD
Balance:2,749.96USD
and 2 more...

5 new topics on forum:

and 2 more...

More than 500 new charts published:

Graphique XAUUSD, M30, 2025.03.29 17:21 UTC, RoboForex Ltd, MetaTrader 4, Real
XAUUSD, M30
График XAUUSD, M30, 2025.03.29 17:22 UTC, RoboForex Ltd, MetaTrader 4, Real
XAUUSD, M30
Graphique XAU_USD, H1, 2025.03.28 06:09 UTC, BenchMark Finance AD, MetaTrader 4, Real
XAU_USD, H1

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,550 products available in Market

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...
1...626364656667686970717273747576...655