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:

There are more than 35,210 products available in Market

7 new signals now available for subscription:

BIGFISH ENT
378% 418 trades
Growth:378.31%
Equity:755.83USD
Balance:755.54USD
Jeje77
168% 638 trades
Growth:168.00%
Equity:5,160.90USD
Balance:5,163.57USD
HILL RLKS_10YR_1M_2M VT489
48% 3032 trades
Growth:47.81%
Equity:19,030.45USD
Balance:29,816.46USD
and 4 more...

8 new topics on forum:

and 5 more...

Bestsellers in the Market:

More than 200 new charts published:

Graphique 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:

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

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.

7 new topics on forum:

and 4 more...

8 new signals now available for subscription:

GOLDEN OKANE HF83 TopTenTraders WMC
132% 51 trades
Growth:131.55%
Equity:3,164.42USD
Balance:3,164.42USD
TT Pro SwapFarm
129% 692 trades
Growth:128.81%
Equity:3,119.45GBP
Balance:1,144.03GBP
Aot social trading
67% 187 trades
Growth:67.46%
Equity:2,165.56USD
Balance:2,165.56USD
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:

There are more than 35,130 products available in Market

Bestsellers in the Market:

9 new topics on forum:

and 6 more...

9 new signals now available for subscription:

Dark Nova 3 Pairs
858% 759 trades
Growth:857.59%
Equity:1,793.97USD
Balance:1,793.97USD
Dark Algo
577% 338 trades
Growth:576.54%
Equity:1,940.78USD
Balance:1,952.89USD
Pak Ibhas Junica Smart v2
76% 267 trades
Growth:76.32%
Equity:0.00USD
Balance:0.00USD
and 6 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 300 new charts published:

Chart XAU_USD, H4, 2025.05.29 05:11 UTC, BenchMark Finance AD, MetaTrader 4, Real
XAU_USD, H4
Gráfico GER40, H1, 2025.05.29 05:16 UTC, Pepperstone Markets Kenya Limited, MetaTrader 4, Real
GER40, H1
Chart XAU_USD, H1, 2025.05.29 05:12 UTC, BenchMark Finance AD, MetaTrader 4, Real
XAU_USD, H1

The most popular forum topics:

Bestsellers in the Market:

4 new topics on forum:

and 1 more...

4 new signals now available for subscription:

THPX13C
540% 3745 trades
Growth:539.75%
Equity:49,504.28USD
Balance:49,504.28USD
THPX13E
333% 3776 trades
Growth:333.13%
Equity:49,993.98USD
Balance:50,023.17USD
GOLDEN DOME
139% 317 trades
Growth:139.33%
Equity:5,286.48USD
Balance:6,353.58USD
and 1 more...
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:

There are more than 35,070 products available in Market

2 new signals now available for subscription:

Secure EA
150% 713 trades
Growth:149.53%
Equity:507.87USD
Balance:516.52USD
Weekly Candle Swing
93% 795 trades
Growth:92.80%
Equity:534.28USD
Balance:534.28USD
There are more than 150,330 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.

1...555657585960616263646566676869...658