The most downloaded free products:
Bestsellers in the Market:
New publications in CodeBase
- Download all ticks of a symbol's history Download all the ticks from your broker for all the symbols in the market watch. Download all history or until a specific date in the past if available.
- ATR-Adjusted Rate of Change(ROC) Normalized the Rate of Change (ROC) indicator.
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.
Published article "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".

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.
Published article "Neural Networks in Trading: Injection of Global Information into Independent Channels (InjectTST)".

Most modern multimodal time series forecasting methods use the independent channels approach. This ignores the natural dependence of different channels of the same time series. Smart use of two approaches (independent and mixed channels) is the key to improving the performance of the models.
Published article "Build Self Optimizing Expert Advisors in MQL5 (Part 6): Stop Out Prevention".

Join us in our discussion today as we look for an algorithmic procedure to minimize the total number of times we get stopped out of winning trades. The problem we faced is significantly challenging, and most solutions given in community discussions lack set and fixed rules. Our algorithmic approach to solving the problem increased the profitability of our trades and reduced our average loss per trade. However, there are further advancements to be made to completely filter out all trades that will be stopped out, our solution is a good first step for anyone to try.
The most popular forum topics:
- Indonesian Member 25 new comments
- What to feed to the input of the neural network? Your ideas... 20 new comments
- HELP! MT5 unable to drag symbol(s) to the chart viewing area 11 new comments
The most downloaded free products:
Bestsellers in the Market:
Published article "Neural Networks in Trading: Practical Results of the TEMPO Method".

We continue our acquaintance with the TEMPO method. In this article we will evaluate the actual effectiveness of the proposed approaches on real historical data.
The most downloaded free products:
Bestsellers in the Market:
Published article "Price Action Analysis Toolkit Development (Part 14): Parabolic Stop and Reverse Tool".

Embracing technical indicators in price action analysis is a powerful approach. These indicators often highlight key levels of reversals and retracements, offering valuable insights into market dynamics. In this article, we demonstrate how we developed an automated tool that generates signals using the Parabolic SAR indicator.
Published article "William Gann methods (Part I): Creating Gann Angles indicator".

What is the essence of Gann Theory? How are Gann angles constructed? We will create Gann Angles indicator for MetaTrader 5.
The most popular forum topics:
- What to feed to the input of the neural network? Your ideas... 25 new comments
- Discussion of article "Payments and payment methods" 24 new comments
- exist replay machine for mt5 or mt4 free ? 10 new comments
The most downloaded free products:
Bestsellers in the Market:
Most downloaded source codes this month
- Candlestick patterns This is a indicator displaying candlesticks patterns on a chart.
- BollingerBandsEA BollingerBandsEA trades according to Bollinger Bands.
- Trend Equilibrium Indicator TrendEQ The Trend Equilibrium Indicator TrendEQ dynamically analyzes market movements by combining momentum and volatility. By scaling momentum with the market’s volatility, the TrendEQ provides a reliable measure of trend strength and direction.
Most read articles this month

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?
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
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.
Published article "Master MQL5 from beginner to pro (Part IV): About Arrays, Functions and Global Terminal Variables".

The article is a continuation of the series for beginners. It covers in detail data arrays, the interaction of data and functions, as well as global terminal variables that allow data exchange between different MQL5 programs.
Published article "Animal Migration Optimization (AMO) algorithm".

The article is devoted to the AMO algorithm, which models the seasonal migration of animals in search of optimal conditions for life and reproduction. The main features of AMO include the use of topological neighborhood and a probabilistic update mechanism, which makes it easy to implement and flexible for various optimization tasks.
Published article "Automating Trading Strategies in MQL5 (Part 7): Building a Grid Trading EA with Dynamic Lot Scaling".

In this article, we build a grid trading expert advisor in MQL5 that uses dynamic lot scaling. We cover the strategy design, code implementation, and backtesting process. Finally, we share key insights and best practices for optimizing the automated trading system.