Published article "Portfolio optimization in Forex: Synthesis of VaR and Markowitz theory".

How does portfolio trading work on Forex? How can Markowitz portfolio theory for portfolio proportion optimization and VaR model for portfolio risk optimization be synthesized? We create a code based on portfolio theory, where, on the one hand, we will get low risk, and on the other, acceptable long-term profitability.
New publications in CodeBase
- Checking the server time changes due to the summer time changeover Unfortunately I had to realise that some brokers are a bit careless with the server time changeover, which I had not expected and which surprised me a lot. Here is a script with which everyone can check their broker.
- EQ Historical equity of one-time and one-time open virtual positions to analyse the efficiency of spread/equity trading
The most downloaded free products:
Bestsellers in the Market:
13 new signals now available for subscription:
| Growth: | 189.35 | % |
| Equity: | 1,090.65 | USD |
| Balance: | 1,021.50 | USD |
The most popular forum topics:
- Pair trading and multicurrency arbitrage. The showdown. 27 new comments
- Features of the mql5 language, subtleties and tricks 12 new comments
- Serious bug in MT5 build 5147 9 new comments
Published article "Algorithmic trading based on 3D reversal patterns".

Discovering a new world of automated trading on 3D bars. What does a trading robot look like on multidimensional price bars? Are "yellow" clusters of 3D bars able to predict trend reversals? What does multidimensional trading look like?
Published article "Price Action Analysis Toolkit Development (Part 34): Turning Raw Market Data into Predictive Models Using an Advanced Ingestion Pipeline".

Have you ever missed a sudden market spike or been caught off‑guard when one occurred? The best way to anticipate live events is to learn from historical patterns. Intending to train an ML model, this article begins by showing you how to create a script in MetaTrader 5 that ingests historical data and sends it to Python for storage—laying the foundation for your spike‑detection system. Read on to see each step in action.
The most downloaded free products:
Most downloaded source codes this month
- CryptoTrend CryptoTrend 1.00 Expert Advisor is an automated trading system designed for trading cryptocurrency (in particular, BTC). Main features: Bollinger indicator: Used to identify market extremes and generate buy and sell signals. Order Block filtering: Allows to find support and resistance levels, which helps to reduce the number of false signals. Self-learning: The entry threshold is adapted depending on the statistics of winning and losing trades, which allows the Expert Advisor to adapt to changing market conditions. Risk management: Calculates stop loss (SL) and take profit (TP) levels based on risk analysis and correlation
- Moving Average x Relative Strength Indicator EA A Simple RSI and Moving Average-Based Expert Advisor for MQL5
- Supertrend A SuperTrend indicator that plots trend direction using ATR volatility to create dynamic support/resistance levels for MetaTrader 5.
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 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:
New publications in CodeBase
- Bull Bear Volume An indicator that provides a clear visualization of volume pressure on each side of the market
- BBMA ZoneZeroLoss (ZZL) Grandma Ally BBMA ZoneZeroLoss Histogram shows trading zones e.g. for "Reentry" setup for risk minimisation
Published article "Self Optimizing Expert Advisors in MQL5 (Part 10): Matrix Factorization".

Factorization is a mathematical process used to gain insights into the attributes of data. When we apply factorization to large sets of market data — organized in rows and columns — we can uncover patterns and characteristics of the market. Factorization is a powerful tool, and this article will show how you can use it within the MetaTrader 5 terminal, through the MQL5 API, to gain more profound insights into your market data.
Published article "From Novice to Expert: Reporting EA — Setting up the work flow".

Brokerages often provide trading account reports at regular intervals, based on a predefined schedule. These firms, through their API technologies, have access to your account activity and trading history, allowing them to generate performance reports on your behalf. Similarly, the MetaTrader 5 terminal stores detailed records of your trading activity, which can be leveraged using MQL5 to create fully customized reports and define personalized delivery methods.
Published article "Market Profile indicator (Part 2): Optimization and rendering on canvas".

The article considers an optimized version of the Market Profile indicator, where rendering with multiple graphical objects is replaced with rendering on a canvas - an object of the CCanvas class.
The most downloaded free products:
Bestsellers in the Market:
Published article "MQL5 Wizard Techniques you should know (Part 77): Using Gator Oscillator and the Accumulation/Distribution Oscillator".

The Gator Oscillator by Bill Williams and the Accumulation/Distribution Oscillator are another indicator pairing that could be used harmoniously within an MQL5 Expert Advisor. We use the Gator Oscillator for its ability to affirm trends, while the A/D is used to provide confirmation of the trends via checks on volume. In exploring this indicator pairing, as always, we use the MQL5 wizard to build and test out their potential.
Published article "MetaTrader tick info access from MQL5 services to Python application using sockets".

Sometimes everything is not programmable in the MQL5 language. And even if it is possible to convert existing advanced libraries in MQL5, it would be time-consuming. This article tries to show that we can bypass Windows OS dependency by transporting tick information such as bid, ask and time with MetaTrader services to a Python application using sockets.
Published article "Building a Trading System (Part 1): A Quantitative Approach".

Many traders evaluate strategies based on short-term performance, often abandoning profitable systems too early. Long-term profitability, however, depends on positive expectancy through optimized win rate and risk-reward ratio, along with disciplined position sizing. These principles can be validated using Monte Carlo simulation in Python with back-tested metrics to assess whether a strategy is robust or likely to fail over time.
New publications in CodeBase
- Popular MACD Strategy from Viral YouTube Video (3.5M+ Views) An automated Expert Advisor that implements a popular MACD-based strategy as seen in a viral YouTube video with over 3.5 million views. Combines MACD crossovers, trend filtering with the 200 MA, and support/resistance detection.
- ServerTime A lightweight, customizable tool that displays server time on your chart for precise trading decisions.
- Viral MACD Strategy (3.5M+ Views) — Recreated and Automated This Expert Advisor implements a well-known MACD strategy made popular through a viral video. It combines MACD signals with trend and support/resistance filters.
The most downloaded free products:
Bestsellers in the Market:
Most downloaded source codes this week
- Pending tread EA (Best for Gold) The Pending_tread EA is a versatile and easy-to-use trading robot designed to automate the placement and management of multiple pending orders arranged in a grid pattern above and below the current market price. This EA is well-suited for scalping strategies and can operate on any timeframe or currency pair, making it highly flexible for various trading styles.
- SuperTrend_Enhanced The SuperTrend Indicator is a dynamic trend-following tool based on ATR. It plots a colored line above or below price to indicate bullish or bearish conditions. When the price crosses the line, a signal arrow appears. Fully customizable with ATR period, multiplier, arrows, labels, and colors. Suitable for all instruments and timeframes. Ideal for scalping, swing, and intraday trading. Combine it with other indicators for stronger setups.
- Eliot Waves "Eliot Waves" EA draws 2 Trend Lines with "zigzag" on chart and trades When a Eliot retracement is formed,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.
Most read articles this week

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 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 popular forum topics:
- Pair trading and multicurrency arbitrage. The showdown. 36 new comments
- Issue with Profile Visual 7 new comments
- My MetaQuotes ID has disappeared. 5 new comments
The most downloaded free products:
Bestsellers in the Market:
3 new signals now available for subscription:
New publications in CodeBase
- Seven strategies in One expert Name of expert is 'MultiStrategyEA'
- Boom Index Spike Pattern This MetaTrader 5 (MT5) custom indicator, boomSpikeBoxMitigationFinal.mq5, detects a specific bullish spike pattern on the chart and marks entry zones using rectangles and horizontal lines. Once the price returns to ("mitigates") the entry level, the entry line is shortened to the mitigation point.




























