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 "Position Management: Safe Pyramiding with a Unified Stop in MQL5".

Position Management: Safe Pyramiding with a Unified Stop in MQL5

This article presents CPyramidEngine, a reusable MQL5 class that adds disciplined pyramiding to any Expert Advisor with about six lines of integration. The engine enforces three constraints: strictly decreasing lot sizes, a single unified stop that advances after each add-on, and broker-level validation of every modification. It explains common failure modes in naive implementations and shows how to keep total account risk quantifiable and controlled as positions are added.

Published article "Downloading International Monetary Fund Data Using Python".

Downloading International Monetary Fund Data Using Python

Downloading international monetary fund data in Python: Mining IMF data for use in macroeconomic currency strategies. How can macroeconomics help an ordinary and an algorithmic trader?

The most downloaded free products:

There are more than 48,580 products available in Market

Bestsellers in the Market:

Most downloaded source codes this week

  • XANDER Grid XAUUSD Bidirectional grid EA for Gold (XAUUSD). Candle direction filter, lot doubling up to a cap, basket exit by average take profit or partial close. Daily target and drawdown pause. Updated October 2026 (v1.1). Open source code.
  • Prime Quantum AI — TRADE WITH AI (Anthropic Claude, OpenAI GPT, Google Gemini, DeepSeek, xAI Grok). Prime Quantum AI is an MT5 Expert Advisor combining a classical pre-filter (ADX + Alligator) with AI vision-based chart confirmation from major AI providers (Anthropic Claude, OpenAI GPT, Google Gemini, DeepSeek, xAI Grok). When the pre-filter detects a trend setup, the EA captures three adaptive- timeframe chart screenshots and sends them to the configured AI provider, which returns direction, confidence, stop-loss and take-profit. A trade is opened only when the AI confirms the pre-filter signal with sufficient confidence. Features: dual Standard Broker / Prop Firm risk modes, configurable lot sizing, optional martingale, multiple SL/TP modes, trailing stop, partial close, news/time/day/spread filters, draggable on-chart info panel, and fully exposed indicator parameters. Requires MetaTrader 5, WebRequest enabled for your provider's URL, and a valid API key. Provider auto-detected from key format.
  • Precision Sniper Precision Sniper is a multi-confluence MT5 indicator inspired by TradingView's top signal tools, grading every buy/sell signal (A+, A, B, C) based on EMA structure, RSI, MACD, ADX, VWAP, and volume alignment, with 8 presets, HTF bias confirmation, auto TP/SL levels, trailing stop, and a built-in backtest dashboard.

Most read articles this week

Python + MetaTrader 5: Fast Research Framework for Data, Features, and Prototypes

Python + MetaTrader 5: Fast Research Framework for Data, Features, and Prototypes

The article demonstrates how Python and MetaTrader 5 integration combines research flexibility and trade execution into a single workflow. Python is used for data analysis, feature selection and model training, while MetaTrader 5 is used for testing and trading automation. This approach simplifies the transfer of solutions into practice, increases reproducibility, and makes the development of trading systems faster and more structured.

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.

9 new signals now available for subscription:

Dynamic Liquidity Intelligence HFM50
1,926% 201 trades
Growth:1,925.69%
Equity:567.96USD
Balance:567.96USD
Dynamic Liquidity Intelligence VTI50
910% 199 trades
Growth:910.36%
Equity:450.39USD
Balance:450.39USD
Dynamic Liquidity Intelligence PUP50
905% 199 trades
Growth:904.59%
Equity:447.15USD
Balance:447.15USD
and 6 more...
There are more than 153,580 topics available on forum

3 new topics on forum:

There are more than 48,500 products available in Market

The most downloaded free products:

Bestsellers in the Market:

3 new topics on forum:

3 new signals now available for subscription:

Steady Long term
124% 2014 trades
Growth:123.61%
Equity:1,009.04EUR
Balance:1,010.74EUR
Mozzo lab
20% 166 trades
Growth:19.96%
Equity:1,199,578.80USD
Balance:1,199,578.80USD
Porth
-44% 230 trades
Growth:-44.17%
Equity:534.03USD
Balance:557.14USD

Published article "MQL5 Trading Tools (Part 31): Creating an Interactive Tools Palette in MQL5".

MQL5 Trading Tools (Part 31): Creating an Interactive Tools Palette in MQL5

We turn the Tools Palette sidebar from a static shell into an interactive MQL5 system. The article implements flyout menus per category, a chart event handler, a multi-click drawing engine (one-, two-, and three-click tools), and mouse interactions including drag, bottom-edge resize, scrolling, hover states, and live theme toggling. You will be able to select a tool and place chart objects directly from the palette for analysis

More than 500 new charts published:

Grafik XAUUSD, D1, 2026.05.13 14:17 UTC, HF Markets SA (Pty) Ltd, MetaTrader 5, Demo
XAUUSD, D1
Chart XAUUSD, M5, 2026.05.13 14:23 UTC, Deriv (SVG) LLC, MetaTrader 5, Real
XAUUSD, M5
チャート US30.r, M1, 2026.05.15 09:55 UTC, Pepperstone Limited, MetaTrader 4, Real
US30.r, M1

The most downloaded free products:

There are more than 48,430 products available in Market

Bestsellers in the Market:

4 new topics on forum:

and 1 more...

14 new signals now available for subscription:

AdamCode Algo XAU Controlled Risk
127% 1329 trades
Growth:127.43%
Equity:4,545.29USD
Balance:4,548.47USD
Tandem Trading
107% 516 trades
Growth:106.72%
Equity:961.73USD
Balance:2,067.15USD
Tremendao
92% 275 trades
Growth:91.95%
Equity:2,204.99USD
Balance:2,204.99USD
and 11 more...

Published article "Adaptive Malaysian Engulfing Indicator (Part 2): Optimized Retest Bar Range".

Adaptive Malaysian Engulfing Indicator (Part 2): Optimized Retest Bar Range

The article adds a self-adaptive layer to the Malaysian Engulfing indicator by optimizing the retest bar range with a constrained brute-force search scored by MFE and MAE. It details the data model, helper routines, and an MQL5 implementation that gathers historical setups, computes excursions, and selects the best parameter. Readers learn how to remove manual tuning and run the indicator with context-appropriate settings across symbols and timeframes.

Published article "Building a Trade Analytics System (Part 3): Storing MetaTrader 5 Trades in SQLite".

Building a Trade Analytics System (Part 3): Storing MetaTrader 5 Trades in SQLite

This article extends a Flask backend to reliably receive, validate, and store closed trade data from MetaTrader 5 using SQLite and Flask‑SQLAlchemy. It implements required‑field checks, timestamp conversion, transaction‑safe persistence, and working retrieval endpoints for all trades and single records, plus a basic summary. The result is a complete data pipeline with local testing that records trades and exposes them through a structured API for further analysis.

Published article "Manual Backtesting with On-Chart Buttons in the MetaTrader 5 Strategy Tester".

Manual Backtesting with On-Chart Buttons in the MetaTrader 5 Strategy Tester

Learn how to build a manual backtesting EA for MetaTrader 5's visual tester by adding chart buttons with CButton, executing orders through CTrade, and filtering positions with a magic number. The article implements Buy/Sell and Close All controls, configurable lot size and initial SL, and a trailing stop via CPositionInfo. You will also see how to load indicators with tester.tpl to validate ideas faster before automation and narrow optimization ranges.

Published article "Biogeography-Based Optimization (BBO)".

Biogeography-Based Optimization (BBO)

Biogeography-Based Optimization (BBO) is an elegant global optimization method inspired by natural processes of species migration between islands within archipelagos. The algorithm is based on a simple yet powerful idea: high-quality solutions actively share their characteristics, while low-quality ones actively adopt new features, creating a natural flow of information from the best solutions to the worst. A unique adaptive mutation operator provides an excellent balance between exploration and exploitation. BBO demonstrates high efficiency on a variety of tasks.

Published article "Leak-Free Multi-Timeframe Engine with Closed-Bar Reads in MQL5".

Leak-Free Multi-Timeframe Engine with Closed-Bar Reads in MQL5

The article presents two systematic pitfalls in MQL5 multi‑timeframe work: indicator handle leaks that exhausted resources and repainting from reading the forming bar (index 0). It introduces MTFEngine.mqh, a unified include that creates and tracks handles in one place and defaults all reads to closed bars (index 1). A D1–H4–H1 example shows how this approach keeps signals technically correct and consistent with charts.

The most downloaded free products:

Bestsellers in the Market:

There are more than 48,350 products available in Market

12 new topics on forum:

and 9 more...

The most popular forum topics:

5 new signals now available for subscription:

Respublika7
147% 203 trades
Growth:147.17%
Equity:1,284.04USD
Balance:1,285.08USD
Noven Conservador
38% 2923 trades
Growth:38.04%
Equity:2,528.97USD
Balance:2,528.97USD
Mtraderxm4
24% 2678 trades
Growth:23.70%
Equity:4,524.57USD
Balance:4,569.16USD
and 2 more...

New publications in CodeBase

There are more than 2,850 articles published on site

Published article "From Matrices to Models: How to Build an ML Pipeline in MQL5 and Export It to ONNX".

From Matrices to Models: How to Build an ML Pipeline in MQL5 and Export It to ONNX

The article describes the arrangement of a coordinated ML pipeline in MetaTrader 5 with separation of roles: Python trains and exports the model to ONNX, MQL5 reproduces normalization and PCA via matrix/vector and performs inference. This approach makes the model's inputs stable and verifiable, and the MetaTrader 5 strategy tester provides metrics for analyzing the system behavior.

The most downloaded free products:

There are more than 48,270 products available in Market

6 new topics on forum:

and 3 more...

Bestsellers in the Market:

4 new signals now available for subscription:

TTT
547% 2108 trades
Growth:547.48%
Equity:2,214.83USD
Balance:8,708.80USD
ForexGlodLife
32% 1800 trades
Growth:31.62%
Equity:3,898.11USD
Balance:3,900.38USD
FX Mastery Strategy
14% 236 trades
Growth:13.56%
Equity:204.40USD
Balance:204.40USD
and 1 more...

Published article "Gaussian Processes in Machine Learning: Regression Model in MQL5".

Gaussian Processes in Machine Learning: Regression Model in MQL5

We will review the basics of Gaussian processes (GP) as a probabilistic machine learning model and demonstrate its application to regression problems using synthetic data.

New publications in CodeBase

  • Momentum and news impact candles A candlestick chart which colors OHLC candles based on directional price momentum and news impact
  • Inside Bar Automatically detect Inside Bar patterns, draw projection rectangles, and receive real‑time alerts – all in one powerful indicator. Swing And Full Margin trader

Published article "Feature Engineering for ML (Part 3): Session-Aware Time Features for Forex Machine Learning".

Feature Engineering for ML (Part 3): Session-Aware Time Features for Forex Machine Learning

The article addresses the loss of temporal information in ML pipelines by encoding periodic time variables with Fourier harmonics and adding forex session structure. It implements session and overlap flags, lagged session volatility, and calendar effects, then prunes features by timeframe. The get time features function returns an index‑aligned, ML‑ready set of time features suitable for integration with price‑based signals.

Published article "Creating an EMA Crossover Forward Simulation Indicator in MQL5".

Creating an EMA Crossover Forward Simulation Indicator in MQL5

A custom forward simulation engine detects fast/slow EMA crossovers and immediately projects synthetic candles ahead of the signal bar. It generates bodies and wicks using controlled logic, draws them with chart objects, and refreshes on every new signal or anchor change. You get a clear forward-looking view to test timing, visualize scenarios, and manage invalidation on the chart.

The most downloaded free products:

There are more than 48,190 products available in Market

Bestsellers in the Market:

More than 400 new charts published:

Grafik NZDUSD., H1, 2026.05.12 01:35 UTC, Tradehall Limited, MetaTrader 5, Real
NZDUSD., H1
Chart Volatility 250 (1s) Index, M10, 2026.05.10 12:41 UTC, Deriv.com Limited, MetaTrader 5, Demo
Volatility 250 (1s) Index, M10
График Boom 1000 Index, D1, 2026.05.10 08:01 UTC, Deriv.com Limited, MetaTrader 5, Demo
Boom 1000 Index, D1

Most downloaded source codes this month

  • Precision Sniper Precision Sniper is a multi-confluence MT5 indicator inspired by TradingView's top signal tools, grading every buy/sell signal (A+, A, B, C) based on EMA structure, RSI, MACD, ADX, VWAP, and volume alignment, with 8 presets, HTF bias confirmation, auto TP/SL levels, trailing stop, and a built-in backtest dashboard.
  • XANDER Grid XAUUSD Bidirectional grid EA for Gold (XAUUSD). Candle direction filter, lot doubling up to a cap, basket exit by average take profit or partial close. Daily target and drawdown pause. Updated October 2026 (v1.1). Open source code.
  • Smart Money Concepts An indicator which features full Smart Money Concept (SMC) + Break Of Structure (BOS) + Change Of Character (COC) + Fair Value Gap (FVG) Detection and Buy/Sell signals.
1...525354555657585960616263646566...714