Published article "Developing a Replay System — Market simulation (Part 21): FOREX (II)".

We will continue to build a system for working in the FOREX market. In order to solve this problem, we must first declare the loading of ticks before loading the previous bars. This solves the problem, but at the same time forces the user to follow some structure in the configuration file, which, personally, does not make much sense to me. The reason is that by designing a program that is responsible for analyzing and executing what is in the configuration file, we can allow the user to declare the elements he needs in any order.
New publications in CodeBase
- Indices Testing The EA only trades buy positions and does not use SL and TP.
- Adaptive Volatility Analysis AVA adapts its analysis based on current market dynamics. This adaptability makes it invaluable for predicting shifts towards higher volatility or calmer periods.
- Calculate Drawdown in MT4 this shortcode will calculate the drawdown of a particular ea, where it is applied to a specified symbol.
The most downloaded free products:
Bestsellers in the Market:
Most downloaded source codes this month
- No Loss EA - No Indicator, No Price Action strategy for MetaTrader 4 This strategy eliminates the need to rely on indicators, candlestick patterns, chart patterns, or any price action. This EA employs a progressive system that I have been using for the past six months and have backtested for over three years.
- Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
- Candle Time End and Spread The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.
Most read articles this month

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.

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
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.
The most downloaded free products:
The most popular forum topics:
- Problem installing metatrader5 on windows 31 new comments
- VPS disappeared from the MT4 platform 20 new comments
- Questions from Beginners MQL5 MT5 MetaTrader 5 12 new comments
Bestsellers in the Market:
Published article "Neural networks made easy (Part 58): Decision Transformer (DT)".

We continue to explore reinforcement learning methods. In this article, I will focus on a slightly different algorithm that considers the Agent’s policy in the paradigm of constructing a sequence of actions.
The most downloaded free products:
Bestsellers in the Market:
Most downloaded source codes this week
- Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
- Titik Impas Breakeven MT4 The Breakeven Point, or Titik Impas, denotes the price level at which a trade's profit becomes zero. By setting a position to Titik Impas Breakeven, the stop-loss is aligned with the position's opening price. This strategy proves valuable when you aim to allow profits to accumulate while ensuring that the trade remains secure and does not revert to negative territory.
- Fair Value Gap Fair Value gaps are used in ICT's smart money concept where there is an imbalanace of 1 point or more between 1st candle's high and 3rd candle 's low in bullish and 1st candle 's low and 3rd candle's high in bearish
Most read articles this week

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.

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
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.
The most downloaded free products:
Bestsellers in the Market:
The most popular forum topics:
- URL Address 31 new comments
- EA not migrating to VPS 25 new comments
- Features of the mql5 language, subtleties and tricks 13 new comments
The most downloaded free products:
Bestsellers in the Market:
New publications in CodeBase
- Frog Jump Hides Alone Candlesticks
- Fair Value Gap Fair Value gaps are used in ICT's smart money concept where there is an imbalanace of 1 point or more between 1st candle's high and 3rd candle 's low in bullish and 1st candle 's low and 3rd candle's high in bearish
The most downloaded free products:
Bestsellers in the Market:
The most popular forum topics:
- Discussing the article: "Developing a multi-currency Expert Advisor (Part 2): Transition to virtual positions of trading strategies" 45 new comments
- Questions from Beginners MQL5 MT5 MetaTrader 5 11 new comments
- Order profit positive in MT4 app, but OrderProfit() returns negative value 11 new comments
Published article "Building and testing Keltner Channel trading systems".

In this article, we will try to provide trading systems using a very important concept in the financial market which is volatility. We will provide a trading system based on the Keltner Channel indicator after understanding it and how we can code it and how we can create a trading system based on a simple trading strategy and then test it on different assets.
Published article "Implementing the Generalized Hurst Exponent and the Variance Ratio test in MQL5".

In this article, we investigate how the Generalized Hurst Exponent and the Variance Ratio test can be utilized to analyze the behaviour of price series in MQL5.
The most downloaded free products:
Bestsellers in the Market:
Published article "Population optimization algorithms: Mind Evolutionary Computation (MEC) algorithm".

The article considers the algorithm of the MEC family called the simple mind evolutionary computation algorithm (Simple MEC, SMEC). The algorithm is distinguished by the beauty of its idea and ease of implementation.