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 Networks in Trading: Contrastive Pattern Transformer".

Neural Networks in Trading: Contrastive Pattern Transformer

The Contrastive Transformer is designed to analyze markets both at the level of individual candlesticks and based on entire patterns. This helps improve the quality of market trend modeling. Moreover, the use of contrastive learning to align representations of candlesticks and patterns fosters self-regulation and improves the accuracy of forecasts.

Published article "Price Action Analysis Toolkit Development (Part 25): Dual EMA Fractal Breaker".

Price Action Analysis Toolkit Development (Part 25): Dual EMA Fractal Breaker

Price action is a fundamental approach for identifying profitable trading setups. However, manually monitoring price movements and patterns can be challenging and time-consuming. To address this, we are developing tools that analyze price action automatically, providing timely signals whenever potential opportunities are detected. This article introduces a robust tool that leverages fractal breakouts alongside EMA 14 and EMA 200 to generate reliable trading signals, helping traders make informed decisions with greater confidence.

The most downloaded free products:

8 new signals now available for subscription:

BIGFISH ENT
426% 440 trades
Growth:425.84%
Equity:1,142.90USD
Balance:1,142.90USD
Jeje77
91% 710 trades
Growth:90.63%
Equity:3,672.90USD
Balance:3,672.90USD
HILL RLKS_10YR_1M_2M VT489
51% 3318 trades
Growth:51.24%
Equity:17,104.72USD
Balance:29,524.25USD
and 5 more...

8 new topics on forum:

and 5 more...

Bestsellers in the Market:

More than 300 new charts published:

Chart XAUUSD, M5, 2025.05.30 03:43 UTC, Exness Technologies Ltd, MetaTrader 4, Real
XAUUSD, M5
Chart USDCADb, H1, 2025.05.30 07:41 UTC, AMarkets LLC, MetaTrader 4, Real
USDCADb, H1
チャート XAUUSD, M15, 2025.06.01 11:14 UTC, NOTESCO Int Ltd, MetaTrader 4, Demo
XAUUSD, M15

New publications in CodeBase

  • Show Positions on Custom Chart (or standard chart) for MT5 This indicator is a utility that shows labelled trade levels on any chart. If you want to replace your native trade levels on a native chart, then turn off "Show trade levels" in your F8 Chart Properties and attach this indicator. If you want to show trade levels on a Custom Chart (where native trade levels cannot be shown), then simply attach this indicator. BaseSymbol - specify the Symbol from which the trade level data will be pulled--handy for unique Custom Symbols. TextBarsBack - specify the number of bars back in history from the current bar where the level labels will be drawn. Note: Although magic number is referenced in the code, it is not presently included in the trade lines. If you're running multiple EA's on the same Symbol, you can edit the code to show magic numbers and then run multiple instances of the indicator on one chart. You can also edit the font sizes and text spacing in the object properties as needed for different display resolutions.
  • Indicator based on 2 MAs Good afternoon everyone) First time posting my code!!!
  • Double Moving Averages With Fibonacci This indicator combines two moving averages to generate buy/sell signals based on crossovers. It also plots Fibonacci retracement levels using recent swing highs and lows for support/resistance. Visual arrows mark trade signals, and optional alerts notify users in real-time. Works on all timeframes for flexible technical analysis.
  • SniperJaw EA SniperJaw EA is a one-trade-at-a-time robot that uses the Alligator indicator (Jaw, Teeth, Lips) to follow the trend. You can control the trade size with LotSize, choose to close trades on opposite signal with UseEntryToExit, or use TakeProfit and StopLoss in pips if set. Slippage is managed by Slippage, and trading can be turned on or off using TradeEnabled. Alligator settings like JawPeriod, JawShift, TeethPeriod, TeethShift, LipsPeriod, and LipsShift let you adjust how the indicator works.

Published article "From Basic to Intermediate: Array (III)".

From Basic to Intermediate: Array (III)

In this article, we will look at how to work with arrays in MQL5, including how to pass information between functions and procedures using arrays. The purpose is to prepare you for what will be demonstrated and explained in future materials in the series. Therefore, I strongly recommend that you carefully study what will be shown in this article.

Published article "ALGLIB library optimization methods (Part I)".

ALGLIB library optimization methods (Part I)

In this article, we will get acquainted with the ALGLIB library optimization methods for MQL5. The article includes simple and clear examples of using ALGLIB to solve optimization problems, which will make mastering the methods as accessible as possible. We will take a detailed look at the connection of such algorithms as BLEIC, L-BFGS and NS, and use them to solve a simple test problem.

Published article "Automating Trading Strategies in MQL5 (Part 18): Envelopes Trend Bounce Scalping - Core Infrastructure and Signal Generation (Part I)".

Automating Trading Strategies in MQL5 (Part 18): Envelopes Trend Bounce Scalping - Core Infrastructure and Signal Generation (Part I)

In this article, we build the core infrastructure for the Envelopes Trend Bounce Scalping Expert Advisor in MQL5. We initialize envelopes and other indicators for signal generation. We set up backtesting to prepare for trade execution in the next part.

Published article "Neural Networks in Trading: Market Analysis Using a Pattern Transformer".

Neural Networks in Trading: Market Analysis Using a Pattern Transformer

When we use models to analyze the market situation, we mainly focus on the candlestick. However, it has long been known that candlestick patterns can help in predicting future price movements. In this article, we will get acquainted with a method that allows us to integrate both of these approaches.

The most downloaded free products:

There are more than 35,030 products available in Market

Bestsellers in the Market:

Most downloaded source codes this week

  • Triangular Arbitrage This Expert Advisor (EA) implements a triangular arbitrage strategy between three currency pairs: EURUSD, USDJPY and EURJPY
  • RRS Impulse This EA scalps using the Relative Strength Index (RSI) Indicator, Stochastic Oscillator Indicator, and Bollinger Bands Indicator to identify trend or counter-trend opportunities. As a multi-pair EA, it scans multiple currency pairs for signals. This EA comes with a variety of features, including Trailing, Risk Management, Money Management, Restriction Mode, and more. With the right settings, it has the potential to generate significant profits.
  • RSI Divergence This indicator takes RSI divergences and plots them in buffers to automate EAs

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.

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.

7 new topics on forum:

and 4 more...

8 new signals now available for subscription:

GOLDEN OKANE HF83 TopTenTraders WMC
153% 55 trades
Growth:153.07%
Equity:3,458.54USD
Balance:3,458.54USD
TT Pro SwapFarm
146% 770 trades
Growth:145.73%
Equity:2,716.43GBP
Balance:1,228.63GBP
TT Pro USTEC
122% 191 trades
Growth:122.03%
Equity:444.13GBP
Balance:444.13GBP
and 5 more...

The most popular forum topics:

New publications in CodeBase

  • Divergence DeMarker This indicator picks up the divergence points of the DeMarker indicator
  • Change the colour of candles and wick Draw the wicks (thin lines): Draw a vertical line from the lowest price to the highest price of each candle (this is called a "wick")
  • 2 Moving Averages 2 Moving Averages is a custom MQL4 indicator that uses two moving averages (fast and slow) to identify potential trend changes and generate buy or sell signals based on crossover points. It enhances signal reliability by optionally integrating support and resistance levels, helping traders confirm entry and exit zones. This tool is suitable for trend-following strategies and works across multiple time frames.

Bestsellers in the Market:

The most downloaded free products:

8 new topics on forum:

and 5 more...

The most downloaded free products:

Bestsellers in the Market:

9 new topics on forum:

and 6 more...

8 new signals now available for subscription:

Dark Nova 3 Pairs
887% 795 trades
Growth:887.24%
Equity:1,847.82USD
Balance:1,849.51USD
GoldHarvester Medium Risk
659% 1734 trades
Growth:658.84%
Equity:5,323.13USD
Balance:5,323.13USD
Dark Algo
597% 354 trades
Growth:596.53%
Equity:2,010.60USD
Balance:2,010.60USD
and 5 more...

New publications in CodeBase

  • Customised bmap chart This is a custom indicator for MetaTrader 5 whose sole purpose is to display a BMP image on the chart, centred on the screen
  • Triangular Arbitrage This Expert Advisor (EA) implements a triangular arbitrage strategy between three currency pairs: EURUSD, USDJPY and EURJPY
There are more than 11,650 codes published in Codebase

Published article "Developing a multi-currency Expert Advisor (Part 19): Creating stages implemented in Python".

Developing a multi-currency Expert Advisor (Part 19): Creating stages implemented in Python

So far we have considered the automation of launching sequential procedures for optimizing EAs exclusively in the standard strategy tester. But what if we would like to perform some handling of the obtained data using other means between such launches? We will attempt to add the ability to create new optimization stages performed by programs written in Python.

Published article "Build Self Optimizing Expert Advisors in MQL5 (Part 7): Trading With Multiple Periods At Once".

Build Self Optimizing Expert Advisors in MQL5 (Part 7): Trading With Multiple Periods At Once

In this series of articles, we have considered multiple different ways of identifying the best period to use our technical indicators with. Today, we shall demonstrate to the reader how they can instead perform the opposite logic, that is to say, instead of picking the single best period to use, we will demonstrate to the reader how to employ all available periods effectively. This approach reduces the amount of data discarded, and offers alternative use cases for machine learning algorithms beyond ordinary price prediction.

The most downloaded free products:

More than 400 new charts published:

Grafik XAU_USD, H4, 2025.05.29 05:11 UTC, BenchMark Finance AD, MetaTrader 4, Real
XAU_USD, H4
チャート XAU_USD, H1, 2025.05.29 05:12 UTC, BenchMark Finance AD, MetaTrader 4, Real
XAU_USD, H1
Grafik GER40, H1, 2025.05.29 05:16 UTC, Pepperstone Markets Kenya Limited, MetaTrader 4, Real
GER40, H1
There are more than 34,970 products available in Market

The most popular forum topics:

Bestsellers in the Market:

4 new topics on forum:

and 1 more...

3 new signals now available for subscription:

THPX13C
564% 3959 trades
Growth:563.92%
Equity:51,320.79USD
Balance:51,309.57USD
THPX13E
316% 4010 trades
Growth:316.17%
Equity:48,089.71USD
Balance:48,064.62USD
GOLDEN DOME
153% 334 trades
Growth:153.20%
Equity:4,634.38USD
Balance:5,706.52USD
There are more than 2,170 articles published on site

Published article "Mastering Log Records (Part 7): How to Show Logs on Chart".

Mastering Log Records (Part 7): How to Show Logs on Chart

Learn how to display logs directly on the MetaTrader chart in an organized way, with frames, titles and automatic scrolling. In this article, we show you how to create a visual log system using MQL5, ideal for monitoring what your robot is doing in real time.

Published article "MQL5 Wizard Techniques you should know (Part 67): Using Patterns of TRIX and the Williams Percent Range".

MQL5 Wizard Techniques you should know (Part 67): Using Patterns of TRIX and the Williams Percent Range

The Triple Exponential Moving Average Oscillator (TRIX) and the Williams Percentage Range Oscillator are another pair of indicators that could be used in conjunction within an MQL5 Expert Advisor. This indicator pair, like those we’ve covered recently, is also complementary given that TRIX defines the trend while Williams Percent Range affirms support and Resistance levels. As always, we use the MQL5 wizard to prototype any potential these two may have.

The most downloaded free products:

Bestsellers in the Market:

3 new signals now available for subscription:

EA Happy Trend FM
617% 281 trades
Growth:616.54%
Equity:17,561.28USD
Balance:17,606.08USD
Secure EA
149% 732 trades
Growth:149.48%
Equity:509.90USD
Balance:516.42USD
Weekly Candle Swing
93% 814 trades
Growth:93.35%
Equity:518.06USD
Balance:535.81USD
There are more than 150,320 topics available on forum

13 new topics on forum:

and 10 more...

Published article "Developing a Replay System (Part 70): Getting the Time Right (III)".

Developing a Replay System (Part 70): Getting the Time Right (III)

In this article, we will look at how to use the CustomBookAdd function correctly and effectively. Despite its apparent simplicity, it has many nuances. For example, it allows you to tell the mouse indicator whether a custom symbol is on auction, being traded, or the market is closed. The content presented here is intended solely for educational purposes. Under no circumstances should the application be viewed for any purpose other than to learn and master the concepts presented.

Published article "From Basic to Intermediate: Array (II)".

From Basic to Intermediate: Array (II)

In this article, we will look at what a dynamic array and a static array are. Is there a difference between using one or the other? Or are they always the same? When should you use one and when the other type? And what about constant arrays? We will try to understand what they are designed for and consider the risks of not initializing all the values in the array.

The most downloaded free products:

1...555657585960616263646566676869...657