Bestsellers in the Market:
New publications in CodeBase
- TickCompressor - with compression of 1 tick to 2-3 bytes on average Compression of tick data for storage in a compact form up to 3.5 times more compact than .tcs MQ files. And for fast work with them, because reading 3 bytes takes less time than reading 60 bytes of MqlTick structure.
- MQL4/5-JsonLib A JSON library that supports MQL4/MQL5
Published article "Reimagining Classic Strategies (Part 20): Modern Stochastic Oscillators".

This article demonstrates how the stochastic oscillator, a classical technical indicator, can be repurposed beyond its conventional use as a mean-reversion tool. By viewing the indicator through a different analytical lens, we show how familiar strategies can yield new value and support alternative trading rules, including trend-following interpretations. Ultimately, the article highlights how every technical indicator in the MetaTrader 5 terminal holds untapped potential, and how thoughtful trial and error can uncover meaningful interpretations hidden from view.
The most downloaded free products:
Bestsellers in the Market:
The most popular forum topics:
Published article "From Novice to Expert: Navigating Market Irregularities".

Market rules are continuously evolving, and many once-reliable principles gradually lose their effectiveness. What worked in the past no longer works consistently over time. Today’s discussion focuses on probability ranges and how they can be used to navigate market irregularities. We will leverage MQL5 to develop an algorithm capable of trading effectively even in the choppiest market conditions. Join this discussion to find out more.
Published article "Creating Custom Indicators in MQL5 (Part 2): Building a Gauge-Style RSI Display with Canvas and Needle Mechanics".

In this article, we develop a gauge-style RSI indicator in MQL5 that visualizes Relative Strength Index values on a circular scale with a dynamic needle, color-coded ranges for overbought and oversold levels, and customizable legends. We utilize the Canvas class to draw elements like arcs, ticks, and pies, ensuring smooth updates on new RSI data.
Published article "Statistical Arbitrage Through Cointegrated Stocks (Part 9): Backtesting Portfolio Weights Updates".

This article describes the use of CSV files for backtesting portfolio weights updates in a mean-reversion-based strategy that uses statistical arbitrage through cointegrated stocks. It goes from feeding the database with the results of a Rolling Windows Eigenvector Comparison (RWEC) to comparing the backtest reports. In the meantime, the article details the role of each RWEC parameter and its impact in the overall backtest result, showing how the comparison of the relative drawdown can help us to further improve those parameters.
The most downloaded free products:
Bestsellers in the Market:
New publications in CodeBase
- Open Trade This function performs the main logic of opening a trade. It calculates the opening price, take profit levels and stop loss based on the symbol information and parameters provided by the user. Prepare a trade request (MqlTradeRequest) with the necessary information such as symbol, volume, order type, slippage, comment, magic number, etc. Call the OrderSend function to send the trade request and get the result. SetTypeFillingBySymbol function: determines the order fulfilment type (Fill or Cancel, Immediate or Cancel or Return) according to the symbol's fulfilment policy. GetMinTradeLevel function: calculates the minimum trade level based on the freeze level and stop level of the symbol. Adjusts the minimum level to ensure that it is within certain limits and returns the result.
- ATR_Momentum_Colour combination of many familiar indicators for beginner traders
Published article "Pure implementation of RSA encryption in MQL5".

MQL5 lacks built-in asymmetric cryptography, making secure data exchange over insecure channels like HTTP difficult. This article presents a pure MQL5 implementation of RSA using PKCS#1 v1.5 padding, enabling safe transmission of AES session keys and small data blocks without external libraries. This approach provides HTTPS-like security over standard HTTP and even more, it fills an important gap in secure communication for MQL5 applications.
Published article "Larry Williams Market Secrets (Part 1): Building a Swing Structure Indicator in MQL5".

A practical guide to building a Larry Williams–style market structure indicator in MQL5, covering buffer setup, swing-point detection, plot configuration, and how traders can apply the indicator in technical market analysis.
The most downloaded free products:
Most downloaded source codes this month
- Simple_Three_Inside_Pattern_EA A simple Expert Advisor that trades when the price forms the "Three From Within" pattern.
- Supertrend A SuperTrend indicator that plots trend direction using ATR volatility to create dynamic support/resistance levels for MetaTrader 5.
- SAR_MACD_EA Macd is the first to indicate bearish or bullish direction, secondly SAR in correlation with price indicates a swing in direction (Sar Flip above or below price), third conformation is the sma 40 shifted 3 and the closed price above or below the sma.
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.

Automating Trading Strategies in MQL5 (Part 42): Session-Based Opening Range Breakout (ORB) System
In this article, we create a fully customizable session-based Opening Range Breakout (ORB) system in MQL5 that lets us set any desired session start time and range duration, automatically calculates the high and low of that opening period, and trades only confirmed breakouts in the direction of the move.
Bestsellers in the Market:
Published article "Creating Custom Indicators in MQL5 (Part 1): Building a Pivot-Based Trend Indicator with Canvas Gradient".

In this article, we create a Pivot-Based Trend Indicator in MQL5 that calculates fast and slow pivot lines over user-defined periods, detects trend directions based on price relative to these lines, and signals trend starts with arrows while optionally extending lines beyond the current bar. The indicator supports dynamic visualization with separate up/down lines in customizable colors, dotted fast lines that change color on trend shifts, and optional gradient filling between lines, using a canvas object for enhanced trend-area highlighting.
Published article "Tables in the MVC Paradigm in MQL5: Integrating the Model Component into the View Component".

In the article, we will create the first version of the TableControl (TableView) control. This will be a simple static table being created based on the input data defined by two arrays — a data array and an array of column headers.
Published article "Introduction to MQL5 (Part 32): Mastering API and WebRequest Function in MQL5 (VI)".

This article will show you how to visualize candle data obtained via the WebRequest function and API in candle format. We'll use MQL5 to read the candle data from a CSV file and display it as custom candles on the chart, since indicators cannot directly use the WebRequest function.
Published article "From Novice to Expert: Automating Trade Discipline with an MQL5 Risk Enforcement EA".

For many traders, the gap between knowing a risk rule and following it consistently is where accounts go to die. Emotional overrides, revenge trading, and simple oversight can dismantle even the best strategy. Today, we will transform the MetaTrader 5 platform into an unwavering enforcer of your trading rules by developing a Risk Enforcement Expert Advisor. Join this discussion to find out more.
The most downloaded free products:
The most popular forum topics:
- Features of the mql5 language, subtleties and tricks 21 new comments
- Libraries: MT4Orders 16 new comments
- Slippage in Market Execution Mode 15 new comments
Bestsellers in the Market:
New publications in CodeBase
- Indices Tester The EA only trades buy positions and does not use Sl and TP.
- AIS Central Axis The indicator implements one of the non-linear smoothing algorithms
- Range Vector Fibo Logic (Indicator) - One Candle Strategy A professional visual indicator for the popular "One Candle" Daily Breakout strategy (0.9 SL / 1.25 TP). Automates the vector analysis for Gold (XAUUSD).
Published article "Building AI-Powered Trading Systems in MQL5 (Part 7): Further Modularization and Automated Trading".

In this article, we enhance the AI-powered trading system's modularity by separating UI components into a dedicated include file. The system now automates trade execution based on AI-generated signals, parsing JSON responses for BUY/SELL/NONE with entry/SL/TP, visualizing patterns like engulfing or divergences on charts with arrows, lines, and labels, and optional auto-signal checks on new bars.
Published article "Codex Pipelines, from Python to MQL5, for Indicator Selection: A Multi-Quarter Analysis of the XLF ETF with Machine Learning".

We continue our look at how the selection of indicators can be pipelined when facing a ‘none-typical’ MetaTrader asset. MetaTrader 5 is primarily used to trade forex, and that is good given the liquidity on offer, however the case for trading outside of this ‘comfort-zone’, is growing bolder with not just the overnight rise of platforms like Robinhood, but also the relentless pursuit of an edge for most traders. We consider the XLF ETF for this article and also cap our revamped pipeline with a simple MLP.
The most downloaded free products:
Bestsellers in the Market:
Most downloaded source codes this week
- KA-Gold Bot MT5 KA-Gold Bot is an advanced trading advisor specifically designed for gold, utilizing the powerful combination of the Keltner channel strategy and two exponential moving averages (EMAs) - the 10-period EMA and the 200-period EMA. Principle of Operation: The 10-period EMA represents the average price cutting above/below the Keltner band, confirming an uptrend/downtrend. The price being above the 200-period EMA supports the uptrend/downtrend. This indicates that the uptrend/downtrend has been stronger than the previous 10 periods, considering the volatility over the last 50 periods. - Time frame: M15
- ONNX Trader An example of a bot with an embedded machine learning model that is trained in python and saved in ONNX format.
- Supertrend A SuperTrend indicator that plots trend direction using ATR volatility to create dynamic support/resistance levels for MetaTrader 5.
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.

Automating Trading Strategies in MQL5 (Part 45): Inverse Fair Value Gap (IFVG)
In this article, we create an Inverse Fair Value Gap (IFVG) detection system in MQL5 that identifies bullish/bearish FVGs on recent bars with minimum gap size filtering, tracks their states as normal/mitigated/inverted based on price interactions (mitigation on far-side breaks, retracement on re-entry, inversion on close beyond far side from inside), and ignores overlaps while limiting tracked FVGs.

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.






















